Hi 

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. 
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. 


can anyone pz help me out.

--
View this message in context: 
http://drools.46999.n3.nabble.com/Function-call-in-LHS-tp56345p3919318.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users

Reply via email to