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-tp20929328p20929328.html
Sent from the drools - user mailing list archive at Nabble.com.
_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users