Uploaded image for project: 'Camunda Optimize'
  1. Camunda Optimize
  2. OPT-6465

"Version Latest" configuration on a report "Flownode duration" or "Flownode count" doesn't work as expected

    • Icon: Bug Report Bug Report
    • Resolution: Unresolved
    • Icon: L3 - Default L3 - Default
    • None
    • None
    • None
    • None
    • Not defined

      What is the problem ?

      Heatmap report does not always automatically respect latest version of updated BPMN model:
      When deploying an updated version of a definition, the heatmap BPMN for a "version:latest" report is not automatically updated in the report view mode. Instead, it is still showing v1 of the BPMN model instead of the latest v2 of the model. It is being updated correctly in the preview of the definition selection. If you change the version selection to sth else and then back to lastest, the bpmn is also displayed correctly in the report view mode.

      Prerequisites:

      • A test model was deployed

      Steps to reproduce:

      • Create a heatmap report on the deployed test process, configuring "Version latest" for the report definition source
      • Alter the test process model in some way, eg adding a flownode, and deploy it as version 2 of this same process
      • Wait until Optimize has imported the new data
      • Refresh the heatmap report

      Actual result:

      The heatmap in the report still displays the BPMN of version 1 of the process instead of the updated version 2, despite the report being configured to analyse the "latest" version.
      If the user edits the version selection, eg manually selecting a specific version, and then swtiches back to "latest", the heatmap is updated correctly.

      Expected result:

      The heatmap in a "version: latest" report should always automatically update to the latest BPMN of the respective process.

        This is the controller panel for Smart Panels app

          1. attach1.png
            attach1.png
            305 kB
          2. attach2.png
            attach2.png
            989 kB
          3. callMultiplePolicyRequests.bpmn
            3 kB
          4. carPolicyRequest-final.bpmn
            13 kB
          5. carPolicyRequestProcess-init.bpmn
            7 kB
          6. image (1).png
            image (1).png
            1.14 MB
          7. image (2).png
            image (2).png
            827 kB
          8. Screen Recording 2023-01-20 at 11.04.44.mov
            23.70 MB
          9. Screenshot 2022-09-26 at 08.50.43.png
            Screenshot 2022-09-26 at 08.50.43.png
            117 kB

            [OPT-6465] "Version Latest" configuration on a report "Flownode duration" or "Flownode count" doesn't work as expected

            Enrico Curiotto created issue -
            Joshua Windels made changes -
            Assignee New: Cigdem Ilhan [ cigdem.ilhan ]
            Cigdem Ilhan made changes -
            Attachment New: image-2022-09-26-08-51-03-889.png [ 54931 ]
            Cigdem Ilhan made changes -
            Attachment Original: image-2022-09-26-08-51-03-889.png [ 54931 ]
            Cigdem Ilhan made changes -
            Attachment New: Screenshot 2022-09-26 at 08.50.43.png [ 54932 ]
            Cigdem Ilhan made changes -
            Status Original: Triage [ 10612 ] New: Rejected [ 10916 ]
            Jana Eschwaltrup made changes -
            Attachment New: carPolicyRequest-final.bpmn [ 57834 ]
            Jana Eschwaltrup made changes -
            Attachment New: callMultiplePolicyRequests.bpmn [ 57835 ]
            Attachment New: carPolicyRequestProcess-init.bpmn [ 57836 ]
            Jana Eschwaltrup made changes -
            Cigdem Ilhan made changes -
            Attachment New: image (1).png [ 57841 ]
            Attachment New: image (2).png [ 57842 ]
            Cigdem Ilhan made changes -
            Description Original: h2. "Version Latest" configuration on a report "Flownode duration" or "Flownode count" doesn't work as expected
            h2. Steps to reproduce:
             * deploy a process in c8 SAAS
             * run a couple of instances
             * on Optimize create a report "flownode count" on that process choosing the option "Version latest"
             * create a dashboard and associate the newly created report
             * the dashboard show the heatmap data as expected
             * update the process to a new version v2
             * start another couple of instances with v2
             * Refresh the dashboard: it still displays a v1 diagram without Heatmap

            h3. Actual result:
             * Check the dashboard: it displays the v1 version diagram without Heatmap (see attachment1)

            h3. Expected result:

            The dashboard should display the v2 data including the heatmap

             

            In order to fix it I need to update the version manually to "Specific version" 2. Once this is done the heatmap is shown again. I can then switch back to "Always display latest" and the heatmap is still there. (second attachment2)
            New: h4. What is the problem ?

            Second version of the process doesn't work as expected on Heatmap report with "Flownode duration" or "Flownode count"

            *Steps to reproduce:*
             * deploy a process in c8 SAAS
             * run a couple of instances
             * on Optimize create a "flownode count" or flownode duration heatmap report on that process choosing the option "Version latest"
             * Heatmap report should work as expected
             * Deploy the v2 of the same process
             * start another couple of instances with v2
             * Refresh the heatmap report

            h3. Actual result:
             * Heatmap report is broken and doesn't show the updated version of the process.

            h3. Expected result:

            Heatmap report should show the v2 of the process.

             

            P.S: when the user select the v2 of the process from the edit mode, heatmap report works as expected. 
            Reporter Original: Enrico Curiotto [ enrico.curiotto ] New: Cigdem Ilhan [ cigdem.ilhan ]
            Affects Version/s Original: 3.8.5 [ 17795 ]

              helene.waechtler Helene Waechtler
              cigdem.ilhan Cigdem Ilhan
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

                Created:
                Updated: