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.