1.5

Table Of Contents
DataMapper Scripts API
This page describes the different features available in scripts created inside DataMapper. See
"Write Your Own Scripts" on page214.
Objects
Name Description Available In
automation
Returns a ScriptableAutomation
object encapsulating the properties of
the PlanetPress Workflow process that
triggered the current operation.
Boundaries, all Steps except
Goto
boundaries
Returns a boundaries object
encapsulating properties and methods
allowing to define the boundaries of
each document in the job.
Boundaries
data
Returns a data object encapsulating
properties and methods pertaining to
the original data stream.
Boundaries, all Steps except
Goto
db
Returns a db object allowing you to
connect to a database.
Boundaries, all Steps except
Goto
logger
Allows to log messages as error,
warning or informational message.
Boundaries, all Steps except
Goto
record
The current record in the main data set.
Extract, Condition, Repeat
and Multiple Conditions
Steps
region
The region object defines a subsection
of the input data.
Boundaries
Page 207