We couldn't load all Actvitity tabs. Refresh the page to try again.
If the problem persists, contact your Jira admin.
Uploaded image for project: 'camunda BPM'
  1. camunda BPM
  2. CAM-10466

Impossible to use Proxy of DmnDecision in evaluateDecisionTable

    • Icon: Bug Report Bug Report
    • Resolution: Won't Fix
    • Icon: L3 - Default L3 - Default
    • None
    • None
    • dmn-engine
    • 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

        This is the controller panel for Smart Panels app

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

            Impossible to use Proxy of DmnDecision in evaluateDecisionTable

              • Icon: Bug Report Bug Report
              • Resolution: Won't Fix
              • Icon: L3 - Default L3 - Default
              • None
              • None
              • dmn-engine
              • 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

                  This is the controller panel for Smart Panels app

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

                          Created:
                          Updated:
                          Resolved:

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

                                Created:
                                Updated:
                                Resolved: