<html><body bgcolor="#FFFFFF"><div>Also, the use of doubles in an == test is problematic. &nbsp;Not that it would cause this particular problem, but it will cause others.<br><br>GreG</div><div><br>On Nov 13, 2010, at 11:52, Wolfgang Laun &lt;<a href="mailto:wolfgang.laun@gmail.com">wolfgang.laun@gmail.com</a>&gt; wrote:<br><br></div><div></div><blockquote type="cite"><div>Are you using the latest (5.1.1) release?<br><br>Is the duplicated rule in another DRL file and does it have exactly the same name? If so, it simply overwrites the first rule.<br><br>If it's different, please create a JIRA with a minimized example reproducing the error.<br>
<br>-W<br><br><br><div class="gmail_quote">On 13 November 2010 14:12, balagh <span dir="ltr">&lt;<a href="mailto:bala.ganesh@accenture.com"><a href="mailto:bala.ganesh@accenture.com">bala.ganesh@accenture.com</a></a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
Hi,<br>
<br>
&nbsp;Below is the DRl used. When i have two different rules with the same below<br>
DRL, only one rule is getting executed. I could find that in my logs. If i<br>
change the line to Ransome(amr &lt;= 10) in any one of the rule, both of them<br>
are getting executed.<br>
<br>
I am having the rules in db and the execution trace log will have the rules<br>
no which gets executed<br>
<br>
 &nbsp; Rule "rule -1"<br>
 &nbsp; &nbsp; when<br>
 &nbsp; &nbsp; &nbsp; &nbsp; loose : Loose()<br>
 &nbsp; &nbsp; &nbsp; &nbsp; ransome : Ransome(amt == 6.15) from loose.getRansomeArray(0)<br>
 &nbsp; &nbsp; &nbsp; &nbsp; util : Util()<br>
 &nbsp; &nbsp;then<br>
 &nbsp; &nbsp; &nbsp; &nbsp;util.doIt(loose, "Hello");<br>
 &nbsp; end<br>
<br>
<br>
Thanks,<br>
Bala<br>
<font color="#888888"><br>
--<br>
View this message in context: <a href="http://drools-java-rules-engine.46999.n3.nabble.com/Rules-selection-logic-tp1894132p1894257.html" target="_blank"><a href="http://drools-java-rules-engine.46999.n3.nabble.com/Rules-selection-logic-tp1894132p1894257.html">http://drools-java-rules-engine.46999.n3.nabble.com/Rules-selection-logic-tp1894132p1894257.html</a></a><br>

Sent from the Drools - User mailing list archive at <a href="http://Nabble.com">Nabble.com</a>.<br>
_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org"><a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a></a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank"><a href="https://lists.jboss.org/mailman/listinfo/rules-users">https://lists.jboss.org/mailman/listinfo/rules-users</a></a><br>
</font></blockquote></div><br>
</div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>rules-users mailing list</span><br><span><a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a></span><br><span><a href="https://lists.jboss.org/mailman/listinfo/rules-users">https://lists.jboss.org/mailman/listinfo/rules-users</a></span><br></div></blockquote><br>

      </body></html>