Click or drag to resize

RuntimeServiceRaiseExceptionOnActivityInstance Method

Raise exception on an activity instance using it identifier 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.17.0.0 (7.17.0.20200120)
Syntax
public void RaiseExceptionOnActivityInstance(
	int processInstanceId,
	int activityInstanceId,
	string exceptionName,
	string exceptionMessage
)

Parameters

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