Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Overview

...

WorkItem $Domain.ProcessWorkItem(id: string, selectedAction: string)

...

WorkItem $Domain.ProcessWorkItem(id: string, selectedAction: string, async: boolean)

...

WorkItem $Domain.ProcessWorkItem(idworkItemId: string, selectedAction: string, async: boolean, completedBy: Identity)

Arguments

string id workItemId
of work item
string selectedAction
of work itemSpecifies the action to be selected. If not specified uses the existing WorkItem.SelectedAction property.
boolean async
flag of processing
Identity completedBy
identitySpecifies 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

...

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.