RuleBaseTask failed: [Error: unable to resolve method using strict-mode:

This is the error I am getting while compiling drl file.
I am calling a method in the when clause.

The same code works fine in eclipse. Error is when I am compiling using ant
script.
Eclipse is doing some settings, that even I got to do in ant script.

I am using drools 5.5.0 and eclipse indigo.

Code :
function String updateQuery(Query querie, AOCCRuleKnobConfig
aoccRuleKnobConfig, String advPgmExclude, Logger log){

}

rule "ExecuteQuery"
    //include attributes such as "salience" here...
    no-loop true
    salience 9   
    when
        //conditions        
        $aoccRuleKnobConfig : AOCCRuleKnobConfig($commissionThreshold :
commissionThreshold)
        $query : Query(name == "Account-Eligibility-Criteria" , $statement :
statement)
        Query(name == "AdvisoryProgramExclusion" , $advPgmExclude :
statement)       
        $order : Order() from
hibernateSession.createSQLQuery(updateQuery($query, $aoccRuleKnobConfig,
$advPgmExclude, log))
                                                
.addScalar("id",LongType.INSTANCE)
                                                .addScalar("totalCommission", 
BigDecimalType.INSTANCE)
                                        
.setResultTransformer(Transformers.aliasToBean(com.nph.radar.rule.operands.Order.class)).list();
                                                                
    then
        
end

Please do help me with this.




--
View this message in context: 
http://drools.46999.n3.nabble.com/unable-to-resolve-method-using-strict-mode-tp4025571.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
_______________________________________________
rules-users mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/rules-users

Reply via email to