ILOG JRules User Guide > Testing Rules with Rule Scenario Manager > Reference > Test Extractors and Operators > RULES_FIRED

Extracts the list of all rules fired during the execution of the ruleset.

Note
To get the lists of rules fired and tasks executed you need to modify the properties.txt file of your RuleApp to add the following properties:

ruleset.sequential.trace.enabled=true

ruleset.trace.enabled=true

The extracted value is a table of strings, and can be compared using the following operators:

RULES_FIRED operators

Operator 
Compares 
EQUALS 
The extracted list is equal in contents to the test list. 
EQUALS_ORDER 
The extracted list is equal in contents and in order of appearance to the test list. 
CONTAINS 
The extracted list contains at least one occurrence of each rule in the test list. 
CONTAINS_ORDER 
The extracted list contains at least one occurrence of each rule in the test list, respecting the order of appearance. 
NOT_CONTAINS 
The extracted list does not contain the rules in the test list. 

Related Sections

RULES_NOT_FIRED
NUM_RULES_FIRED
NUM_RULES_NOT_FIRED
ALL_RULES
NUM_ALL_RULES