Overview
Processes the specified WorkItem | work item by specified parameters.WorkItem $Domain.ProcessWorkItem(workItemId: string, selectedAction: string, async: boolean, completedBy: Identity)
Arguments
string workItemId
of work item
string selectedAction
Specifies the action to be selected. If not specified uses the existing WorkItem.SelectedAction property.
boolean async
Specifies the processing of work item is syncronized or not. If set to true, work item is processed another thread context.
Identity completedBy
Identity of user who completed the work item.
Returns
Returns processed work item.Remarks
If work item state is not in Waiting or Created trying to call this method is prohibited and throws an access denied error.
When async parameter is true, this method returns immediately and process continues in background, otherwise it waits until process is completed.