2020.1

Table Of Contents
Variable Name Description
Example Usage (VBScript)
"Watch.GetVariable" on page168 Retrieves the content of a local or global variable
by name.
Example Usage:
var s = Watch.GetVariable
("MyVariable");
"Watch.ExpandString" on page162 Retrieves the content of any Workflow string,
containing any variable available to Watch,
including data selections.
Example Usage:
var watchDate = Watch.ExpandString
("%y-%m-%d");
"Watch.Log" on page170 Writes to the Workflow log file, or the message
window when in debug - can accept multiple log
levels from 1 (red) to 4 (gray).
Example Usage:
Watch.Log("Hello, World!", 3);
"Watch.ShowMessage" on page172 Displays a popup dialog box to the user (user has
to be logged on).
Example Usage:
Watch.ShowMessage("test message");
"Watch.SetJobInfo" on page171 Writes the value of a string to a numbered job info.
Example Usage:
Watch.SetJobInfo(9, "Job info 9
Value");
"Watch.SetVariable" on page172 Writes the value of a string to a local or global
variable by name.
Example Usage:
Watch.SetVariable("MyVariable",
Page 158