On this tab you can set global variables. Global variables are can be accessed by any processing component from any rule, and they also can be used for data exchange between components and rules.
Each global variable has its own effective interval. A variable is initialized by the initial value at the beginning of the effective interval. Within the effective interval, any processing component from any rule can read and change its current value.
The tab contains the list of global variables in form of a table as well as the list editing buttons.
The list of global variables
The global variable list is a table with the following columns:
Type
Global variable type depending on the effective interval.
Name
Global variable name which appears in the general variable list. By default, the name appears in the Variables group.
Current
Current value of the global variable.
Default
Initial values of the global variable, bound to it on initialization at the beginning of each effective interval.
Comment
Text comment.
Managing the global variable list
To create a new global variable, click the button. Set desired parameters in the form that has opened and click OK. In that form you can also specify the variable position in the list. To do that, click the list editor button right to the Variable Name field.
To changes properties of a global variable, click it twice in the list or click the button. Do desired changes to the properties in the form that has opened and click OK.
To delete a global variable, click .
There are 5 global variable types depending on the effective interval.
Type |
Effective interval |
Initialization |
Typical applications |
Message |
Current message processing |
Before processing a message with the first rule |
Data transfer between the rule |
Session |
Current message receiving sessions |
Before processing the first message in the current session with the first rule |
Collecting statistics, intermediate results while receiving messages |
Program |
Current AEP launch |
On AEP startup |
Storage of the most common parameters, statistics |
Permanent |
Permanently stored in the Registry, max length 16384 bytes |
On variable creation or on change of Default Value parameter |
Storage of parameters necessary after relaunch of the program. |
Startup |
Current AEP launch |
On AEP startup, with manually set values. A dialog window with input field is displayed for each variable of this type. Value of the Comment parameter in the variable description is used as the input field name. Enter the value in the input field and click OK. Otherwise, Default Value will be used for initialization |
Storage of the manually set common properties |
See also