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

Execution listener is executed more than once if it triggers execution tree compaction/expansion

    Details

    • Type: Bug Report
    • Status: Closed
    • Priority: L3 - Default
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.6.0, 7.5.3, 7.6.0-alpha3
    • Component/s: engine
    • Labels:

      Description

      Problem description:
      An execution listener is executed multiple times when the delegation code triggers execution tree expansion/compaction. For example, when a service task sends a BPMN message to a boundary event of a user task in the another concurrent execution. This ends the other concurrent execution and triggers execution tree compaction.

      Reason:

      • Executions have a property listenerIndex that stores which listeners have already been invoked. If the current execution is replaced by another execution, this index is not passed over, so the listener invocations in the context of the replacing execution start at 0 again.

        Activity

          People

          • Assignee:
            thorben.lindhauer Thorben Lindhauer
            Reporter:
            deivarayan.azhagappan Deivarayan Azhagappan
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development