Skip to content

$WorkItem

Gets the current WorkItem.

1
const $WorkItem: WorkItem;

Examples

Update the work item before it is shown to the user

1
2
3
// pre-work script
$WorkItem.Caption = 'Approve order ' + $Xml.Evaluate('Id');
$WorkItem.DeadlineDate = $Calendar.AddDays($Calendar.Today, 2);

Capabilities

Metadata

Properties

Context

Lifecycle

Actions

Retrieval and Ownership

See Also