Process¶
Processes the current WorkItem with the specified parameters.
1 |
|
Processes the current work item by specified parameters.
1 |
|
Parameters¶
string selectedAction
Specifies the action to be selected. If not specified, the existing WorkItem.SelectedAction property is used.
boolean async
Specifies whether the processing of the work item is synchronous or asynchronous. If set to true, the work item is processed in another thread context.
( string | Identity ) completedBy
The identity of the user who completed the work item.
Returns¶
The current WorkItem instance.
Remarks¶
If the work item state is not in Waiting
or Created
, attempting to call this method is prohibited and throws an access denied error.
When the async
parameter is true, this method returns immediately and processing continues in the background. Otherwise, it waits until processing is completed.