Integration Server 10.11 | Integration Server Administrator's Guide | Managing Services | Managing Global Variables | Creating a Global Variable
 
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:
*Global variables can only be used to specify values for variables of type String, String List, and String Table.
*Global variable names:
*Cannot include any special characters except period (.) and underscore (_).
*Can be of a maximum length of 255 characters.
*Are case-sensitive.
*Must be unique on the Integration Server.
*If the global variable you are creating is a password, Integration Server encrypts and saves it using OPE (outbound password encryption).
*Global variable value can be of a maximum length of 255 characters.
*When editing a global variable, you can modify only the Value field.
*Global variables must be identical on all Integration Servers in a cluster.
*You can deploy global variables by using webMethods Deployer. For information about using Deployer, see the webMethods Deployer User’s Guide.
*You can use global variable substitution when debugging a service.
*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.