you can try this and let me know
global List globalIdList
#psedo rule
rule "check global lsit"
when
foo: Foo()
// you don't need to declare like this--list : List() from
globalIdList
eval(globalIdList.contains(foo.getId()))
then
//do something
end
--
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.