Emailed me directly too... some people do nothing to help themselves.
sent on the move
On 18 Apr 2012 11:20, "Wolfgang Laun" <wolfgang.laun@gmail.com> wrote:
San,
(1) Do NOT post the same thing four times.
(2) Do NOT start with decision tables. After one month you should be
able to write a simple rule in DRL.
(3) Do NOT post questions without providing sufficient context. is
maturityAge a field of PremiumCalculatorFormBean? Why do you define
this function getMaturityAge? How is it defined?
(4) Do NOT say that there is an error unless you show sufficient
context. You do not pass "pp" to any function in the code you show -
so what's the point in saying "not able to find" etc.
(5) Use the list, do NOT email me directly. I answer the list if I
have the time.
-W
On 18/04/2012, Sangram Jethy <sangram.jy@gmail.com> wrote:
> Hi
>
> I am a student who recently working as a java developer on drools.I have
> been going thru drools over last one month.
>
> Nw I hav a couple of doubt...i am struck ....pz reply me if u cud find time
> out of yr busy schedule...
>
> I am trying to cal a local function getMaturityAge() in the decision table
> condition column like
>
> RuleTable MaturityAge Validation
> CONDITION
> ACTION
> pp:PremiumCalculatorFormBean
> getMaturityAge() > "$1"
> System.out.println("invalid maturity age");
> Premium Payment Term Print out
> message?
> 70 X
>
> The method is defined localy using functions key word.
> This is showing error in function line is ...... getMaturityAge() >
> "$1"......
> And moreover whenever I trying to pass pp as the argument to my functions,
> its not able to find pp. I am getting cud not parse knowledge error.
> Pz tel me how to make it work...
>
> Also pz suggest some extensive reading material for rules both in( ddr and
> decision table format ). I am also goin thru d documentation n Mr Paul
> Brown book. But i cudnt find more on using decision table and its syntax.
> Pz suggest me on dat.
>
>
> Tnks n Regards
>
> Sangram Jethy (San)
>
_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users