Best practice is to use a condition that guarantees that the discount
hasn't been
assigned for a shopping cart.
Ideally, you also shouldn't need salience, with conditions for selecting a
certain policy not leaving any possibility for multiple "hits".
-W
On 13/02/2013, pdario <dario.piantanida(a)gmail.com> wrote:
Well, so how can I make this rule fire for each fact?
My scenario is:
- different rules in the same activation-group to assign discount to the
shopping cart
- different activation-group to manage different discount policies
- each rule has different salience to be sure only the most relevant one
fires in each group
I would like to apply discounts to several carts with just one call to the
rule engine.
Is it possible or do I have to fireAllRules with one one insertion at a
time?
--
View this message in context:
http://drools.46999.n3.nabble.com/Evaluate-rules-for-multiple-facts-of-th...
Sent from the Drools: User forum mailing list archive at
Nabble.com.
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users