ProcessWorkItem¶
Processes the specified WorkItem with the selected action.
1 | |
Parameters¶
string id
The ID of the work item to process.
string selectedAction
The action to select for the work item.
boolean async optional
Specifies whether processing continues in the background. Defaults to false.
( string | Identity ) completedBy optional
The identity of the user who completed the work item.
Returns¶
The next work items returned by synchronous processing. Returns an empty array when no next work items are produced or when async is true.
Remarks¶
Resolves the work item using WorkItem.Get, sets its selected action, and calls WorkItem.Process with the same processing options.