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

support configuration of DmnEngine - DmnDecisionTableEvaluationEvent

    XMLWordPrintable

Details

    • Feature Request
    • Resolution: Won't Fix
    • L3 - Default
    • None
    • None
    • spring-boot
    • None

    Description

      see https://forum.camunda.org/t/is-there-a-dmn-listener-equivalent-to-the-activity-listener/3815/3

      DefaultDmnEngineConfiguration dmnEngineConfiguration = (DefaultDmnEngineConfiguration)
                    DmnEngineConfiguration.createDefaultDmnEngineConfiguration();
      
      dmnEngineConfiguration.customPostDecisionTableEvaluationListeners(Collections.singletonList(new DmnDecisionTableEvaluationListener()
          {
      
              @Override
              public void notify(DmnDecisionTableEvaluationEvent event)
              {
                  Map<String, TypedValue> inputVars = event.getInputs().stream().collect(Collectors.toMap(DmnEvaluatedInput::getName, DmnEvaluatedInput::getValue));
                  // do something
              }
          }));
      
      config.setDmnEngineConfiguration(dmnEngineConfiguration);
      

      let's support this directly so it's enough to provide Beans of that interface.

      Copied from https://github.com/camunda/camunda-bpm-spring-boot-starter/issues/263

      mgm-controller-panel

        This is the controller panel for Smart Panels app

        Attachments

          Activity

            People

              Unassigned Unassigned
              svetlana.dorokhova Svetlana Dorokhova
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Salesforce