Uploaded image for project: 'Camunda Optimize'
  1. Camunda Optimize
  2. OPT-2466 Show relative value for combined reports
  3. OPT-3787

Return the total instance count as part of the evaluation response

    XMLWordPrintable

    Details

    • Type: Sub-task
    • Status: Done
    • Priority: L3 - Default
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.1.0
    • Component/s: backend
    • Labels:
    • Effort:
      Not defined

      Description

      When we evaluate combined number reports, we need to return the total instance counts as part of the response. Note that the total instance count is not a sum of the counts of each report evaluation, as the instances can exist in multiple source reports. Rather it will require another ES request based on the report contexts to get the total count. This value is used to display the relative values in the UI.

      The API can be adjusted as below:

      result: {
             data: {
               "reportId1": {
                   // report structure of a single report
               },
               "reportId2": {
                   // report structure of a single report
               },
               ...
             },
            type: null,
            instanceCount: 1000, // new field
          }
      }

      AT:

      • The API returns the accurate total instance count for evaluation of instance count combined reports
      • API documentation is updated

        mgm-controller-panel

        This is the controller panel for Smart Panels app

          Attachments

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved:

                  Salesforce