IBM BPM, V8.0.1, All platforms > Authoring services in Integration Designer > Developing business processes > Building BPEL processes > Defining BPEL process logic > Adding an activity to a BPEL process > Work with basic activities

Adding a data map activity

Use the data map activity to transform data between two business objects.

To transform data between two business objects use a data map. There are two types of data map supported: XML maps and Business object maps. In most instances XML maps are the preferred choice. However there may be instances where you want to use a business object map. To add and configure a new data map activity in a BPEL process, proceed as follows:


Procedure

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

  2. Create a new BPEL process.

  3. In the BPEL process editor, create two new variables that point to the two business objects defined in your project.

    For business object maps, simple types such as strings or integers are not shown in the wizard since they cannot be mapped. XML maps can map simple types and so this restriction does not apply to XML maps and simple types are displayed in the wizard. This is one of the advantages of using XML maps.

  4. Drop a Data map activity on the canvas.

  5. Select either XML map or Business object map and click Next.

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

  7. 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 created data map.

Work with basic activities

Building BPEL processes


Related concepts:
Create or importing data maps


Related tasks:
Create a data map
Reusing a business object map