[rules-users] "Not exists" on at least one element from the set

Edson Tirelli tirelli at post.com
Wed Jun 23 16:05:40 EDT 2010


   Missing an "and":

exists (
$name: String() from return( ['a', 'b', 'c' ] ) and
not Object(name == $name)
)

    []s
    Edson

2010/6/23 LeoIo <begemot57 at hotmail.com>

>
> Sounds promising guys.
>
> Sadly I can't get it to work. Having dialect "mvel" and
>
> exists (
> $name: String() from return( ['a', 'b', 'c' ] )
> not Object(name == $name)
> )
>
> in my .drl file.
> I am getting:
> Unknown error while parsing. This is a bug. Please contact the Development
> team.
>
> Any ideas?
> Thanks in advance.
>
>
> --
> View this message in context:
> http://drools-java-rules-engine.46999.n3.nabble.com/Not-exists-on-at-least-one-element-from-the-set-tp916375p917260.html
> Sent from the Drools - User mailing list archive at Nabble.com.
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>



-- 
 Edson Tirelli
 JBoss Drools Core Development
 JBoss by Red Hat @ www.jboss.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20100623/71029b05/attachment.html 


More information about the rules-users mailing list