<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Sorry it's now &amp;&amp; and ||<br>
You can also us the 'in' operator<br>
<tt>Cheese( type in ( 'stilton', 'brie' )) <br>
Cheese( type not in ( 'stilton', 'brie' )) <br>
Cheese( type memberOf $myCheeseTypeList ) <br>
Cheese( type not memberOf $myCheeseTypeList ) <br>
<br>
Mark<br>
</tt><br>
Ronald R. DiFrango wrote:
<blockquote
 cite="mid:eb33f140707070802r3121d4f1g5488c314b76ff2e5@mail.gmail.com"
 type="cite">Answered my own question:<br>
  <br>
MyObject (status == StatusConstants.MATCHED | ==
StatusConstants.APPROVAL)<br>
  <br>
  <div><span class="gmail_quote">On 7/7/07, <b class="gmail_sendername">Ronald
R. DiFrango</b> &lt;<a moz-do-not-send="true"
 href="mailto:ron.difrango@gmail.com">
ron.difrango@gmail.com</a>&gt; wrote:</span>
  <blockquote class="gmail_quote"
 style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">All,<br>
    <br>
If I remember correctly, in the 4.x version of Drools you were adding
an or type syntax where you could compare a value against multiple
values.&nbsp; What is the new syntax for it?
    <br>
    <br>
I am looking to do something logically like:
    <br>
    <br>
MyObject (status in ("Open" or "Matched")<br>
    <br>
Ron<br>
  </blockquote>
  </div>
  <br>
  <pre wrap="">
<hr size="4" width="90%">
_______________________________________________
rules-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/rules-users">https://lists.jboss.org/mailman/listinfo/rules-users</a>
  </pre>
</blockquote>
<br>
</body>
</html>