I have an object coming in which contains a collection of id's. I want to verify these id's are in another collection. I'm looking for something like collection is a subset of another collection. any ideas??
zips below is a collection, i want to verify that each zip is in $e1. rule "example" when e1: Set() from RefData.getConstantValues() e2: Example( zips not in $e1) then error() -- View this message in context: http://n3.nabble.com/Can-I-do-a-Collection-contains-Collection-tp217546p217546.html Sent from the Drools - User mailing list archive at Nabble.com. _______________________________________________ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users