cancel
Showing results for 
Search instead for 
Did you mean: 

Get list of unassigned Tasks using REST API

kshah
Champ in-the-making
Champ in-the-making
Hi,

I am trying to get list of tasks using REST API. We are using 5.12.1 version of Activiti in our environment and there is less possibility of upgrading it to 5.13 at the moment.

I could retrieve list of tasks in 5.13 using http://www.activiti.org/userguide/#restTasksGet i.e. http://localhost:8080/activiti-rest/service/runtime/tasks. However in 5.12.1, I did not find equivalent API, closest I found was http://localhost:8080/activiti-rest/service/tasks?assignee=kermit

Is there a way to get list of tasks using REST API in 5.12.1? With http://localhost:8080/activiti-rest/service/tasks?assignee=kermit, can I filter based on assignee as NULL? I tried calling http://localhost:8080/activiti-rest/service/tasks?assignee=null, however it doesn't seem to help.

Thanks,
-Kash. 
1 REPLY 1

frederikherema1
Star Contributor
Star Contributor
I'm afraid there is no alternative in 5.12(.1), to get unassigned tasks, only unassigned tasks which can be claimed by users from a specific group.