Wolfgang gave a great solution.
On 12 October 2010 02:23, kpandey <kumar.pandey(a)gmail.com> wrote:
I got it to work using eval like so
when
...
eval($mycontext.isNotSubset("STRING1",
"STRING2","STRING3", "STRING4"))
I have the logic in isNotSubset method in context class to check if the set
the context is subset of array passed in the call to the method.
This works but I believe this can't make use of the rete optimization ?
Thanks
Kumar
--
View this message in context:
http://drools-java-rules-engine.46999.n3.nabble.com/Check-if-fact-is-subs...
Sent from the Drools - User mailing list archive at
Nabble.com.
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users