2020.2

Table Of Contents
Variable Name Description
Example Usage (VBScript)
"Watch.GetJobFileName" on
page162
Retrieves a string containing the job path and file
name located in the job spool folder.
Example Usage:
var s = Watch.GetJobFilename();
"Watch.GetOriginalFileName" on
page164
Retrieves a string containing the job's original path
and filename. Note: this filename is generally no
longer available if it has been captured by Watch.
Example Usage:
var s = Watch.GetOriginalFileName();
"Watch.GetMetadataFilename"
on page164
Retrieves a string containing the job's metadata path
and filename. This is useful when using the Metadata
API in your script. (See Metadata API.)
Example Usage:
var s = Watch.GetMetadataFileName();
"Watch.GetJobInfo" on page163 Retrieves the content of a numbered job info (%1 to
%9).
Example Usage:
var s = Watch.GetJobInfo(9);
"Watch.GetVariable" on page166 Retrieves the content of a local or global variable by
name.
Example Usage:
var s = Watch.GetVariable
("MyVariable");
"Watch.ExpandString" on
page159
Retrieves the content of any Workflow string,
containing any variable available to Watch, including
data selections.
Example Usage:
var watchDate = Watch.ExpandString
Page 155