[rules-users] Execution problems with (or and (and

Edson Tirelli tirelli at post.com
Thu Aug 30 12:37:51 EDT 2007


   It is a bug. I found it and fixed it.

http://jira.jboss.com/jira/browse/JBRULES-1149

   Fix will be included in 4.0.1 version being released as we speak.

   []s
   Edson

2007/8/30, vdelbart < delbart.v at mipih.fr>:
>
>
> Ok, i will try.
>
> For information, I found a workaround :
>
> This two rules work :
>
> rule "3 Rule"
> when
> (or
>   (and v:Venue()
>         l:ListeSousVenue()
>         p:Param())
>   not Venue()
> )
> then
>   System.out.println("OK - 3");
> end
>
> rule "4 Rule"
> when
> (or
> (and p:Param()
>         l:ListeSousVenue()
>         v:Venue())
>   not Venue()
> )
> then
>   System.out.println("OK - 4");
> end
> --
> View this message in context: http://www.nabble.com/Execution-problems-with-%28or-and-%28and-tf4352997.html#a12406449
>
> 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
  Software Engineer - JBoss Rules Core Developer
  Office: +55 11 3529-6000
  Mobile: +55 11 9287-5646
  JBoss, a division of Red Hat @ www.jboss.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20070830/2d4e2c49/attachment.html 


More information about the rules-users mailing list