Postprocessor step properties
The Postprocessor step does not run for every Source Record in the Data Sample. It runs once, at the end of the Steps, after all records have been processed. For more information see Postprocessor step.
The properties described below become visible in the Step properties pane when the Postprocessor step is selected in the Steps pane.
Description
This subsection is collapsed by default in the interface, to give more screen space to other important parts.
Name: The name of the step. This name will be displayed on top of the step's icon in the Steps pane.
Comments: The text entered here will be displayed in the tooltip that appears when hovering over the step in the Steps pane.
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.
-
Name: The name to identify the Postprocessor.
-
Type: The type of Postprocessor. Currently there is a single type available.
-
JavaScript: Runs a JavaScript Expression to modify the Data Sample. See DataMapper Scripts API.
-
Use JavaScript Editor: Click to display the Edit Script dialog (see Using scripts in the DataMapper).
-
-
-
Add Postprocessor: Click to add a new Postprocessor. Its settings can be modified once it is added.
-
Remove Postprocessor: Click to remove the currently selected Postprocessor.
-
Move Up: Click to move the Postprocessor up one position.
-
Move Down: Click to move the Postprocessor down one position.
-
Apply: Run the Postprocessor.
Note: 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.Note: The Apply button has an effect at design time only. It is ignored at runtime. When a data mapping configuration is executed on the server, all postprocessors are executed in original order.
Postprocessor definition
JavaScript
-
Expression: The JavaScript expression that will run on the Data Sample. See DataMapper Scripts API.
-
Use JavaScript Editor: Click to display the Script Editor dialog.
-
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.