# Get all tasks by user

**URL:** <https://forum.flowable.org/t/get-all-tasks-by-user/6289>\
**Category:** Flowable Engine\
**Created:** [June 30, 2020, 6:41pm UTC](https://forum.flowable.org/t/get-all-tasks-by-user/6289 "2020-06-30T18:41:48Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![venkatesh](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.flowable.org/venkatesh/32/1777_2.png) [@venkatesh](https://forum.flowable.org/u/venkatesh)\
**Post date:** [June 30, 2020, 6:41pm UTC](https://forum.flowable.org/t/get-all-tasks-by-user/6289/1 "2020-06-30T18:41:48Z")

</div>

Hello,  
How do we get all tasks assigned to a user given and instance id ? I need to list all active tasks currently assigned to a user.

Thanks  
Venkatesh

---

<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:** [July 1, 2020, 7:12am UTC](https://forum.flowable.org/t/get-all-tasks-by-user/6289/2 "2020-07-01T07:12:55Z")

</div>

taskService.createTaskQuery().processInstanceId(processInstanceId).taskAssignee(username).list();
