Uploaded image for project: 'camunda BPM'
  1. camunda BPM
  2. CAM-10466

Impossible to use Proxy of DmnDecision in evaluateDecisionTable

    XMLWordPrintable

Details

    • Bug Report
    • Resolution: Won't Fix
    • L3 - Default
    • None
    • None
    • dmn-engine
    • None

    Description

      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

      mgm-controller-panel

        This is the controller panel for Smart Panels app

        Attachments

          Activity

            People

              thorben.lindhauer Thorben Lindhauer
              metalpalo metalpalo
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Salesforce