2019.2

Table Of Contents
Property Description
properties Returns a ScriptableAutomation object containing additional information (file
name, process name and task ID) from PlanetPress Workflow.
variables Returns a ScriptableAutomation object containing the list of local and global
variables defined by the user in PlanetPress Workflow. Note that there is no
way to distinguish local variables from global ones (local variables take
precedence over global variables). To be used in the DataMapper, variables
must have already been defined in the Preprocessor step as Automation
variables. The Preprocessor step attempts to match variable names passed by
the Workflow process to those defined inside the step.
Accessing automation properties
To make a Workflow variable accessible in scripts, it must first be declared in the Properties of
the Preprocessor step (see "Properties" on page359). Both the name and type of the variable
must be the same as the variable in Workflow.
The other properties are accessible as they are.
Examples
To access Job Info 1 to 9 defined in Workflow (see Job Info variables):
automation.jobInfo.JobInfo1;
To access ProcessName, OriginalFilename or TaskIndex from Workflow:
Page 407