cancel
Showing results for 
Search instead for 
Did you mean: 

Sorting and pagination by process variables

prashant_pendka
Champ in-the-making
Champ in-the-making
I have a process with tasks assigned with process variable as "orderid", "orderName", "quantity"

Requirement:
I want the result with paginated tasks sorted by process variable ordername and quantity.

1 REPLY 1

gdharley
Elite Collaborator
Elite Collaborator

Use the TaskService.createTaskQuery() to generate your list, but you will need to iterate over this list to sort by specific process variables.

Greg