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.22.0.0 (7.22.0.20201204)
Syntax public void RaiseExceptionOnActivityInstance(
int processInstanceId,
int activityInstanceId,
string exceptionName,
string exceptionMessage
)
Public Sub RaiseExceptionOnActivityInstance (
processInstanceId As Integer,
activityInstanceId As Integer,
exceptionName As String,
exceptionMessage As String
)
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