Replacing a Variable used in a Map

About this task

You can change the variables used in the From Activity and To Orchestration panes without changing the links between source and destination nodes of a map.

For example, you could have a Map Variables activity that maps the nodes of the varBatchOrder variable to the nodes of the varPurchaseOrder variable as shown in the following figure.

The varBatchOrder variable is based on the BatchOrder XML Schema and the varPurchaseOrder variable is based on the PurchaseOrder XML Schema.

If you wanted another Map Variables activity in your orchestration maps source and destination nodes but you wanted to use a different set of variables. You could copy the original Map Variables activity and then paste the new Map Variables activity into the orchestration and then change the variables used in the map without changing the links of the map.

To replace an original variable used in a map:

Procedure

  1. Click the Map Variables activity or the Map Inputs or Map Outputs tasks of an activity.
  2. Create a new variable or replace a source or destination variable:
    • Double-click the blue area where the variable is listed in the From Activity, From Orchestration, To Activity, or To Orchestration panes and enter the name of the variable. A new variable of the same schema type is created.
    • Replace a source or destination variable using one of the following actions:
      • Right-click the blue area where the variable is listed in the From Activity, From Orchestration, To Activity, or To Orchestration panes and select the Choose Another Variable option from the list.
      • Double-click the blue area where the variable is listed in the From Activity, From Orchestration, To Activity, or To Orchestration panes.

      An arrow shows to the right of the variable name as shown in the following figure.

      Select another variable from the list.  For this example, select the varOrder variable from the list.

      Note: You can only change the variables used in Map Input and Map Output panes and not the parameters that are used in a map. For example in the FTP Poll Directory activity, the filename, data, and timestamp input parameters located in the From Activity pane of the Map Outputs task cannot be changed but the variables that the parameters map to in the To Orchestration pane can be changed.



Feedback | Notices


Timestamp icon Last updated: Thursday, December 17, 2015


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