WorkItem.Process

Overview

Processes current WorkItem with specified parameters.

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

Processes the current work item by specified parameters.

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

Arguments

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.

Copyright © 2010 - 2023 Emakin. All rights reserved.