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

Redundant calls to fetch valid variables on dashboard filters

    XMLWordPrintable

Details

    • Bug Report
    • Resolution: Fixed
    • L3 - Default
    • 3.10.0-alpha1, 3.10.0
    • None
    • backend
    • None
    • Not defined

    Description

      Brief summary of the bug. What is it ? Where is it ?

      When a dashboard filter is present, Optimize will always fetch the available variables (an expensive request) when blending the filters from the dashboard and contained reports, regardless of whether or not a variable filter is present.

      In the worst case scenario, this expensive additional request for every report on the dashboard causes the reports to fail to load in time.

      Steps to reproduce:

      1. Have a process with many variables

      2. Create a dashboard with a dashboard filter (non-variable) and many reports for that process

      3. Observe the slow and possible failing response times

      Actual result:

      The reports don't evaluate in a timely manner, or at all

       

      Testing Notes:

      • Might not be possible, but we need to create a dashboard with a date dashboard filter, and the underlying reports to be based on processes with lots of variables. The expected outcome would be reports that are able to load

        Expected result:

      The reports can be evaluated as expected, as the call to fetch the variables is not executed when no variable filter is applied

      mgm-controller-panel

        This is the controller panel for Smart Panels app

        Attachments

          Activity

            People

              Unassigned Unassigned
              joshua.windels Joshua Windels
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Salesforce