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.