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

Cockpit does not display asyncBefore multi instance body incidents in diagram

      Impact:

      • it is impossible to cancel the respective transition instance (aka job) via process instance modification in the UI (see snippet.png)

      Notes:

      • please also test that it works in the case that the incident is on a concurrent branch, as in snippet2.png

        This is the controller panel for Smart Panels app

          1. snippet.png
            snippet.png
            33 kB
          2. snippet2.PNG
            snippet2.PNG
            13 kB
          3. test-app.zip
            22 kB

            [CAM-4257] Cockpit does not display asyncBefore multi instance body incidents in diagram

            Attached a process application for reproducing the problem

            Thorben Lindhauer added a comment - Attached a process application for reproducing the problem

            Open issues:

            1) Cannot deselect "#multiInstanceBody":

            • Start for example an instance of the process shown in "snippet2.png" (so that it fails)
            • got to "Runtime Process Instance" view in cockpit
            • select the task "fails"
            • try to deselect task by pressing "CTRL" and click on task "fails"

            Problem:
            the task is still is selected and the number of selected activity instances is decremented

            Expected:
            the task is deselected

            2) Incident is not shown (in "Runtime Process Definition" view):

            • start for example an instance of the process shown in "snippet2.png" -> an incident exists
            • start another instance of the same process, but this should not fail
            • got to "Runtime Process Definition" view in cockpit

            Problem:
            on the diagram the incident badge is not visible and the activity instances count is equals 1

            Expected:
            the incident badge is shown and the activity instances count is equals 2

            3) Activity instance count is not correct (in "Runtime Process Instance" view):

            • start for example an instance of the process shown in "snippet2.png" -> an incident exists
            • use the modification feature and start before the task "fails" a task instance

            Problem:
            on the diagram the activity instances count is equals 1

            Expected:
            the activity instances count is equals 2

            Roman Smirnov added a comment - Open issues: 1) Cannot deselect "#multiInstanceBody": Start for example an instance of the process shown in "snippet2.png" (so that it fails) got to "Runtime Process Instance" view in cockpit select the task "fails" try to deselect task by pressing "CTRL" and click on task "fails" Problem: the task is still is selected and the number of selected activity instances is decremented Expected: the task is deselected 2) Incident is not shown (in "Runtime Process Definition" view): start for example an instance of the process shown in "snippet2.png" -> an incident exists start another instance of the same process, but this should not fail got to "Runtime Process Definition" view in cockpit Problem: on the diagram the incident badge is not visible and the activity instances count is equals 1 Expected: the incident badge is shown and the activity instances count is equals 2 3) Activity instance count is not correct (in "Runtime Process Instance" view): start for example an instance of the process shown in "snippet2.png" -> an incident exists use the modification feature and start before the task "fails" a task instance Problem: on the diagram the activity instances count is equals 1 Expected: the activity instances count is equals 2

            Sebastian Stamm added a comment - https://github.com/camunda/camunda-cockpit-ui/commit/0bdeb8c1703b6afe85b50c5a70812c099ba31b79 https://github.com/camunda/camunda-bpm-webapp/commit/bb085faeab78d3b6f075f336ae1bdbac3ee6c6ce

              michael.schoettes Michael Schoettes
              thorben.lindhauer Thorben Lindhauer
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: