Unsupported content This version of the documentation is no longer supported. However, the documentation is available for your convenience. You will not be able to leave comments.

Global record definition syntax


Global records are persistent structured global variables. The scope of these variables is the entire Knowledge Base; any other variable has a scope limited to the current rule. Global records are addressed by name.

Global record definition example

For example, a global record called UNDER_MAINTENANCE has the following definition:

RECORD
   UNDER_MAINTENANCE DEFINES {
      hosts: LIST_OF STRING ;
   }
END

In a rule, you can refer to one of the slots, as shown in the following example:

$UNDER_MAINTENANCE.hosts

This form can be used in an expression, an assignment, or a primitive. For information about using global records in rules, see Global-records-in-rules.

 

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*