Configuring a nested map associated with an If, Else if, and Else transform condition by using Auto map

You can configure a nested map associated with an If, Else if, and Else transform automatically by using Auto map (automap).

Before you begin

Define and configure the condition expressions for an If, Else if, and Else transform. For more information, see .Configuring an If, Else if, and Else transform in a message map

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:

  1. 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:

    This figure shows the pop up where you have the option to click Invoke automap.

    The Auto Map window opens.

    This figure shows the Auto Map window.

  2. 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.

    This figure shows the Select transforms to create window. This window displays the SaveAddress object, and an overview of the proposed transformation.

  3. Optional: If you want to define your own custom transformations for any of these elements, clear the relevant check boxes. For example, clear AdditionalInfo.
  4. 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.

    This figure shows the options available to set the output value of the element Country.

    The following figure shows what the Auto Map looks like after you have reviewed and configured the proposed transformations:

    This figure shows the proposed transformations after you configure the Auto Map options.

  5. 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:

    This figure shows the proposed transforms between input and output elements.

    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.