[rules-users] Rule for "only one of the below exists", help please?

rogerL roger at precipicetech.com
Thu May 22 17:40:55 EDT 2014


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.


More information about the rules-users mailing list