AnsweredAssumed Answered

WorkflowService and SortOrder

Question asked by vincent-kali on Nov 2, 2017
Latest reply on Nov 2, 2017 by vincent-kali

Dear all,

I'm using the WorkflowService JAVA API to write a web service that returns a list of workflow instances matching a set of criterias. The response is displayed in an aikau page using traditional paginated list components.

I note that WorkflowService has a method "getWorflows" accepting 'maxItems' and 'skipCount' as parameters for pagination, but no 'sortBy' criteria (how to build a paginated list without being able to sort the results ?).

My questions:

- What is the default sortOrder internally used by  'getWorflows' method ?

- Is there any way to change this sortOrder using public API ?


Thanks !