Skip to content

WorkItem.ProcessWorkItem

Overview

void WorkItem.ProcessWorkItem ( id, [ selectedAction ], [ async ], [ completedBy ] )
Processes the specified work item by specified parameters.

Arguments

string id

Specifies the id number of work item to be processed.

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 | string completedBy

Specifies the identity that completes the work item. Can be null.

Remarks

If state is not in Waiting or Created trying to call this method is prohibited and throws an access denied error.

Examples

See Also