-
Bug Report
-
Resolution: Won't Fix
-
L3 - Default
-
None
-
None
-
None
Hi All,
I use newest version of camunda-engine-dmn, concretely 7.11.0.
My problem is that I'm not possible put proxy object of DmnDecision to following method:
dmnEngine.evaluateDecisionTable
Here is one check avoiding me continue:
if (decision instanceof DmnDecisionImpl && decision.isDecisionTable()) {
and I have got following error:
_Resolved [org.camunda.bpm.dmn.engine.DmnEngineException: DMN-01013 The decision 'DmnDecisionTableImpl...is not implemented as decision table. _
I define DmnDecision and DmnEngine as spring beans, where DmnDecision should be refreshable via @RefreshScope
He is chunk of my configuration:
@Bean
public DmnEngine dmnEngine() {
return DmnEngineConfiguration.createDefaultDmnEngineConfiguration().buildEngine();
}
@Bean
@RefreshScope
public DmnDecision myDecision(final DmnEngine dmnEngine) throws IOException {
return dmnEngine.parseDecision("decision", applicationContext.getResource("pathToDmnFile").getInputStream());
}
My question: Is necessary to have such check in mentioned method?
thanks