[rules-users] Help with M1

s erel erelsagi at gmail.com
Sun Apr 22 04:37:34 EDT 2007


Hello,

When using the following two rules with an empty working memory both rules
get fired:

===================================
rule rule1
when
       not Person(gender == Consts.Unknown)
then
       System.out.println("rule1");
end
rule rule2
when
       exists Person(gender == Consts.Unknown)
then
       System.out.println("rule2");
end
===================================

.
Can anyone help me with this?

Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20070422/14f1c50c/attachment.html 


More information about the rules-users mailing list