What are active tasks in Get Tasks (POST) rest api


#1

Hi,

in Get Tasks(POST) api, i see that if active is set to true then only it retrieves active tasks, and if not set, by default all the tasks are retrieved.

But when i query i get only tasks which are active(which are not already completed). Is my understanding of active filter in get tasks(post) correct?

What exactly does it mean?


#2

Hi @sindhu_veladi,

A process instance can be suspended (the opposite of being active). As suspended instance cannot make progress until it is activated again. The same applies to suspended tasks. See https://docs.camunda.org/manual/7.10/user-guide/process-engine/process-engine-concepts/#suspend-process-instances for some details on suspension.

Cheers,
Thorben