# Search criteria for filtering

**URL:** <https://forum.flowable.org/t/search-criteria-for-filtering/5586>\
**Category:** Uncategorized\
**Created:** [March 9, 2020, 6:10am UTC](https://forum.flowable.org/t/search-criteria-for-filtering/5586 "2020-03-09T06:10:25Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![prs.parisa](https://avatars.discourse-cdn.com/v4/letter/p/5e9695/32.png) [@prs.parisa](https://forum.flowable.org/u/prs.parisa)\
**Post date:** [March 9, 2020, 6:10am UTC](https://forum.flowable.org/t/search-criteria-for-filtering/5586/1 "2020-03-09T06:10:25Z")

</div>

Hi

While there are different kinds of queries in flowable which give lists of results for example list of tasks, process instances, process definitions and etc, is there any way to filter and paginate these results using criteria?

---

<div class="post-metadata">

**Author:** ![joram](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.flowable.org/joram/32/26_2.png) [@joram](https://forum.flowable.org/u/joram)\
**Post date:** [March 14, 2020, 2:28pm UTC](https://forum.flowable.org/t/search-criteria-for-filtering/5586/2 "2020-03-14T14:28:43Z")

</div>

Yes. Have a look for example at the query for tasks: [https://github.com/flowable/flowable-engine/blob/master/modules/flowable-task-service-api/src/main/java/org/flowable/task/api/TaskInfoQuery.java](https://github.com/flowable/flowable-engine/blob/master/modules/flowable-task-service-api/src/main/java/org/flowable/task/api/TaskInfoQuery.java)

Each entity type (task, process definition/instance, etc.) have this kind of query.
