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@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@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