<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"><<a href="mailto:wolfgang.laun@gmail.com" target="_blank">wolfgang.laun@gmail.com</a>></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 <= $param<br>
<br>
-W<br>
<div><div class="h5"><br>
On 14/08/2013, Atul Bhatia <<a href="mailto:agbhatia@gmail.com">agbhatia@gmail.com</a>> wrote:<br>
> I am looking to use drools decision tables for a project. I want to add a<br>
> condition where I verify that the value of a passed in object is less than<br>
> a specified number. I want the decision table to look something like:<br>
><br>
> <a href="http://imgur.com/gf1Twb4" target="_blank">http://imgur.com/gf1Twb4</a><br>
><br>
> If you look at the third condition where I am checking the max size of the<br>
> loan, I am calling a function: $t.getStandardLimit($n).<br>
><br>
> Unfortunately, I am unable to call the function inside the value cells with<br>
> that syntax (drools reads it as a string and returns a syntax error). Is<br>
> there a way to do this?<br>
><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>