Priority is an attribute of a rule that governs the order in which rules are added to the firing queue. Firing queue represents a collection of actions of all satisfied rules that are to be fired by the rule engine.The first rule in the firing queue has the highest priority.
Priorities are assigned as integer values; the value can be within a 0 to 1,00,000 (both inclusive) range. To facilitate ease of use, priorities are categorized into five standard levels:
Level |
Integer Value |
---|---|
Minimum |
0 |
Low |
25,000 |
Medium |
50,000 |
High |
75,000 |
Maximum |
1,00,000 |