[rules-users] Re: No OR syntax

Ronald R. DiFrango ron.difrango at gmail.com
Sat Jul 7 11:02:09 EDT 2007


Answered my own question:

MyObject (status == StatusConstants.MATCHED | == StatusConstants.APPROVAL)

On 7/7/07, Ronald R. DiFrango <ron.difrango at gmail.com> wrote:
>
> All,
>
> 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.
> What is the new syntax for it?
>
> I am looking to do something logically like:
>
> MyObject (status in ("Open" or "Matched")
>
> Ron
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20070707/e1040d0b/attachment.html 


More information about the rules-users mailing list