Well, you wrote that pids is a list, but the error message says it's
an array. Inside an eval() it's still Java.
-W
On 4 January 2012 09:35, gg <gagan.gautam(a)gmail.com> wrote:
I did this :
s: String() from cids
eval(pids.contains(s))
but its throwing an error :
Rule Compilation error : [Rule name='Hello World']
com/sample/Rule_Hello_World_0.java (8:509) : Cannot invoke contains(String)
on the array type String[]
--
View this message in context:
http://drools.46999.n3.nabble.com/list-conatins-objects-from-another-list...
Sent from the Drools: User forum mailing list archive at
Nabble.com.
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users