Add parameters field to report data

XMLWordPrintable

    • Type: Task
    • Resolution: Fixed
    • Priority: L3 - Default
    • 2.3.0-alpha2, 2.3.0
    • Affects Version/s: None
    • Component/s: 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

              Assignee:
              Unassigned
              Reporter:
              Sebastian Stamm
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: