Click or drag to resize

RuntimeService.AssignActivityInstance Method

Assign an activity 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.0.3.0 (9.0.3.20240719)
Syntax
public void AssignActivityInstance(
	int processInstanceId,
	int activityInstanceId,
	string assigneeUsername,
	bool isSuperUserMode
)

Parameters

processInstanceId
Type: System.Int32
Request ID of the action to assign.
activityInstanceId
Type: System.Int32
ID of the action to assign.
assigneeUsername
Type: System.String
The assignee username.
isSuperUserMode
Type: System.Boolean
Indicates to run in super user mode.
Remarks
Available since WorkflowGen version: 5.6.4

Only actions, where the connected user belongs to the action's participant, can be assigned 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