Uploaded image for project: 'Camunda Optimize'
  1. Camunda Optimize
  2. OPT-5928 Assign Process Owner
  3. OPT-5999

Make GET process goal list endpoint sortable by owner

    XMLWordPrintable

Details

    • Sub-task
    • Resolution: Done
    • L3 - Default
    • 3.8.0
    • None
    • None
    • Not defined

    Description

      Currently, our api is only sortable by name since we have to values for the owner. We need to extend this after the owner property is being returned correctly so that the sortability can be applied to both name and owner. We also need to include both the ID and the name of the owner in the response from now

      GET /api/process/goals/
      

      *Parameters: *

        SortBy: 'owner', // or name
        sortOrder: 'asc' //desc
      

      Response body:

      [
          {
            "processDefinitionKey" : "..."
            "processName" : "...",
            "durationGoals": {},
            "owner": { "id": "someId", "name": "someName" } // can be null
          }
          ...
      ]
      

      AT:

      • The endpoint for returning the processes along with their goals offers the possibility to sort by the owner AND the name
      • API Docs are updated

      mgm-controller-panel

        This is the controller panel for Smart Panels app

        Attachments

          Activity

            People

              Unassigned Unassigned
              andromachi.rozaki Andromachi Rozaki
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Salesforce