2020.2

Table Of Contents
Perl
$Watch->GetConnectTokenEx("localhost",1234,"myUser","secret");
Watch.GetJobFileName
Returns the complete path and file name of the job. This method is the same as PW_
GetJobFileName. getjobfilename() obtains the file name of a PReS Workflow process. This is
useful for manipulating the job file, for example to replace data within it. If your script writes to
this file, the modified contents will be used by the next plugin in your process.
Example
In the following example, GetJobFileName() retrieves the name of the job file, which is then
logged using "Watch.Log" on page171.
JavaScript
var s;
s = Watch.GetJobFilename();
Watch.Log("The job filename is: " + s, 3);
VBScript
Dim s
s = Watch.GetJobFileName
Watch.Log "The job filename is: " + s, 3
Python
s = Watch.GetJobFileName()
Watch.Log("The job filename is: " + s, 3)
Perl
$s = $Watch->GetJobFileName;
$Watch->Log("The job filename is: " + $s, 3);
Watch.GetJobInfo
Returns the job information corresponding to the specified index. Index is an integer from 1 to 9.
(See also: "Job Info variables" on page714.)
Syntax
Watch.GetJobInfo(Index: integer): string
Page 166