AnsweredAssumed Answered

Lastest task at the top of task list (sort by descending)

Question asked by limcheekin on Oct 2, 2010
Latest reply on Nov 9, 2010 by jbarrez
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

Attachments

Outcomes