[rules-users] Drools decision tables — calling functions inside value cells
Atul Bhatia
agbhatia at gmail.com
Wed Aug 14 01:41:48 EDT 2013
Whoops, yes that worked. Thanks!
On Tue, Aug 13, 2013 at 10:23 PM, Wolfgang Laun <wolfgang.laun at gmail.com>wrote:
> You might try to write the condition as
> loanAmount <= $param
>
> -W
>
> On 14/08/2013, Atul Bhatia <agbhatia at gmail.com> wrote:
> > I am looking to use drools decision tables for a project. I want to add a
> > condition where I verify that the value of a passed in object is less
> than
> > a specified number. I want the decision table to look something like:
> >
> > http://imgur.com/gf1Twb4
> >
> > If you look at the third condition where I am checking the max size of
> the
> > loan, I am calling a function: $t.getStandardLimit($n).
> >
> > Unfortunately, I am unable to call the function inside the value cells
> with
> > that syntax (drools reads it as a string and returns a syntax error). Is
> > there a way to do this?
> >
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20130813/89205905/attachment.html
More information about the rules-users
mailing list