Get the current status of the instance

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:

  1. the state is one of the completed/terminated states
  2. the endDate is set

Best
Malte

3 Likes