You have the answer in your example, reserved word "contains" will give you
On Sat, Aug 23, 2008 at 9:23 AM, David Cracauer <dcracauer(a)earthlink.net>wrote:
I'm getting stuck on this and I'm hoping someone can help..
I need to be able to check that a collection contains one, and only one
from another collection.
Ideally, I would do something like this:
a:Answer(responses contains one of ("a","b","c"));
Is there a way do do this without resorting to evals or predicate
expressions? (drools 4.07)
View this message in context:
Sent from the drools - user mailing list archive at Nabble.com
rules-users mailing list