Hello, the "tinting" example from the whitepaper assumes each Tint fits
exactly one Param, right?
This is not my case, as a Cart can match different discounts and we want to
assign the highest possible.

Is the pattern still suitable?

Another thing I see is Param is evaluating plain attributes from the Tints,
but (not sure if this is the correct pattern) I'm using this to find if a
Cart contains a specific item

when
  Cart ($items : buyingItems, payment == Card....)
  i : Item (code == XXXXX) from $items
then
.............

Thank you, as Cotton.Ben has thoroughly said!! :)



--
View this message in context: 
http://drools.46999.n3.nabble.com/Evaluate-rules-for-multiple-facts-of-the-same-type-within-a-StateuflSession-tp4022157p4022388.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
_______________________________________________
rules-users mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/rules-users

Reply via email to