2019.2

Table Of Contents
Note that this script replicates exactly what can be done in a Condition step. In cases like this, it
is recommended to use a Condition step. Only use a script when no steps are sufficient to give
the expected result, or when the extraction can be better optimized in a script.
Steps
In the DataMapper, steps are part of an extraction workflow (see "Data mapping workflow" on
page248). They contain a specific instruction for the DataMapper, for example to extract data,
create a loop, or apply a condition. Some types of steps are containers for other steps.
The steps, displayed on the "Steps pane" on page355, are executed sequentially, from top to
bottom in an extraction workflow.
Inside a Condition step, some steps may be skipped altogether when they are on a particular
branch, whereas in a Repeat step - a loop - several steps may be repeated a number of times.
The Preprocessor and Postprocessor steps are special in that the former can be used to modify
the incoming data prior to executing the rest of the extraction workflow while the latter can be
used to further process the resulting record set after the entire extraction workflow has been
executed.
Step types
These are the types of steps that can be added to a data mapping workflow:
l "Preprocessor step" below
l "Extract step" on page276
l "Repeat step" on page277
l "Goto step" on page278
l "Condition step" on page279
l "Multiple Conditions step" on page282
l "Action step" on page283
l "Postprocessor step" on page284
Preprocessor step
The Preprocessor step allows the application to modify the incoming data prior to executing the
rest of the extraction workflow through a number of preprocessors. It also lets you define
properties, to be added to each record or to the data as a whole. For instance, a unique ID
Page 274