8.6

Table Of Contents
Watch.Log("Job Info 9's value is: " + s,4);
}
Python
In Python, the raise statement is similar to JavaScript and will stop processing unless an
except statement is used. See the python documentation.
s = Watch.GetJobInfo(9)
if not s:
raise NameError('Value cannot be empty')
else:
# Do something with Job Info 9!
Watch.Log("Job Info 9's value is: " + s,5)
Perl
In PERL, die() raises an exception and triggers the On Error tab, unless the unless command
is used. See the perl documentation.
$s = $Watch->GetJobInfo(9);
if (s = "") {
die "Value cannot be empty";
} else {
# Do something with Job Info 9!
$Watch->Log("Job Info 9's value is: " . $s,4);
}
Special Workflow processes
PlanetPress Workflow supports multiple input and output types, in so many different
combinations that it would be hard to give example processes for each possibility. However,
certain processes deserve some attention.
The short descriptions below refer to more detailed descriptions that give at least one example
of an implementation of the process.
PDFworkflow
APDFworkflow uses a PDFas its job file. Manipulations are generally made in the Metadata
instead of the PDFitself, since PDFfiles are much larger than most other data files compatible
Page 135