2021.1

Table Of Contents
Postprocessor
The Postprocessor subsection defines what postprocessors run on the Data Sample at the end
of the data mapping workflow. Each Postprocessor runs in turn, using the result of the previous
one as an input.
l Name: The name to identify the Postprocessor.
l Type: The type of Postprocessor. Currently there is a single type available.
l JavaScript: Runs a JavaScript Expression to modify the Data Sample. See
"DataMapper Scripts API" on page382.
l Use JavaScript Editor: Click to display the Edit Script dialog (see "Using
scripts in the DataMapper" on page385).
l Add Postprocessor: Click to add a new Postprocessor. Its settings can be modified
once it is added.
l Remove Postprocessor: Click to remove the currently selected Postprocessor.
l Move Up: Click to move the Postprocessor up one position.
l Move Down: Click to move the Postprocessor down one position.
l Apply: Run the Postprocessor.
Note that in the DataMapper and Designer, only one data record is active at any given
time. Therefore, the changes made by the post-processes are only visible on the current
data record (i.e. the one currently displayed). If you change data records, you must press
the Apply button on the Postprocessor step once more.
In order to test a case with multiple records you must either use the data mapping
configuration in a print job through the Designer or in the Execute Data Mapping task in
Workflow so that all records will be processed by the Postprocessor step.
Postprocessor definition
JavaScript
l Expression: The JavaScript expression that will run on the Data Sample. See
"DataMapper Scripts API" on page382.
l Use JavaScript Editor: Click to display the Script Editor dialog.
l Use selected text: Uses the text in the current data selection as the Value. If multiple
lines or elements are selected, only the first one is used.
Page 378