<font size="2"><font face="verdana,sans-serif"><div><font size="2"><font face="verdana,sans-serif">Hi there,</font></font></div><div><font size="2"><font face="verdana,sans-serif"><br></font></font></div>er.. why don&#39;t you remove your &quot;eval&quot; and just evaluate in the object binding?</font></font><div>
<font size="2"><font face="verdana,sans-serif"><br></font></font></div><div><font size="2"><font face="verdana,sans-serif">$var = TypeOfObject( netRepaymentAmountAbilityIncludingLiabilities &lt;= 0.65)</font></font></div>
<div><font size="2"><font face="verdana,sans-serif"><br></font></font></div><div><font size="2"><font face="verdana,sans-serif">Other than that, i don&#39;t think a lotta people are still using drools4 and i have no idea why that is happening. Apparently, it makes no sense :-/</font></font></div>
<div><font size="2"><font face="verdana,sans-serif">_ miguel</font></font></div><div><font size="2"><font face="verdana,sans-serif"><br></font></font><br><div class="gmail_quote">On Thu, May 6, 2010 at 5:53 AM, Shai Bentin <span dir="ltr">&lt;<a href="mailto:shai@centimia.com">shai@centimia.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">I&#39;m running drools 4. It has been running for a long time with no issues.<br>
<br>
I have this weird issue now and I&#39;m wondering what can explain this.<br>
<br>
I have the following rule defined.<br>
<br>
rule &quot;netRepaymentWithLiabilities1&quot;<br>
     agenda-group &quot;autoUnderwriting&quot;<br>
     when<br>
         #conditions<br>
         enrichedApplication: EnrichedApplicationVersionTO()<br>
         eval<br>
(enrichedApplication.getNetRepaymentAmountAbilityIncludingLiabilities()<br>
&lt;= 0.65)<br>
         decision: Decision()<br>
     then<br>
         #actions<br>
         System.out.println(&quot;!!!!!!!!!!!!!!!!!!!!!!!!!! &quot; +<br>
(enrichedApplication.getNetRepaymentAmountAbilityIncludingLiabilities()<br>
&lt;= 0.65));<br>
         decision.setDecision(&quot;APPROVED&quot;, &quot;NetRepaymentWthLiblt&quot;);<br>
end<br>
<br>
This rule invokes although<br>
&#39;enrichedApplication.getNetRepaymentAmountAbilityIncludingLiabilities()&#39;<br>
 &gt; 1.<br>
More over in the then part it prints &#39;false&#39;, so how come it invoked<br>
while the condition is not fulfilled? What can cause this?<br>
<br>
Shai<br>
<br>
<br>
<br>
_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>&quot;To understand what is recursion you must first understand recursion&quot;<br>
</div>