Add and Manage Global Variables
Procedure
- Open the project in TIBCO BusinessEvents Studio.
- Open Global Variables Editor in one of the following ways:
-
Do any of the following. (See
Global Variable Reference for a guide to the fields):
- To add a variable, click Add Variable and complete the fields.
- To edit a variable, select the variable and update the fields.
- To add a variable group, click Add Group.
- To add a variable to a group, first select a group, then click Add Variable.
- To remove a variable or a group, highlight it and click
Remove.
Note:
- Using Groups
- Groups are used for organizing variables. Variable groups are especially useful if multiple developers share a project using a version control system. When referencing a variable that is in a group, use the complete path, for example
%%mygroup/mysubgroup/myvariable%%. (Because the complete path is used, the name of a variable in a group can be the same as the name of a variable in a different group.)
You must add at least one variable to a group, or the group will not be saved. If you delete all global variables in a global variable group, the group itself is also automatically deleted.
- Save the resource. Groups and references to the defaultVars.substvar file appear in the defaultVars project folder.
Copyright © TIBCO Software Inc. All Rights Reserved.