# Upcomig task for a user

**URL:** <https://forum.flowable.org/t/upcomig-task-for-a-user/3287>\
**Category:** Uncategorized\
**Created:** [January 22, 2019, 8:05am UTC](https://forum.flowable.org/t/upcomig-task-for-a-user/3287 "2019-01-22T08:05:54Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![lohiavivek](https://avatars.discourse-cdn.com/v4/letter/l/d26b3c/32.png) [@lohiavivek](https://forum.flowable.org/u/lohiavivek)\
**Post date:** [January 22, 2019, 8:05am UTC](https://forum.flowable.org/t/upcomig-task-for-a-user/3287/1 "2019-01-22T08:05:54Z")

</div>

Using REST call, Can I get to know all upcoming tasks for a user?

For all the started process instances,I need to know all the tasks which will be assigned to a user.

---

<div class="post-metadata">

**Author:** ![Robinyo](https://avatars.discourse-cdn.com/v4/letter/r/dec6dc/32.png) [@Robinyo](https://forum.flowable.org/u/Robinyo)\
**Post date:** [January 22, 2019, 8:36pm UTC](https://forum.flowable.org/t/upcomig-task-for-a-user/3287/2 "2019-01-22T20:36:23Z")

</div>

> [@lohiavivek](#):
>
> Using REST call, Can I get to know all upcoming tasks for a user?

GET [runtime/tasks](https://www.flowable.org/docs/userguide/index.html#restTasksGet)

For example:

 ![task-list](https://canada1.discourse-cdn.com/flex035/uploads/flowable/original/1X/9abf976e3a60d26d6b088825b7abe5c3e42e3887.png)

Ref: [Flowable’s REST API - Part 2](https://robferguson.org/blog/2019/01/02/flowable-rest-api-part-2/)

---

<div class="post-metadata">

**Author:** ![manztihagi](https://avatars.discourse-cdn.com/v4/letter/m/779978/32.png) [@manztihagi](https://forum.flowable.org/u/manztihagi)\
**Post date:** [April 26, 2019, 9:25am UTC](https://forum.flowable.org/t/upcomig-task-for-a-user/3287/3 "2019-04-26T09:25:57Z")

</div>

Hi @Robinyo …

On your example was getting the tasks based on users, how about the tasks are belonging to the groups ?

on my example user was null :

curl -i [http://admin:test@localhost:8080/flowable-task/process-api/runtime/tasks/ac315d07-67f7-11e9603-00e04c6807e3/identitylinks/groups](http://admin:test@localhost:8080/flowable-task/process-api/runtime/tasks/ac315d07-67f7-11e9603-00e04c6807e3/identitylinks/groups)

HTTP/1.1 200  
X-Content-Type-Options: nosniff  
X-XSS-Protection: 1; mode=block  
Cache-Control: no-cache, no-store, max-age=0, must-revalidate  
Pragma: no-cache  
Expires: 0  
X-Frame-Options: DENY  
Content-Type: application/json;charset=UTF-8  
Transfer-Encoding: chunked  
Date: Fri, 26 Apr 2019 07:53:59 GMT

[{“url”:“[http://localhost:8080/flowable-task/process-api/runtime/tasks/ac315d07-67f7-11e9-9603-00e04c6807e3/identitylinks/groups/thetihagi/candidate](http://localhost:8080/flowable-task/process-api/runtime/tasks/ac315d07-67f7-11e9-9603-00e04c6807e3/identitylinks/groups/thetihagi/candidate)”, **“user”:null,“group”:“thetihagi”** ,“type”:“candidate”}]

because when i take by identitylinks/users it was return empty []

Thanks

---

<div class="post-metadata">

**Author:** ![Robinyo](https://avatars.discourse-cdn.com/v4/letter/r/dec6dc/32.png) [@Robinyo](https://forum.flowable.org/u/Robinyo)\
**Post date:** [April 26, 2019, 10:03pm UTC](https://forum.flowable.org/t/upcomig-task-for-a-user/3287/4 "2019-04-26T22:03:55Z")

</div>

GET [runtime/tasks](https://www.flowable.org/docs/userguide/index.html#restTasksGet)

Supports URL query parameters, for example, **candidateGroups**.
