AnsweredAssumed Answered

How listPage(min, max) exactly works?

Question asked by javadeveloper626 on Feb 9, 2017
Latest reply on Feb 9, 2017 by gdharley

Is anyone has idea about listPage(min,max) how exactly it works. 

repositoryService.createProcessDefinitionQuery().orderByDeploymentId().desc().listPage(0,10).

When I am using above query getting 10 records in descending order but not from all available records.

Please let me know if I am doing anything wrong in above query or listPage will work in this manner only.

Outcomes