Data Mapping

Data Mapper is a script grammar available for script tasks, task scripts, sub-processes, global signals and local signals and so on.

With Data Mapper, you can graphically map data across datafields and parameters to create complex BOM objects from a combination of process data fields and parameters.

Note: Data mapper employs a create-or-merge strategy at runtime. If the parent-tree for the target element does not exist, it is created prior to assigning the mapped element.

The process data can include data fields, parameters, user-defined scripts, process information, work item information and attributes from the JavaScript classes, Process and WorkManager (user task only) .

For scripts where Data Mapper is valid, it is as available on Script Tasks as an option in the Script Defined As: list on the General tab of the Properties view. The left hand side of the data mapper shows the source list, and the right hand side shows the target list. The mappings defined using the process data mapper are applied to the target datafields and parameters at runtime.