IBM BPM, V8.0.1, All platforms > Authoring services in Integration Designer > Developing business processes > Building BPEL processes > Create or importing data maps

Create a data map

To create a new data map from inside the BPEL process editor, follow these instructions.

To transform data between the source business object and the target business object use a data map. There are two supported data maps: XML maps and business object maps. In most instances XML maps are the preferred choice but there may be times when you want to use a business object map. These instructions describe how to create a data map.


Procedure

  1. In the business integration view, create two business objects. To access the New Business Object wizard, click File > New > Business Object. Call these business objects BusinessObject1 and BusinessObject2

  2. Create a new BPEL process.

  3. In the BPEL process editor, create two variables, called Variable1 and Variable2.

  4. For each variable, click the Description tab and in the Data type field, browse to one of the business objects created earlier, such that Variable1 points to BusinessObject1 and Variable2 points to BusinessObject2.
  5. Drop an empty action on the canvas.

  6. Click the Details tab, and select the data map icon

    .

  7. Select XML map or Business object map and click Next.

  8. In the New Data Map wizard, give the new map a name and click Next.

  9. Select one of the variables as the Input and the other one as the Output, and click Finish.


Results

The map editor launches, and you can use it to further configure the map. In the BPEL process editor, the empty activity becomes a snippet activity, and the properties area displays the visual code.

Create or importing data maps

Building BPEL processes


Related concepts:
Create or importing data maps


Related tasks:
Reusing a business object map
Adding a data map activity