In the Paging and sorting section of the REST API docs the paging and order parameters are introduced. It also mentions that the sort parameter is ‘different per query implementation’.
The documentation for GET runtime/tasks does not include a description of the sort parameter, for example:
Parameter Required Value Description
sort No String Sort field, should be createTime used together with order ('asc' | 'desc') or ???
These examples work as expected:
curl -i 'http://admin:test@localhost:8080/flowable-task/process-api/runtime/tasks?sort=createTime&order=asc'
curl -i 'http://admin:test@localhost:8080/flowable-task/process-api/runtime/tasks?sort=createTime&order=desc'
curl -i 'http://admin:test@localhost:8080/flowable-task/process-api/runtime/tasks?sort=name&order=asc'
curl -i 'http://admin:test@localhost:8080/flowable-task/process-api/runtime/tasks?sort=name&order=desc'
Additionally, the Flowable OpenAPI (Swagger) docs for GET runtime/tasks do not include a description of the sort parameter.