]
Mario Fusco resolved DROOLS-4360.
---------------------------------
Resolution: Done
Fixed by
Salience assignment behaviour is different when SequentialMaxPriority
is set
----------------------------------------------------------------------------
Key: DROOLS-4360
URL:
https://issues.jboss.org/browse/DROOLS-4360
Project: Drools
Issue Type: Bug
Components: decision tables
Reporter: Mario Fusco
Assignee: Mario Fusco
Priority: Major
Labels: support
In Spreadsheet decision tables, RuleSet property SequentialMaxPriority and
SequentialMinPriority are for controlling the salience number range of Rules generated
from Decision Tables.
https://access.redhat.com/documentation/en-us/red_hat_decision_manager/7....
By setting Sequential=true without SequentialMaxPriority and SequentialMinPriority, the
salience starts with 65535 and it's decremented one by one through all rules across
multiple RuleTables.
On the other hand, by setting Sequential=true WITH SequentialMaxPriority,
every RuleTables starts with value specified by SequentialMaxPriority as salience.
i.e. first rule of each RuleTebles has same salience if there are multiple RuleTables.
In other words, when SequentialMaxPriority is set, start value of salience is reset per
RuleTables, but this is unexpected.