Hi,
Is there any way to display latest task as top most record of task list? As all Id. fields such as taskId, executionId and processInstanceId is VARCHAR type in database, TaskQuery.orderByxxxId() is not functioning properly. Please see the attached image, it is order by taskId in descending order, you can see that the result is incorrect.
As all Id. fields are display numeric value, why not using Long instead of String? To ensure it is unique in Clustering/Cloud environment?
Please advice.
Regards,
Chee Kin