Hello,
i have created a webbapp that contains manual tasks. I want to trigger it, but I need the task ID and I don’t have it.
Is there a way to trigger the manual task using the process-ID with a rest call ?
Hello,
i have created a webbapp that contains manual tasks. I want to trigger it, but I need the task ID and I don’t have it.
Is there a way to trigger the manual task using the process-ID with a rest call ?
Hi @Adrian,
you can not complete a task without its ID. Given, that a running process instance can have multiple active tasks, how should the engine determine which task to complete.
To get the id of the task, you can query POST /task
. https://docs.camunda.org/manual/7.11/reference/rest/task/post-query/
Have a look at the request parameter list. You can filter all tasks by process ID and name to only get the id of the one task you want to complete.
Hope this helps.
Cheers,
Miklas