Versions Compared

Key

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

...

Prework script defined area is reached from a related task. When you click on the "Prework script" button on the task, the prework script page will open.

Example:

Image Removed


In the prework script following objects are available:

$WorkItem
Current workitem instance.

$Xml
Xml XML data navigator for data model.

...

Auto Process Task

Automatically processes the current work item, without assigning it to the users, and skips to the next step of a workflow.

...

Sets deadline date by user-entered data.

Code Block
languagejs
titleAssign action
$WorkItem.DeadlineDate = $Xml.EvaluateDateTime('PaymentDate');

...