Creating a map

Create a map between the variables and the input parameter or between the output parameters and the variables.

Many Studio activities contain inline or embedded maps that you must configure in the activity Checklist. You configure the inline maps in an activity in either the Map Inputs or Map Outputs tasks in an activity Checklist. In addition, configure an inline map in the Map Variables activity. The Mapping Editor is displayed beneath the orchestration.

For instructions about creating maps while configuring a Map Variables activity, see Map Activity

In addition to the inline maps that you create in the Map Inputs or Map Outputs tasks or when configuring a Map Variable activity, you can also create standalone maps. You can create an inline map in a Map Variables activity from a standalone map. For more information, see Creating a Map Variables Activity from a Standalone Map.

In the Map Inputs task, you map variable or variables from the orchestration (From Orchestration pane) to the input parameter or parameters of the activity (To Activity pane).

In the Map Outputs task, you map output parameters from the activity (the From Activity pane) to variable or variables of the orchestration (the To Orchestration pane).

During run time, an activity typically takes data from orchestration variable or variables manipulates the data in some way and returns the result in another set of variables as shown in the following figure:
Orchestration Variables
The flow of data (from left to right) through the example activity (shown in the preceding figure) is described in the following steps:
  1. In this case, the contents of the variable was supplied by the previous activity in the orchestration, the FTP Poll Directory activity. Comma separated values are stored in the flatFileRawContent variable by the FTP Poll Directory activity.
  2. The contents of the flatFileRawContent variable is assigned to the input parameter called Data of the Read Flat File activity.
  3. The Read Flat File activity converts the comma separated values to XML data and places the resulting data into the Xml output parameter.
  4. The contents of the Xml output parameter is assigned to the batchOrderXML variable. The batchOrderXML variable is available in the orchestration. The next activity in the orchestration can use the contents of the batchOrderXML variable.
You can also manipulate the data in the maps between parameters and variables (created in the Map Inputs and Map Outputs task) using the functions available from the Functions tab. For more information see Assigning Function(s) to a Mapping Rule.
The following activities require mapping:
  • All connection activities that are listed under the following folders in the Activities tab:
    • Database
    • Email
    • FTP
    • HTTP
    • MQ
    • SAP
    • Web Services
  • All the Transform activities that are listed under the Transform folder in the Activities tab.
  • Create Job Keys Activity
 



Feedback | Notices


Timestamp icon Last updated: Thursday, December 17, 2015


http://pic.dhe.ibm.com/infocenter/wci/v7r0m0/topic/com.ibm.wci.doc/map_creating_a_map.html