Thanks roxy !
My question was more about where did database-side pagination go (in the previous versions of jBPM this was possible using the 2 parameters int firstResult, int maxResult).
I have the impression that now, if we have a huge inbox (or tasks assigned for the current user) we need to retrieve all the tasks from the database.
For now, I don't have any problem with that (just evaluating jBPM), but I want to know the best way to handle database pagination for these tasks when the need arise (I could call the deprecated method or the deprecated query method - but they are deprecated, so perhaps not the best solution ;( ).