# Read all the completed and upcoming user tasks in a process instance

**URL:** <https://forum.flowable.org/t/read-all-the-completed-and-upcoming-user-tasks-in-a-process-instance/3589>\
**Category:** Uncategorized\
**Created:** [March 19, 2019, 10:13am UTC](https://forum.flowable.org/t/read-all-the-completed-and-upcoming-user-tasks-in-a-process-instance/3589 "2019-03-19T10:13:11Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![vaibhav293](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.flowable.org/vaibhav293/32/905_2.png) [@vaibhav293](https://forum.flowable.org/u/vaibhav293)\
**Post date:** [March 19, 2019, 10:13am UTC](https://forum.flowable.org/t/read-all-the-completed-and-upcoming-user-tasks-in-a-process-instance/3589/1 "2019-03-19T10:13:11Z")

</div>

Hi There,

Is there any REST API to know all the upcoming/finished user task in the process(by process key or instance). Say, a process having multiple tasks including some user tasks. I want to build a progress bar which just shows user tasks in order of completed and upcoming. I know that the upcoming task order might be tricky to draw but I am fine to represent those as expected user tasks. I would fix the order once the all the tasks in the process are completed.

Please suggest how can I achieve this.

Regards,  
Vaibhav

---

<div class="post-metadata">

**Author:** ![martin.grofcik](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.flowable.org/martin.grofcik/32/71_2.png) [@martin.grofcik](https://forum.flowable.org/u/martin.grofcik)\
**Post date:** [March 26, 2019, 2:26pm UTC](https://forum.flowable.org/t/read-all-the-completed-and-upcoming-user-tasks-in-a-process-instance/3589/2 "2019-03-26T14:26:44Z")

</div>

Hi Vaibhav.

You can parse process definition ([https://flowable.org/docs/userguide/index.html#\_process\_definitions](https://flowable.org/docs/userguide/index.html#_process_definitions)) to get list of all tasks. For list of finished tasks use [https://flowable.org/docs/userguide/index.html#\_history](https://flowable.org/docs/userguide/index.html#_history).

Regards  
Martin
