2019.2

Table Of Contents
Object Usage
"template" on
page1379
The template object contains all contexts and sections. It is accessed
through the merge object: merge.template.
automation
This object (of the type: Automation) encapsulates the properties of the PlanetPress Workflow
process that triggered the current operation.
Note
This object is only available in a Web context.
Note
The automation object available in DataMapper scripts is not of the same type. It has different
properties.
Properties
The following table lists the properties of the Automation object.
Property Description
jobInfos Returns an object containing JobInfo 1 to 9 values from PlanetPress Workflow
(see Job Info variables in the Workflow Online Help).
Properties Returns an object containing additional information (file name, process name
and task ID) from PlanetPress Workflow.
Accessing automation properties
To access Job Info 1 to 9 (defined in Workflow; see Job Info variables in the Workflow Online
Help):
automation.jobInfos.JobInfo1;
Page 1353