Working with Global Variables
Global variables provide an easy way to set defaults for use throughout your project. When the project is deployed, all occurrences of the global variable name are replaced with the provided global variable value or a deploy-time override.
Tip:
- The datatype of the global variable must match the datatype accepted in the field where you use it. If the global variable is of a different type, runtime errors result.
- An exception to the above allows flexibility in numeric fields: global variables used in numeric fields can be of any type, as long as the substituted value of the field is numeric.
- A project folder called
defaultVars
is available but not exposed in TIBCO BusinessEvents Studio Explorer, so that you can share the global variables using source control software. It is not used for other purposes.
Subtopics