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

Change raw data report structure to have count columns grouped together

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: L3 - Default L3 - Default
    • 3.11.0-alpha4, 3.11.0
    • None
    • backend
    • None
    • Not defined

      Context:

      We want to group count related columns in the raw data report response into counts object so they can be later used on the FE to display them as a group the same way we do now for variables and flowNodeDurations.

      AT:

      change the raw data report api response from :
      {{{}}
          "processDefinitionKey": "AnalysisTestingProcess",

          ...
          "numberOfIncidents": 0,
          "numberOfOpenIncidents": 0,
          "numberOfUserTasks": 1,

          "flowNodeDurations": {
              "AE0010G0020": {
                  "name": null,
                  "value": 0
              },

              ...
          },
          "variables": {
              "boolVar": "false",
              ....
      {{    }}}
      }

      to :

      {{{}}
          "processDefinitionKey": "AnalysisTestingProcess",

          ...

      {{    "counts": {
              }}"incidents": 0,

              "openIncidents": 0,
              "userTasks": 1,

          "flowNodeDurations": {
              "AE0010G0020": {
                  "name": null,
                  "value": 0
              },

              ...
          },
          "variables": {
              "boolVar": "false",
              ....
      {{    }}}
      }

        This is the controller panel for Smart Panels app

              Unassigned Unassigned
              michal.konopski Michal Konopski
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: