Click or drag to resize

RuntimeServiceCancelProcessInstance Method

Cancel a process instance

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 CancelProcessInstance(
	int processInstanceId,
	bool isSuperUserMode,
	bool isNotifyParticipant
)

Parameters

processInstanceId
Type: SystemInt32
Request ID of the action to assign.
isSuperUserMode
Type: SystemBoolean
Indicates to run in super user mode.
isNotifyParticipant
Type: SystemBoolean
Notify request participants.
Remarks
Available since WorkflowGen version: 5.6.4

Only requests belonging to the connected user can be cancelled when isSuperUserMode is false.

Optional Parameters.

These parameters can be used in the query string or as parameters of the SOAP headers (see examples for more information).

delegateUsername (string)Specifies the delegate username for delegation mode.
impersonateUsername (string)Username to use for impersonation. Operation is available for allowed users only.


See Also