RuntimeServiceRaiseExceptionOnActivityInstance Method |
Raise exception on an activity instance using it identifier
Exception name and message can be defined
Namespace: Advantys.Workflow.Web.Services.Processes.RuntimeAssembly: Advantys.Workflow.Web.Services.Processes.Runtime (in Advantys.Workflow.Web.Services.Processes.Runtime.dll) Version: 5.7.14075.2 (5.7.14075.2)
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