Reputation: 15
I am trying to fetch all tasks having specific processDefinitionId. This is my URL:
http://localhost:8080/activiti-rest/service/runtime/tasks?processDefinitionId=reviewSaledLead:1:40
But tasks are not getting filtered by processDefinitionId. Is is giving me all tasks from ACT_RU_TASK table without filtration.
How to resolve this ?
Upvotes: 1
Views: 285
Reputation: 301
I've looked into it and you are correct: processDefinitionId is not part of that particular REST API, which I think is an oversight.
I've added it in this commit: https://github.com/Activiti/Activiti/commit/86df130a678154f50e241abfec3f3bd99d3f9e7a. It will be part of the next release of Activiti.
Upvotes: 1