Details

    • Sub-task
    • Resolution: Fixed
    • L3 - Default
    • 3.2.0
    • None
    • backend
    • None
    • Not defined

    Description

      Saved Raw data reports should be paginateable by the backend. We should accept pagination parameters which get applied and the returned data should be considered a page. The pagination should be done in ES for performance gain.

      Agreed API:

      Query params: limit, offset

      Response change:

      result: {
            paginationData: {
              offset: 0,
              limit: 20,
            }
            data: [
              {
                processDefinitionId: '...',
                // ...other properties of the process instances
                variables : {
                  name1 : 'value1',
                  name2 : 'value2',
                  // ... other variables names with there values
                  // every variables entry should contain all occurred
                  // variable names. If the variable name did not exist
                  // in the process instance, the value is empty.
                }
              }
            ],
            isComplete: true // false if the result data is truncated due exceeding length limit
            instanceCount: 1234,
            instanceCountWithoutFilters: 1300,
            type: 'raw'
          }
      

      ATs:

      • We paginate the raw decision/process data according to provided limit and offset parameters
      • If the parameters are missing, we should apply the default values of offset 0 and limit 20. The pagination values applied should be part of the response
      • API documentation is updated

      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:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Salesforce