Using Global Variables in the Rule Editor
To use a global variable in the rule editor, use one of the System.getGlobalVariableAs*
functions. For example:
System.getGlobalVariableAsString("Hostname", "Localhost")
Where Hostname is the name of the variable and Localhost is an optional literal value to use if the variable is not found.
Do not use this syntax: %%
Global.Variable.Name
%%
.
See Working with Global Variables for more details about global variables.