How to understand that the active thread is already completed?
Is there any restapi request that returns the current status of the instance?
Hi @ntdim1973,
have a look at this API call:
https://docs.camunda.org/manual/7.6/reference/rest/history/process-instance/get-process-instance/
From the response you can tell that a process instance has ended through two ways:
- the state is one of the completed/terminated states
- the endDate is set
Best
Malte
3 Likes