Configuring variable properties

Configure variable properties from the Properties of pane on the Variables tab.

About this task

When using variables within the Group or Try/Catch activities, these variables are regarded as local variables. When these variables are used outside of the scope of the activities where they were declared, they are considered to be uninitialised. If a variable defined within the Group or Try/Catch activities is used as an input of a Map Inputs Tasks activity or a Map Variables activity that is outside of, and following, the Group or Try/Catch activity, the variable is considered as uninitalised.

Procedure

  1. Click the Name field and enter a name for the variable.
  2. Click the Data Type field and select a Data Type from the list. In addition to the default Data Types, the list lists the names of the root nodes of the Flat File Schemas, XML Schemas, and DTD files that have been defined or uploaded into the project. The following default Data Types are listed in the menu:
    • DateTime: a date and time stored as an XML Schema xs:dateTime data type
    • AnyType: any type of data can be stored in this catch-all (XML Schema xs:anyType) data type
    • String: text characters (primitive)
    • Integer: integers (primitive)
    • Base64Binary: base64 binary encoded data stored as an XML Schema xs:base64Binary data type
    • Browse for Schema....: use this option to redefine the schema or schema fragment that the variable is based on
  3. Optional: Click the Default Value field and specify a default value for the variable.
  4. Click the Shared field to specify to share this variable across orchestration jobs. By default, variables are not shared (False). To share this variable across all the orchestration jobs of this type of orchestration, select the True option from the list. If the Shared field is set to True, the Process Orchestration Jobs Sequentially check box becomes automatically selected.
    Note: Variables based on schema fragments can be created by dragging a node from the Schema of pane into the Variables pane of the Variables tab.
    Note: Shared variables are sometimes used with scheduled orchestrations to maintain state information for each scheduled invocation of the orchestration job.



Feedback | Notices


Timestamp icon Last updated: Wednesday, February 17, 2016


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