<div dir="ltr">Whoops, yes that worked. Thanks!</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Aug 13, 2013 at 10:23 PM, Wolfgang Laun <span dir="ltr">&lt;<a href="mailto:wolfgang.laun@gmail.com" target="_blank">wolfgang.laun@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">You might try to write the condition as<br>
   loanAmount &lt;= $param<br>
<br>
-W<br>
<div><div class="h5"><br>
On 14/08/2013, Atul Bhatia &lt;<a href="mailto:agbhatia@gmail.com">agbhatia@gmail.com</a>&gt; wrote:<br>
&gt; I am looking to use drools decision tables for a project. I want to add a<br>
&gt; condition where I verify that the value of a passed in object is less than<br>
&gt; a specified number. I want the decision table to look something like:<br>
&gt;<br>
&gt; <a href="http://imgur.com/gf1Twb4" target="_blank">http://imgur.com/gf1Twb4</a><br>
&gt;<br>
&gt; If you look at the third condition where I am checking the max size of the<br>
&gt; loan, I am calling a function: $t.getStandardLimit($n).<br>
&gt;<br>
&gt; Unfortunately, I am unable to call the function inside the value cells with<br>
&gt; that syntax (drools reads it as a string and returns a syntax error). Is<br>
&gt; there a way to do this?<br>
&gt;<br>
</div></div>_______________________________________________<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></div>