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.2.0.0 (7.2.0.0)
Syntax public void RaiseExceptionOnActivityInstanceByName(
int processInstanceId,
string activityName,
string exceptionName,
string exceptionMessage
)
Public Sub RaiseExceptionOnActivityInstanceByName (
processInstanceId As Integer,
activityName As String,
exceptionName As String,
exceptionMessage As String
)
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