Sort REST result in start activity dropdown
Hi,
I have a global access token where I call: https://server:port/AgilePointServer/Extension/GetAllEnabledApplications
In the workflow in a start task activitiy I configure a dropdown with a lookup source to get the result of the rest call.
But the list is unsorted. I would like to sort by process name. How can I sort the result?
-
My guess is to append a query parameter to the REST request. A quick Google search yielded these, but from a different server:
?sort_by=asc(email)
?sort_by=+email
?sort_by=email.asc
?sort_by=email&order_by=ascSo you may have to play with the database and see what values come back. Here's the list of database tables:
https://documentation.agilepoint.com/11/developer/dbWFACTIVITYINSTS.html
Hopefully someone else can take a better look and offer you a solution.
Please sign in to leave a comment.
Comments
1 comment