2022.2

Table Of Contents
Editing a runtime parameter
Tomodifyaruntimeparameter,clickitsnameorvalueintheParameterspaneandenterthenewname
orvalue.
Toremovearuntimeparameter,selectitandclicktheRemovebutton( ).
Accessingpropertiesandruntimeparameters
Therearedifferentwaystoaccesspropertiesandruntimeparametersinadatamappingworkflow.
l
Property-based fields.Aproperty-basedfieldisfilledwiththevalueofaproperty.See"Prop-
erty-basedfield"onpage266.
l
Step settings.PropertiescanbeselectedintheCondition,Multiple ConditionsandRepeat
stepproperties(see"Conditionstep"onpage253,"MultipleConditionsstep"onpage256and
"Repeatstep"onpage251).
l
Script.Scriptscanaccesspropertiesthroughthe"DataMapperScriptsAPI"onpage360.(See
also:"UsingscriptsintheDataMapper"onpage362.)
l
ThesourceRecordobjecthasapropertiesarraythatletsyouaccesscustom prop-
ertiesthatareaddedtoeachindividualrecord,i.e.thescopeofthepropertyissettoEach
record.(See:"sourceRecord"onpage396.)
TochangethevalueofsuchapropertyyoucoulduseanActionstep(see"Actionstep"on
page257).Notethattheproperty'svaluewillberesetatthebeginningofeachsource
record.
l
Thedataobjecthasapropertiesarraythatletsyouaccesscustom propertiesofthe
dataasawhole,i.e.thescopeofthepropertyissettoEntire data.(See:"data"on
page374.)Theseareread-only.
l
Toaccessaruntime parameterinsideofanyJavaScriptcodewithinthedatamapping
configuration,useautomation.parameters.runtimeparametername.(See:
"Objects"onpage369.)Runtimeparametersareread-only.
Note: Runtimeparametersinadatamappingconfigurationarealwaysofthetype
String.Remembertoparsethevalueifnecessary,e.g.beforeusingitinacal-
culation.
Extracting data
DataareextractedviaExtractionstepsintofieldsintheDataModel.Thistopicexplainshowtodothat.
Fieldscanalsobefilledwithotherdata:theresultofaJavaScriptorthevalueofaproperty.Tolearn
howtodothat,see"Fields"onpage264.
Page 229