foo : Foo( id memberOf globalList )
[]s
Edson
2008/12/10 techy <techluver007(a)gmail.com>
I would like to do lhs ""contains"" check on global list for fact
field as
given below. but no luck so far.. some help please.
global List globalIdList
#psedo rule
rule "check global lsit"
when
foo: Foo()
list : List() from globalIdList
list contains foo.getId()
#also tried ''List(contains(foo.getId()) == true) from
globalIdList'"
then
//do something
end
Thanks
--
View this message in context:
http://www.nabble.com/lhs-%22contains%22-check-using-global-list-tp209293...
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
--
Edson Tirelli
JBoss Drools Core Development
JBoss, a division of Red Hat @
www.jboss.com