Self managed - api get task not found

Hi team !!!

I have used the Camunda 8 Self Managed (Docker) and I would like to use API-REST to get the process/tasks and etc. The problem is that I can do request perfect but I receiveid the message that the task/process don´t exist even the process/task exist as well.

1-) The processs that exist.

2-) The request and response.

Hi @Adriano_Malaquias
You used the word uncomplete instead of the actual task id in your request.

Hi @Alex_Voloshyn !!! Where Can I find the informartion from taks to use the corret taskID ??

The URL from task is correct ?? http://localhost:8082/v1/tasks/:XX

One of the ways to get a task ID is to look for it in the Tasklist.

The URL from task is correct ?? http://localhost:8082/v1/tasks/:XX

if the Tasklist is running on port 8082 in your environment then the call looks correct to me.

You can check all available API calls here: Overview | Camunda 8 Docs

Regards,
Alex

1 Like

@Alex_Voloshyn Also any search that I try to execute I can not find anything.

Even I have some process and tasks.

@Alex_Voloshyn Thanks for your support . The problem was I was using the wrong URL so now it is working perfect !!!

Please check my previous update and look for a task ID in the Tasklist, not in the Operate. Most probably your Tasklist is running here http://localhost:8082

The call URL should looks like http://localhost:8082/v1/tasks/2251799843060326
Replace 2251799843060326 with the actual task id.

You’re welcome, please mark one of the answers as a solution so it’s visible that the question is answered.

Regards,
Alex

1 Like

@Alex_Voloshyn Thanks a Lot !!!

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.