As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
taskService.createTaskQuery().taskAssignee(userId).orderByProcessInstanceId().asc()
What is the exact need for you to order it by process-instance ID? Process-start Timing?
You can alter the value of "next.dbid" in ACT_GE_PROPERTY after the engine is initialized and shut down. The next time the engine boots, the ID's will start from there…
Can't you use the task-create-time?
My Customer wants the list of tasks sorted by process creation time, so I've to respect its wishes.