2021.2

Table Of Contents
var recordValue = boundaries.get(region.createRegion('ID'))[0];
if(!(recordValue==boundaries.getVariable('lastValue'))){
boundaries.setVariable('lastValue',recordValue);
boundaries.set(0);
}
range
Read-only object containing the physical coordinates of the region (see "region" on page422).
l For a text file, the range() method contains the physical coordinates of the region: x1
(left), y1 (top), x2 (right), y2 (bottom), expressed in characters.
l For a PDF file, the range() method contains the physical coordinates of the region: x1
(left), y1 (top), x2 (right), y2 (bottom), expressed in millimeters.
l For a CSV file, the range contains the name of the column that defines the region.
sourceRecord
Returns a sourceRecord object containing custom properties specific to the current source
record being processed.
These are the custom properties defined in the Preprocessor step that have their Scope set to
"Each record". See: "Properties and runtime parameters" on page228.
Properties
sourceRecord.properties.property;
Property Description
properties Returns an array of properties defined in the Preprocessor step
with the Record Scope (i.e. dynamically reset with each new
record).
steps
Returns a steps object encapsulating properties and methods pertaining to the current
DataMapper process.
This object is available in an Extract, Condition, Repeat or Multiple Conditions step script.
Page 425