ordering
The
ordering keyword sets the order of
the rules executed in a rule task.
Purpose
This keyword is used to specify how the rules are ordered and how many rules are executed in a rule task.
Context
Rule task definitions
Syntax
ruletask ruleTaskName
{
[ordering = dynamic|sorted|literal;]
};
Description
The keyword ordering specifies
how the rules are sorted. It takes these values:
dynamic: The rule instances are sorted in the agenda according to the traditional rules presented for the agenda.sorted: The rules are sorted in decreasing order of static priority.literal: The rules are listed in the same order as they have been listed in the rule task body.