Skip to content

Process

Processes current WorkItem with specified parameters.

1
myWorkItem.Process(selectedAction: string, async: boolean, completedBy: ( string | Identity )):WorkItem

Processes the current work item by specified parameters.

1
myWorkItem.Process(selectedAction: string, async: boolean, completedBy: ( string | Identity )):void

Parameters

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.

( string | Identity ) completedBy
    Identity of user who completed the 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.

See Also