2018.2

Table Of Contents
Object Usage
channel
(see
"Channel"
on
page1186)
The channel for which output is generated. This is registered in the merge
object: merge.channel.
Note that the channel doesn't change when the output consists of different
contexts. When generating email, for example, the channel is EMAIL, even
when merging the Print context to attach it to the email.
"record" on
page1103
The current record in the main data set. To get the value of a field in the
record, use record.fields['fieldname'] or record.fields.fieldname.
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.
Properties Returns an object containing additional information (file name, process name
Page 1163