All the processing components use variables for data exchange
Variable list
Separate variable list is kept for each rule. This list can be accessed through context menu of the fields where the variables are usable. To enter variable name in a field, you can just choose it from the list. This allows to avoid mistakes possible when variable names are entered via a keyboard. Besides, the name syntax is automatically adjusted to the context. For example, the variable "Variable" will be entered into a text field as <%Variable%>, in database component as '<%Variable%>', and in JScript and VBScript components as Variable.Value (name of the method .Value is a case sensitive)
Variable grouping
For greater usage convenience, the variable list is organized as a hierarchic menu system. It may contain:
●individual variables
●the group "Variables"
●user-created groups
Some variables may not be included in any group. They are placed at the top of the list, so they can be accessed by a single mouse click. Most frequently used variables are normally placed so.
The group "Variables" is created automatically. By default, all variables are placed into that group.
User groups are created to provide for more convenient organization of the list. Each group is also a list, which may contain subgroups and individual variables. This system allows to optimize the number of menu items with great number of variables, as well as to sort variables by categories, e.g., "Shipment Details" or "Client Parameters".
Keeping a List
- There is the list editor button in the fields where variables are to be set. In the list editor, you can set the variable position in the list, as well as create new groups. The group in which the variable is contained is marked with a marker in the menu.
To set the variable position in a list, choose the desired group and click <Place Here>.
To create a new group, click <Add New Group> in the desired place of the list and enter the group name. The current variable will be automatically moved into that group.
A group exists in a list until it contains at least one variable. If all variables in a group have been deleted, the group is automatically deleted as well.
Using Environment variable inside variable template
Environment variable substitution can be used inside a variable template. <%test%> it's a variable template that will be replaced by the value of variable 'test'. <%%TEMP%%> it's an environment variable template. The template will be replaced by value with the 'TEMP' environment variable.