You can configure a nested map associated with an If, Else
if, and Else transform automatically by using automap.
About this task
Each condition in an If, Else if, and Else transform has
a nested map associated, which is used by the mapping engine to apply
the transforms between the input object and the output object when
the associated condition evaluates to true.
Procedure
For the Else If condition, complete
the following steps to configure the nested map associated with it:
- In the message map, click the light bulb located on the
top left corner of the Else If condition. A
pop up opens. Select Invoke automap.
The
following figure shows the pop up:
The Auto Map window
opens.
- Click Next. The Select
transforms to create window opens.
The Select
transforms to create window displays the proposed transformation
for each output element in the nested map. It also specifies the input
count per output element so that you know how many input elements
are available.
- Optional: If you want to define your own custom
transformations for any of these elements, clear the relevant check
boxes. For example, clear AdditionalInfo.
- For elements with an Input count greater
than one, double-click the element, and then select the option that
you want to apply for the transformation of that element.
For
example, the element Country has two possible
input elements that you can use as the output value. Choose one.
The
following figure shows what the Auto Map looks
like after you have reviewed and configured the proposed transformations:
- Click Finish. Click the icon located
in the left side of any of the transforms, and then select Accept
All Auto-mapped Transforms.
Transforms
are defined between the input and output elements based on the options
that you selected.
The following figure shows the proposed auto-mapped
transform options:
When
you select Accept All Auto-mapped Transforms,
you confirm that you the proposed transforms are correct.
What to do next
Repeat the steps to configure each nested map associated
with an If, Else if, and Else transform condition by using automap.