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: 9.1.0.0 (9.1.0.20241025)
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