Versions Compared

Key

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

...

Code Block
titleExample automation script
$Xml.SetValue('CustomerCount', $Xml.EvaluateNumber('CustomerCount') + 1);
if ( $Xml.EvaluateNumber('CustomerCount') < 10 ) {
  $WorkItem.SelectedAction = 'Continue';
} else {
  $WorkItem.SelectedAction = 'Completed';
}

Start Point

Module Automation module type tasks can be set as start point to initiate workflow instances as automated way.

...

Scripting Initiate
You may call the WorkItem.Initiate method to initiate from other processes.

...