Uploaded image for project: 'camunda BPM'
  1. camunda BPM
  2. CAM-7735

When using the incident rest api I can sort the historic incidents by incident state

    Details

    • Type: Feature Request
    • Status: Closed
    • Priority: L3 - Default
    • Resolution: Fixed
    • Affects Version/s: 7.5.x, 7.6.x
    • Fix Version/s: 7.7.0, 7.7.0-alpha2
    • Component/s: engine
    • Labels:

      Description

      AT:

      • when:
        • I as a user want to retrieve the historic incidents (see here)
        • and sort them by incident state (open, deleted, resolved)
      • then
        • I get a list of historic incidents sorted by the state

        Issue Links

          Activity

          Hide
          roman.smirnov Smirnov Roman added a comment -

          In case of

          historyService.createHistoricIncidentQuery().orderByIncidentState().asc().list()
          

          the result set will first contain all open, then resolved and then deleted historic incidents. If desc() is used instead of asc(), then the result is ordered in the other direction.

          Show
          roman.smirnov Smirnov Roman added a comment - In case of historyService.createHistoricIncidentQuery().orderByIncidentState().asc().list() the result set will first contain all open , then resolved and then deleted historic incidents. If desc() is used instead of asc() , then the result is ordered in the other direction.

            People

            • Assignee:
              roman.smirnov Smirnov Roman
              Reporter:
              johannes.heinemann Johannes Heinemann
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development