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

Add parameters field to report data

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: L3 - Default L3 - Default
    • 2.3.0-alpha2, 2.3.0
    • None
    • backend
    • None

      AT:

      • In the report data structure of a single report, there is an additional property called data.parameters (on the same level as the view, groupby, ... properties)
      • the processPart property is removed from the data property and moved to the new parameters field)
      • processPart processing still works
      • there is a new sorting property in data.parameters.sorting, containing information about how to sort raw data reports
      • sorting raw data reports works
      • The internal structure of the parameters property is as follows:
      parameters: {
        processPart: { // or null if there is no process part
          start: 'flowNodeId1',
          end: 'flowNodeId2'
        },
        sorting: { // or null if report is not raw data or no sorting has been specified
          by: 'processDefinitionVersion', // for variable columns use the 'variable:' prefix in the name
          order: 'asc' // or 'desc'
        }
      }
      
      • if the by field contains an unknown field, the sorting is being ignored
      • existing reports are migrated to the new structure
      • the new structure is documented in the wiki

        This is the controller panel for Smart Panels app

              Unassigned Unassigned
              sebastian.stamm Sebastian Stamm
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: