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.16.0.31722 (7.16.0.201909113)
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