Cannot get any task information using API "GET runtime/tasks/{taskId}"

Dear Sir,

I create a process which includes some Service Task in it. This process can be executed, everything is well. However, when this process is running, “GET runtime/tasks/{taskId}” always returns an empty array to me. But my task is running.

I wonder to know why my task cannot be queried in this case?
Please give me any suggestion, thanks.

Hey @Aslan.Liu,

Are you sure that you get back an array and not HTTP 404 due to the task not existing?

You are also saying any task information. Do you mean any user task information, or literally any task (including service tasks)?

Cheers,
Filip