Click or drag to resize

RuntimeServiceRaiseExceptionOnActivityInstanceByName Method

Raise exception(s) on activity instance(s) using activity name Exception name and message can be defined

Namespace:  Advantys.Workflow.Web.Services.Processes.Runtime
Assembly:  Advantys.Workflow.Web.Services.Processes.Runtime (in Advantys.Workflow.Web.Services.Processes.Runtime.dll) Version: 7.18.0.0 (7.18.0.20200311)
Syntax
public void RaiseExceptionOnActivityInstanceByName(
	int processInstanceId,
	string activityName,
	string exceptionName,
	string exceptionMessage
)

Parameters

processInstanceId
Type: SystemInt32
The process instance identifier
activityName
Type: SystemString
The activity name
exceptionName
Type: SystemString
Type of the exception
exceptionMessage
Type: SystemString
Exception message
Remarks
Available since WorkflowGen version: 5.0.33
See Also