Skip to main content

Sub Mappings

When the same logic is needed in multiple output fields, define a sub mapping. A sub mapping consolidates the related inputs and logic into a single named expression that can be reused across the data mapper.

Create a sub mapping

  1. In the data mapper canvas, select + Add Sub Mapping.
  2. Configure the sub mapping name, type, and the inputs to use.
  3. Map the fields inside the sub mapping view as you would in any data mapper.

Add Sub Mapping action with the ProductMapper canvas open

Use a sub mapping

Once defined, the sub mapping appears under Sub Mappings in the left panel. Map it to any compatible output field as you would any other input.

Sub Mappings section in the left panel with vendorMapping mapped to output fields

What's next