[rules-users] list conatins objects from another list
Wolfgang Laun
wolfgang.laun at gmail.com
Wed Jan 4 04:22:24 EST 2012
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 at 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-tp3631295p3631350.html
> Sent from the Drools: User forum mailing list archive at Nabble.com.
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
More information about the rules-users
mailing list