IBM BPM, V8.0.1, All platforms > Authoring services in Integration Designer > Defining and transforming data > Create and mapping interfaces > Mapping interfaces (deprecated) > Create interface maps > Create an interface map using the interface map wizard > Create parameter mappings

Create mappings to extract a type nested in a complex type

When you need to extract a type nested in a complex type, use the Extract parameter mapping.

For example, you could have a business object representing "address" and use an Extract parameter mapping to map to a string-typed parameter "countryIN". An Extract parameter mapping pulls out the pertinent information from a complex parameter to reconcile it with output parameters. An extract parameter mapping can have only one input, but can feed multiple outputs.

To create an Extract parameter mapping, follow these steps:


Procedure

  1. In the Parameter mappings section of the editor, right-click the source parameter and select Create Parameter Mapping or click and drag the connection (the yellow "grabby"

    ) to the chosen target parameter. A Move parameter mapping is created.

  2. Select the Move parameter mapping and, in the Properties view, change the parameter mapping type to Extract by selecting Extract from the drop-down list The parameter type is now Extract

  3. To set the XPath expression, click the Details tab in the Properties view.
  4. Set the XPath expression to /country or click Edit to open the XPath Expression Builder. From here, select country in the XPath tree and click Finish.

Create parameter mappings