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

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

      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.

        This is the controller panel for Smart Panels app

            [OPT-3751] Prevent Camunda Activity Source usage if activity event index does not exist

            Sebastian Bathke created issue -
            Sebastian Bathke made changes -
            Summary Original: Prevent Camunda Activity Source usage if `eventImportEnabled` is not enabled New: Prevent Camunda Activity Source usage if activity event index does not exist
            Sebastian Bathke made changes -
            Effort Original: Not defined [ 11259 ] New: M [ 11255 ]
            Sebastian Bathke made changes -
            Labels Original: potential_for_3.2 New: potential_for_3.2 potential_for_next_quarter
            Sebastian Bathke made changes -
            Labels Original: potential_for_3.2 potential_for_next_quarter New: potential_for_3.2 potential_for_next_quarter should_have
            Sebastian Bathke made changes -
            Labels Original: potential_for_3.2 potential_for_next_quarter should_have New: must_have potential_for_3.2 potential_for_next_quarter
            Felix Mueller made changes -
            Status Original: Open [ 1 ] New: Scheduled [ 10912 ]
            Johannes made changes -
            Optimize PM Priority New: Ranked higher
            Sebastian Bathke made changes -
            Fix Version/s New: 3.2.0 [ 16198 ]
            Johannes made changes -
            Labels Original: must_have potential_for_3.2 potential_for_next_quarter New: must_have potential_for_3.2

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

                Created:
                Updated:
                Resolved: