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

Delete cascade of scope activities triggers execution listeners with wrong executions

XMLWordPrintable

      Confer the logic in https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/pvm/runtime/operation/PvmAtomicOperationDeleteCascadeFireActivityEnd.java#L77

      The parent activity of the current activity is always set on the parent execution. However, the parent execution is not necessarily the scope execution of the parent activity.

      For example, in a subprocess with concurrent scope activities, the parent execution is a concurrent execution while the grandparent execution is the actual scope execution that should be used to invoke listeners.

        This is the controller panel for Smart Panels app

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

                Created:
                Updated:
                Resolved: