See information about the latest product version
Configuring conditional mappings
You can create conditional mappings using the Graphical Data Mapping editor.
You can use the If, Else if, and Else transforms to control the flow of the mapping by setting conditions.
If, Else if, and Else operate as a group of conditional transforms. The condition is applied to the input element of the conditional transform. If the condition is satisfied, the nested transform within the conditional transform is run.
You can also conditionally run a single transform (such as a Move or Custom Transform) by entering the condition directly on the Condition tab of the transform.
Alternatively, you can use Custom Java™ or Custom ESQL to provide a condition function. See Custom Java or Custom ESQL for more information.
If you use a condition to optionally create one or more child output elements within a complex element, check that the condition is on the transform targeting the whole complex element, not just a child. If the conditional transform only targets a child, the folder element within the complex element will be created in the output before the condition is evaluated.
To map conditional transforms: