[rules-users] Matching strings in two arrays

kpandey kumar.pandey at gmail.com
Wed Sep 29 14:47:50 EDT 2010


This works great for the case where all entries in fact matches all entries
in rule.

I have a case where a subset of facts can exist in the set of rule.

How would I construct the rule in this case without using the exits and from
as I did initially?

so MyContext.classes has subset "TStr1", "TStr2", "TStr3" and rule has set
"TStr1", "TStr2", "TStr3", "TStr4","TStr5",

The rule should pass in this case as classes values are subset of rules.

Thanks
Kumar
-- 
View this message in context: http://drools-java-rules-engine.46999.n3.nabble.com/Matching-strings-in-two-arrays-tp1602511p1604185.html
Sent from the Drools - User mailing list archive at Nabble.com.



More information about the rules-users mailing list