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.
For example, you could assign the value 7474 to the global variable RvDaemon. You can then use the variable in a Rendezvous Transport resource. At deploy time you can override the default value as needed.
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 BusinessEvents Studio Explorer, so that you can share the global variables using source control software. It is not used for other purposes.
Copyright © TIBCO Software Inc. All Rights Reserved.