I think that you can do something like:<br><br>m : Customer( age == &quot;18&quot; || ==&quot;21&quot; || ==&quot;33&quot; || ==&quot;28&quot; || ==&quot;40&quot; || ==&quot;41&quot;)<br><br><div class="gmail_quote">2009/11/17 Lindy hagan <span dir="ltr">&lt;<a href="mailto:lindyhagan@gmail.com">lindyhagan@gmail.com</a>&gt;</span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>Need to do some tasks if customers age is in 18,21,33,28,40,41. Can&#39;t use contains as age is a string value.Could any one help me out. Below rule does not work.<br>
<br><br>rule &quot;Age Factor&quot;<br>     when<br>
          m : Customer( age matches &quot;18,21,33,28,40,41&quot;)<br>     then          <br>         System.out.println(&quot;Customer falls in age group &quot;);<br>          doAgeTasks();<br>end<br><br>Thanks,<br><font color="#888888">Lindy.<br>

</font><br>_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br> - <a href="http://salaboy.wordpress.com">http://salaboy.wordpress.com</a><br> - <a href="http://www.jbug.com.ar">http://www.jbug.com.ar</a><br> - Salatino &quot;Salaboy&quot; Mauricio -<br>