cancel
Showing results for 
Search instead for 
Did you mean: 

REST API to fetch all tasks defined in a process

sonalik
Champ in-the-making
Champ in-the-making

Hi,

Can you please help me with the REST API to fetch all tasks defined in a process?

I tried to get the list of tasks using below api's but both returned the tasks which are active, whereas i need list of all tasks.

http://localhost:8080/activiti-rest/service/runtime/tasks?processDefinitionId=sampleProcess:1:13630 ...

http://localhost:8080/activiti-rest/service/runtime/tasks?processDefinitionKey=sampleProcess:1:13630

Looking forward for your support. Thanks in advance.

1 REPLY 1

gdharley
Elite Collaborator
Elite Collaborator

There is no suck API.

You will have to retrieve the process definition and parse it.

Greg