Have a look at the collect command. Something like:

ArrayList( size == 1 ) from collect( LineItem (materialID == 'a' || == 'b' 
||  == 'c' ) )



--
View this message in context: 
http://drools.46999.n3.nabble.com/Rule-for-only-one-of-the-below-exists-help-please-tp4029658p4029660.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users

Reply via email to