Looks like a bug. Can you open a JIRA please? I will investigate.
[]s
Edson
2007/8/30, vdelbart <delbart.v(a)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....
Sent from the drools - user mailing list archive at
Nabble.com.
_______________________________________________
rules-users mailing list
rules-users(a)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