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

Extracts the list of all tasks executed during the execution of the ruleset. Note that the first task listed is the ruleflow task.

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:

TASKS_EXECUTED 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 task in the test list. 
CONTAINS_ORDER 
The extracted list contains at least one occurrence of each task in the test list, respecting the order of appearance. 
NOT_CONTAINS 
The extracted list does not contain the tasks in the test list. 

Related Sections

TASKS_NOT_EXECUTED
NUM_TASKS_EXECUTED
NUM_TASKS_NOT_EXECUTED
ALL_TASKS
NUM_ALL_TASKS