Mapping from a message and database

Before you start:
  1. Create a message flow project
  2. Create a message flow
  3. Define message flow content
The following instructions describe how to specify a message and a database as the data source.
  1. Right-click a node that supports mapping, such as the Mapping node, and click Open Map.
  2. Follow the on-screen instructions to complete the New Map wizard:
    1. On the Select the map type pane, ensure that input message and database records are both selected.
    2. On the Source and Target Mappables pane, select the message as the data source; do not select the database at this stage.
  3. When the wizard completes, in the Spreadsheet pane, right-click $target and click Select Data Source.
  4. In the Select Database as Mapping Source wizard, select the database that you want to use and click Finish. A $db:select entry appears in the Spreadsheet pane and the contents of the database table are displayed in the Source pane.
  5. Expand the $db:select and for entries in the Spreadsheet pane.
  6. Start of changeRight-click the message body entry in the Spreadsheet pane and click Populate.End of change
  7. Start of changeIn the Populate wizard, select all the elements that you want to create mappings for and click OK. This populates the Spreadsheet pane with the selected elements from the Target pane. End of change
  8. Right-click each of these elements and click Populate. Select the elements to create mappings. Repeat this as many times as necessary for each level of element until all of the information from the Target pane appears in the Spreadsheet pane.
  9. Perform mapping as usual.
Start of changeFor more information on mapping from a database source see Mapping a target element from database tables. End of change
Related tasks
Creating a message map file
Configuring message mappings
Populating a message map
Mapping a target element from source message elements
Mapping a target element from database tables
Scenario A: Mapping an airline message