2022.1

Table Of Contents
These are the custom properties defined in the Preprocessor step that have their Scope set to
"Each record". See: "Properties and runtime parameters" on page253.
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.
Methods and properties
The following table lists the methods and properties of the steps object. These are available in
Extract, Condition, Repeat, and Action steps, depending on the file type.
Method Description File type
currentPosition Returns the current position of the pointer in the data.
Depending on the type of data being processed, the
return value may be a string (e.g. XPath value in
XML), an integer (e.g. line numbers in text ot tabular
data), or a measure in millimeters(e.g. PDF data).
All
currentLoopCounter An integer value representing the current iteration of
the containing loop. When loops are nested, you
have access to the iteration for the current loop but
not to any of the parent loops. Note: This variable is
a counter so it starts at 1 as opposed to an index
All
Page 454