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

Edson Tirelli tirelli at post.com
Thu Aug 30 08:16:29 EDT 2007


   Looks like a bug. Can you open a JIRA please? I will investigate.

   []s
   Edson

2007/8/30, vdelbart <delbart.v at mipih.fr>:
>
>
> Hi,
>
> I have a problem with this execution :
>
> rule "Your First Rule"
>
> when
> (or
>   not Venue()
> (and v:Venue()
>         l:ListeSousVenue()
>         p:Param()))
> then
>   System.out.println("OK - 1");
> end
>
> rule "Your Second Rule"
>
> when
>   (or
>   not Venue()
> (and p:Param()
>         l:ListeSousVenue()
>         v:Venue()))
> then
>     System.out.println("OK - 2");
> end
>
> In my WM, I have a Param and a ListeSousVenue but no Venue
> But after execution, I have just this result :
> "OK - 1"
>
> Why the second rule doesn't execute ?
>
> Thanks,
>
> Vdelbart
> --
> View this message in context:
> http://www.nabble.com/Execution-problems-with-%28or-and-%28and-tf4352997.html#a12403501
> 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/89f1f419/attachment.html 


More information about the rules-users mailing list