[rules-users] Possible to enforce a unique salience?

barnabyg barnaby.golden at autoquake.com
Mon Dec 20 09:31:16 EST 2010


Hi,

Is it possible in Drools to enforce a unique salience?

Ideally this would be done at the point of entering a new rule.

For example, if a rule existed with salience of 17 and a user tried to add a
new rule of salience 17, an error message would be generated saying
'salience level already in use'.

Even better would be the ability to enforce a unique salience for rules
belonging to a particular ruleflow-group.

The reason for wanting to achieve this is to prevent indeterminate behaviour
when two or more rules exist with the same salience level.

Any help would be much appreciated.

Regards,

Barnaby
-- 
View this message in context: http://drools-java-rules-engine.46999.n3.nabble.com/Possible-to-enforce-a-unique-salience-tp2120470p2120470.html
Sent from the Drools - User mailing list archive at Nabble.com.



More information about the rules-users mailing list