Assigning a Default Value for a Destination Node

About this task

You can assign a default value for a destination node in a map. A destination node of a map is displayed in the mapping pane. The following figure shows the To Orchestration pane.  How the default value is used during run time depends if a link is assigned to the destination node as described in the following cases:

  • Define a default value for a destination node that does not have a link from a source node or function as shown in the following figure:
    Default value constant
    For this case, the specified constant value is always assigned to the destination node during run time.
  • Define a default value for a destination node that has a link from a source node or function as shown in the following figure:
    Default value link

    For this case, the specified value is only assigned to the destination node, if the link from the source node or a function to the destination node does not provide a value for the destination node during run time.  

You can also use configuration properties to supply the default values for destination nodes of a map of a mapping pane as described in step 2 of the following procedure. You must create the configuration property before defining the default value as described in the following procedure.

To define a default value for a destination node:

Procedure

  1. Right-click a destination node within the mapping pane. The name of the pane within the mapping pane depends on the type of map you are currently configuring as described in the following list:
    • While configuring a Map Inputs task of an activity, the destination nodes of a map show in the To Activity pane.
    • While configuring a Map Outputs task of an activity, the destination nodes of a map show in the To Orchestration pane.
    • While configuring a stand-alone map or a Map Variables activity, the destination nodes of a map show in the To Orchestration pane.
  2. Select the Define Default Value option from the list. The Define Default Value dialog box opens. If any configuration properties have been defined for the project, the T icon icon shows in the right of the Default Value field.
  3. In the Default Value field, define the default value using one of the following options:
    • Directly enter the characters that define the default value.
    • Select a configuration property to supply the default value by clicking the T icon icon and selecting a configuration property from the list.
  4. Click OK. The default (Default icon ) icon shows next to the destination node in the mapping pane.

What to do next

To clear the default value for a destination node:
  1. Right-click a destination node with a default value assigned to the node within the mapping pane. A destination node with a value assigned shows the default (Default icon ) icon to the left of the node.
  2. Select the Define Default Value option from the list. The Define Default Value dialog box opens with the text or the selected configuration property highlighted.
  3. Press the Delete key.
  4. Click OK. The default (Default icon) icon is removed from the destination node in the mapping pane.



Feedback | Notices


Timestamp icon Last updated: Thursday, December 17, 2015


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