Variables in a Rulebase
You can reference several kinds of variables in a rulebase. By referencing variables, the rulebase can adapt to changes on multiple machines. For example, not all machines store log files or temporary files in the same directory. Also, rulebases used on multiple platforms have subtle differences in how path names are expressed. You can use variables rather than specifying this information manually.
When an action contains variable substitution, a new alert is generated each time the test is true and the value of the variable changes. Variable substitution is most useful for values that are slowly changing, very important or both.
Supported Variables Types
The following types of variables are supported in a TIBCO Operational Intelligence Hawk® RedTail - Container Edition rulebase:
Internal | External | Data source (Can only be referenced in actions) |
---|---|---|
Current Rule | Any user defined variable | Microagent method |
Time Zone | Result field | |
Hawk Domain | ||
Current Rulebase | ||
Condition True Time | ||
Agent Name | ||
Current Test | ||
Current Action |
• | External, such as user-defined variables |
• | Internal, such as the name of a test in a rule |
• | Data source, such as a microagent method result field (Data source variables can be referenced in actions only) |