2022.1

Table Of Contents
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;
To access ProcessName, OriginalFilename or TaskIndex (defined in Workflow):
automation.properties.OriginalFilename;
Page 1468