Need to do some tasks if customers age is in 18,21,33,28,40,41. Can't use
contains as age is a string value.Could any one help me out. Below rule does
not work.


rule "Age Factor"
     when
          m : Customer( age matches "18,21,33,28,40,41")
     then
         System.out.println("Customer falls in age group ");
          doAgeTasks();
end

Thanks,
Lindy.
_______________________________________________
rules-users mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/rules-users

Reply via email to