Create a new variable using the toolbar menu

About this task

To add a new variable using the Map > Add options available from the toolbar menu:

Procedure

  1. Open a mapping pane of an activity.
  2. Click a node in the mapping pane.
  3. Select an active Map toolbar menu option
    • Map > Add Input Variables
    • Map > Add Output Variables
    The "Add Variables" dialog box is displayed.
  4. Click New. The "Create New Variables Step 1 of 2" dialog box is displayed.
  5. Select a data type or schema to base the new variable:
    • For a variable based on a primitive data type:
      1. Scroll to the end of the "Create New Variables Step 1 of 2" dialog box.
      2. Select a primitive data type from the Primitive Types folder.
      3. Click Next.
    • For a variable based on a schema:
      1. Optional: To search for a node by name, click Find.
      2.  From the schema, select a node to be the root of the new variable.
      3. Click Next.
  6. Enter a name for the new variable and click Finish. The new variable is added to Variables toolbox, and the schema is displayed in the Schema of pane on the Variables tab. The new variable is also added to the mapping pane.
    Attention: Do not create a variable in the following format: __variableName__. Variable names that start with two underscore characters (_) and ends with two underscore characters (_) are not supported. If an orchestration contains variable names using this format, the orchestration fails to validate.



Feedback | Notices


Timestamp icon Last updated: Tuesday, 27 September 2016


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