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-h...
Sent from the Drools: User forum mailing list archive at
Nabble.com.