Drl层次结构问题

时间:2015-03-17 08:51:28

标签: java drools

我们使用的层次结构如下:

PersAutoPolicyQuoteInqRq
->PersPolicy
   ->Form
     -> FormName

** drl生成就像****

@inputparameter( PersAutoPolicyQuoteInqRq$FormName$String)
    dialect "mvel"
    no-loop false
    salience -1
    when 

        $d : RuleData(agendaGroup=="PnCRule")
        persautopolicyquoteinqrq: PersAutoPolicyQuoteInqRq((persPolicy.form.formName == "Hii"))
        eval(isExecutable("New Rule-New Condition-IF",$d))

我在执行此drl时遇到错误:

[Error: unable to resolve method using strict-mode: org.acord.standards.PersAutoPolicyQuoteInqRq.persPolicy()]
[Near : {... persPolicy.form.formName ....}]
             ^
[Line: 47, Column: 2] : [Rule name='New Rule-New Condition-IF']

Unable to Analyse Expression persPolicy.form.formName == "Hii":

请有人帮我解决此问题。它没有获得层次结构

0 个答案:

没有答案