Adding a variable to a state machine

Variables store the data that are used by a state machine.

To create an additional variable, proceed as follows:
  1. In the tray, click the plus icon (The plus symbol) to the right of Variables.
  2. In the Add Variable wizard, browse to the appropriate data type or business object or click New to create one.
  3. When you are done, the newly created variable will appear in the tray. You can change the variable's name by clicking it and typing a new one.
You have successfully created a variable.
Note:
  1. If you want to rename the variable later, you will have to update its occurrences in the Java and visual snippets with the new name.
  2. Variable names cannot contain the strings "_Input_" or "_Output_" or end with the string "TimerValue". In addition, the following names are reserved:
    • ActState
    • DisplayState
    • NxtState
    • NxtTrans
    • SkipEntry
    • InstanceInitialize
    • GuardValue
    • TransitionFailure
    • RuntimeFailureData
    • ActTrans
    • NxtDisplayState

Feedback
(C) Copyright IBM Corporation 2005, 2007. All Rights Reserved.