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

Global process application event execution listener is not invoked on start and end of a process instance

    Details

      Description

      Steps to reproduce:
      1) create a process application, whereby ProcessApplicationInterface#getExecutionListeners() returns at least one global process application execution listener
      2) start a process instance
      3) complete the process instance (or cancel the process instance)

      Problem:

      • The returned global process application execution listener is not invoked on process instance start.
      • The returned global process application execution listener is not invoked on process instance end.

      Hint:
      The ProcessApplicationEventListenerDelegate is not added as start and end listener for the process, see https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/application/impl/event/ProcessApplicationEventParseListener.java#L69-L71

      Workaround:
      https://github.com/ThorbenLindhauer/CAM-5552-workaround

        Issue Links

          Activity

          roman.smirnov Smirnov Roman created issue -
          roman.smirnov Smirnov Roman made changes -
          Field Original Value New Value
          Description *Steps to reproduce:*
          1) create a process application, whereby {{ProcessApplicationInterface#getExecutionListeners()}} returns at least one global process application execution listener
          2) start a process instance
          3) complete the process instance (or cancel the process instance)

          *Problem:*
          - The returned global process application execution listener is not invoked on process instance start.
          - The returned global process application execution listener is not invoked on process instance end.

          *Hint:*
          The {{ProcessApplicationEventListenerDelegate}} is not added as start and end listener for process, see https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/application/impl/event/ProcessApplicationEventParseListener.java#L69-L71
          *Steps to reproduce:*
          1) create a process application, whereby {{ProcessApplicationInterface#getExecutionListeners()}} returns at least one global process application execution listener
          2) start a process instance
          3) complete the process instance (or cancel the process instance)

          *Problem:*
          - The returned global process application execution listener is not invoked on process instance start.
          - The returned global process application execution listener is not invoked on process instance end.

          *Hint:*
          The {{ProcessApplicationEventListenerDelegate}} is not added as start and end listener for the process, see https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/application/impl/event/ProcessApplicationEventParseListener.java#L69-L71
          roman.smirnov Smirnov Roman made changes -
          Link This issue is depended on by SUPPORT-2165 [ SUPPORT-2165 ]
          roman.smirnov Smirnov Roman made changes -
          Link This issue is related to CAM-5574 [ CAM-5574 ]
          thorben.lindhauer Thorben Lindhauer made changes -
          Labels SUPPORT EasyPick SUPPORT
          matthijs.burke Matthijs Burke made changes -
          Link This issue is depended on by SUPPORT-2218 [ SUPPORT-2218 ]
          matthijs.burke Matthijs Burke made changes -
          Fix Version/s 7.4.x [ 14196 ]
          Fix Version/s 7.5.x [ 14200 ]
          matthijs.burke Matthijs Burke made changes -
          Fix Version/s 7.3.x [ 14197 ]
          Fix Version/s 7.2.x [ 14198 ]
          thorben.lindhauer Thorben Lindhauer made changes -
          Description *Steps to reproduce:*
          1) create a process application, whereby {{ProcessApplicationInterface#getExecutionListeners()}} returns at least one global process application execution listener
          2) start a process instance
          3) complete the process instance (or cancel the process instance)

          *Problem:*
          - The returned global process application execution listener is not invoked on process instance start.
          - The returned global process application execution listener is not invoked on process instance end.

          *Hint:*
          The {{ProcessApplicationEventListenerDelegate}} is not added as start and end listener for the process, see https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/application/impl/event/ProcessApplicationEventParseListener.java#L69-L71
          *Steps to reproduce:*
          1) create a process application, whereby {{ProcessApplicationInterface#getExecutionListeners()}} returns at least one global process application execution listener
          2) start a process instance
          3) complete the process instance (or cancel the process instance)

          *Problem:*
          - The returned global process application execution listener is not invoked on process instance start.
          - The returned global process application execution listener is not invoked on process instance end.

          *Hint:*
          The {{ProcessApplicationEventListenerDelegate}} is not added as start and end listener for the process, see https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/application/impl/event/ProcessApplicationEventParseListener.java#L69-L71

          *Workaround:*
          https://github.com/ThorbenLindhauer/CAM-5552-workaround
          meyer Daniel Meyer made changes -
          Assignee Deivarayan Azhagappan [ deivarayan.azhagappan ]
          meyer Daniel Meyer made changes -
          Fix Version/s 7.5.x [ 14200 ]
          meyer Daniel Meyer made changes -
          Fix Version/s 7.5.x [ 14200 ]
          meyer Daniel Meyer made changes -
          Assignee Deivarayan Azhagappan [ deivarayan.azhagappan ]
          meyer Daniel Meyer made changes -
          Assignee Christopher Zell [ christopher.zell ]
          meyer Daniel Meyer made changes -
          Assignee Christopher Zell [ christopher.zell ] Deivarayan Azhagappan [ deivarayan.azhagappan ]
          meyer Daniel Meyer made changes -
          Fix Version/s 7.5.0 [ 14091 ]
          Fix Version/s 7.5.x [ 14200 ]
          deivarayan.azhagappan Deivarayan Azhagappan made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          deivarayan.azhagappan Deivarayan Azhagappan made changes -
          Fix Version/s 7.3.6 [ 14292 ]
          Fix Version/s 7.2.9 [ 14294 ]
          Fix Version/s 7.4.6 [ 14590 ]
          Fix Version/s 7.4.x [ 14196 ]
          Fix Version/s 7.3.x [ 14197 ]
          Fix Version/s 7.2.x [ 14198 ]
          deivarayan.azhagappan Deivarayan Azhagappan made changes -
          Status In Progress [ 3 ] Resolved [ 5 ]
          Original Estimate 0 minutes [ 0 ]
          Remaining Estimate 0 minutes [ 0 ]
          Assignee Deivarayan Azhagappan [ deivarayan.azhagappan ] Smirnov Roman [ roman.smirnov ]
          Resolution Fixed [ 1 ]
          roman.smirnov Smirnov Roman made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          meyer Daniel Meyer made changes -
          Fix Version/s 7.5.0-alpha4 [ 14593 ]
          thorben.lindhauer Thorben Lindhauer made changes -
          Workflow camunda BPM [ 37820 ] Backup_camunda BPM [ 61237 ]

            People

            • Assignee:
              roman.smirnov Smirnov Roman
              Reporter:
              roman.smirnov Smirnov Roman
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development