Hi All
i have the same issue on sorting while using pagination, specifically sorting by id.
I tested it in all task, process instances and deployment queries. If i understand it correctly the id's in activiti are set as strings and sorting based on id gives improper results. Is there any reason why there is no check on <java> orderby***Id </java> methods to make sure that string is cast in to long or int before sorting then? i believe that would solve the issue.
is there any currently available way to resolve this?
- i did not include<java>includeProcessInstanceVariables </java> in my queries
- i am using activiti 5.19.0.1
Thank you