Creating a Global Variable
You can define global variables using Integration Server Administrator. Integration Server saves the global variable definitions in Integration Server_directory \instances\instance_name\config\globalVariables.cnf.
When you create global variables, keep the following points in mind:
![*](chapterTOC_bullet.png)
Global variables can only be used to specify values for variables of type String, String List, and String Table.
![*](chapterTOC_bullet.png)
Global variable names:
![*](chapterTOC_bullet.png)
Cannot include any special characters except period (.) and underscore (_).
![*](chapterTOC_bullet.png)
Can be of a maximum length of 255 characters.
![*](chapterTOC_bullet.png)
Are case-sensitive.
![*](chapterTOC_bullet.png)
Must be unique on the
Integration Server.
![*](chapterTOC_bullet.png)
If the global variable you are creating is a password,
Integration Server encrypts and saves it using OPE (outbound password encryption).
![*](chapterTOC_bullet.png)
Global variable value can be of a maximum length of 255 characters.
![*](chapterTOC_bullet.png)
When editing a global variable, you can modify only the
Value field.
![*](chapterTOC_bullet.png)
Global variables must be identical on all
Integration Servers in a cluster.
![*](chapterTOC_bullet.png)
You can deploy global variables by using
webMethods Deployer. For information about using
Deployer, see the
webMethods Deployer User’s Guide.
![*](chapterTOC_bullet.png)
You can use global variable substitution when debugging a service.
![*](icon_task_xpe.png)
To create a global variable
1. Open Integration Server Administrator.
2. Go to Settings > Global Variables.
3. Click Add Global Variable.
4. Under Global Variable provide the following information:
Parameter | Specify |
Is Password? | Whether the global variable you are defining is a password. If the Is Password check box is selected, the text that you enter in the Value field is entered as a password, with asterisks indicating the input instead of characters. Integration Server encrypts and saves the text that you enter in the Value field as an outbound password. |
Key | A name for the global variable. Integration Server uses this key to refer to the global variable while performing global variable substitution. |
Value | Value for the global variable. |
5. Click Save Changes.