In the rule language, certain variables are used to store event-related information across different event occurrences or rules. This event-related information can then be accessed from expressions within rules. Some types of variables are defined by the rule writer, and others are provided by the Active Correlation Technology. Some types can be accessed directly within an expression, and others can be accessed only through methods that are provided by the Active Correlation Technology.
int sample_variable = act_lib.getIntVariable("rule_writer_variable");
act_event.getAttribute("hostname");
int eventcount_integer = act_lib.getIntVariable(IACTLibrary.EVENTCOUNT);