2021.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
page221). 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339, 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257
l "Repeat step" on page258
l "Goto step" on page259
l "Condition step" on page260
l "Multiple Conditions step" on page263
l "Action step" on page264
l "Postprocessor step" on page265
Preprocessor step
The Preprocessor step allows to modify the incoming data through a number of preprocessors
prior to executing the rest of the extraction workflow (see "Preprocessors" on the facing page). It
Page 255