# API to fetch Tasks from Task Table

**URL:** <https://forum.flowable.org/t/api-to-fetch-tasks-from-task-table/9414>\
**Category:** Flowable Engine\
**Created:** [June 3, 2022, 4:48am UTC](https://forum.flowable.org/t/api-to-fetch-tasks-from-task-table/9414 "2022-06-03T04:48:40Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mahima](https://avatars.discourse-cdn.com/v4/letter/m/ee7513/32.png) [@Mahima](https://forum.flowable.org/u/Mahima)\
**Post date:** [June 3, 2022, 4:48am UTC](https://forum.flowable.org/t/api-to-fetch-tasks-from-task-table/9414/1 "2022-06-03T04:48:40Z")

</div>

I have a usecase, wherein I want to fetch the Tasks from Task Table, and take some action on them.

Is there some API exposed by Flowable that can help in interacting with the Task Table?

Fetching data directly by running sql query on my db seems cubersome.

Can someone please help?

---

<div class="post-metadata">

**Author:** ![Mahima](https://avatars.discourse-cdn.com/v4/letter/m/ee7513/32.png) [@Mahima](https://forum.flowable.org/u/Mahima)\
**Post date:** [June 4, 2022, 7:35am UTC](https://forum.flowable.org/t/api-to-fetch-tasks-from-task-table/9414/2 "2022-06-04T07:35:51Z")

</div>

Can someone please direct me in this ?

---

<div class="post-metadata">

**Author:** ![Mahima](https://avatars.discourse-cdn.com/v4/letter/m/ee7513/32.png) [@Mahima](https://forum.flowable.org/u/Mahima)\
**Post date:** [June 8, 2022, 12:32pm UTC](https://forum.flowable.org/t/api-to-fetch-tasks-from-task-table/9414/3 "2022-06-08T12:32:09Z")

</div>

is there some way to fetch the user tasks ?  
i see in flowable, we can fetch the jobs from dead letter. need to understand if same can be achieved from task table.

---

<div class="post-metadata">

**Author:** ![blinkin](https://avatars.discourse-cdn.com/v4/letter/b/65b543/32.png) [@blinkin](https://forum.flowable.org/u/blinkin)\
**Post date:** [June 10, 2022, 7:19pm UTC](https://forum.flowable.org/t/api-to-fetch-tasks-from-task-table/9414/4 "2022-06-10T19:19:09Z")

</div>

@Mahima If you need REST API you will find docs to task related methods here: [REST API · Flowable Open Source Documentation](https://www.flowable.com/open-source/docs/bpmn/ch15-REST#tasks)  
If you mean engine API you need to check TaskService object: [The Flowable API · Flowable Open Source Documentation](https://www.flowable.com/open-source/docs/bpmn/ch04-API)
