literal
The literal keyword specifies a literal ordering of the rules executed in a rule task.
Purpose
Deprecated feature:
RetePlus literal, sorted, and
priority ordering modes are deprecated in V8.6. These features will
be removed in a future release. See Deprecated features for migration
details.
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.
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.