REST API to fetch all tasks defined in a process

cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Member II

REST API to fetch all tasks defined in a process

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
Highlighted
Intermediate

Re: REST API to fetch all tasks defined in a process

There is no suck API.

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

Greg