2022.2

Table Of Contents
Notethatpreprocessorsarenotexecutedautomaticallywhiledesigningthedatamappingworkflow;
youmustthereforeexecutethemmanually.Thereasonforthisisthatpreprocessorscanpotentiallybe
quitelengthyoperationsthatwouldhindertheautomaticrefreshofthedisplaywheneveranythingis
changedinthedatamappingworkflow.
Toaddapreprocessor:
1. SelectthePreprocessorstepontheStepspane.
2.
OntheStep propertiespane,underPreprocessor,clicktheAddbutton .
3. UnderPreprocessor definition,addthescript.Preprocessingtasksmustbewrittenin
JavaScript(see"UsingscriptsintheDataMapper"onpage362and"DataMapperScriptsAPI"on
page360).
Extractstep
TheExtractstepisessentialineachandeverydatamappingconfiguration.Itextractsdatafromthe
datasource,basedontheirlocation(arowandcolumninCSVortabulardata,anXPathinXML,a
JsonPathinJSON,oraregionofthepageinPDFandText)oronJavaScriptcode.Thedataisstored
intherecordsetthatistheresultoftheextractionworkflow.
Page 250