8.5

JavaScript
Watch.Log("this is a log", 3);
Python
Watch.Log("this is a log",3)
Perl
$Watch->Log("this is a log",3);
Watch.Sleep
Pauses the process for the specified number of milliseconds. This can be used while waiting for something
else to happen when the delay is known.
Syntax
Watch.Sleep Milliseconds: integer
Example
In the following example, sleep()pauses the process for 1 second (1000 milliseconds)
VBScript
Watch.Sleep 1000
JavaScript
Watch.Sleep(1000);
Python
Watch.Sleep(1000)
Perl
$Watch->Sleep(1000);
Script.ReturnValue
Set this variable to 1 (true) or 0 (false) in order to return a true or false status to PReS Workflow, when using
your script as a conditional branch. This variable will have no effect if the script is run as an action.