jetlinks/rule-engine

ExecutionContext发送事件方法获取的RuleConfiguration为空

Closed this issue · 0 comments

    //规则自定义配置
    data.setHeader(RuleConstants.Headers.ruleConfiguration, getJob().getRuleConfiguration());

这段代码获取的是model.getConfiguration,而RuleModel并没有设置Configuration,导致header里ruleConf为空。