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

Too many execution listener invocations on terminate end event

XMLWordPrintable

      Setting:
      A simple process start event -> task -> terminate end event + execution listener on the terminate end event.

      Current behavior:
      Execution listener is invoked twice with the event "end" and more specifically in the order "end" -> "start" -> "end".

      Expected behavior:
      The execution listener invocation order "start" -> "end" for a listener defined on the terminate end event.

      Hints:
      There appears to be a problem that AtomicOperationTransitionNotifyListenerTake triggers scope cancellation (cf. line 71) if the following activity is a scope cancelling one, leading to the first "end" event invocation. However, the end event is then regularly executed such that the listener is invoked again with "start" and "end" events.

      See failing test case: https://github.com/camunda/camunda-bpm-platform/commit/515581aa84377aabeaaf4aa9750f76841f7484cf
      Forum discussion: https://groups.google.com/forum/#!topic/camunda-bpm-users/nFlmxFaKngM

        This is the controller panel for Smart Panels app

              Unassigned Unassigned
              thorben.lindhauer Thorben Lindhauer
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: