Uploaded image for project: 'Camunda Optimize'
  1. Camunda Optimize
  2. OPT-3751

Prevent Camunda Activity Source usage if activity event index does not exist

    XMLWordPrintable

Details

    Description

      Context:
      Currently it can happen that no camunda event data is available but users use camunda process data sources in an event based process. This leads to errors on publish as the expected activity event indices do not exist.

      The configuration of the event based process feature itself and the camunda engine event import got decoupled with OPT-3370 to save the camundaEvent import overhead if not needed as well as to support cluster environments. However this can lead to unexpected behavior when a user activates event processes but not the camundaEvent import and then tries to use camunda sources in event based processes. (Publish get's stuck, failures of missing indices are thrown)

      AT:

      • it should not be possible to include camunda event sources if there are no particular activity indices present

      Given:
      I have just enabled event based processes but not the camundaActivityEventImport

      When:
      I create a process I can select camunda processes as sources and publish the process.

      Then:
      The publishing get's stuck, the log contains errors about missing indices.

      Expected:
      I shouldn't be allowed to select camunda processes

      Hint:
      We can't rely solely on the configuration as in cluster setups the event import might be disabled for a particular instance but the data is still imported by another.

      mgm-controller-panel

        This is the controller panel for Smart Panels app

        Attachments

          Issue Links

            Activity

              People

                Unassigned Unassigned
                sebastian.bathke Sebastian Bathke
                Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Salesforce