How can I know the current state of a completed process instance(community version only)?

Hi, I want to know how to get the current state of a completed process instance via rest apis provided by Camunda (community version).

Thanks,
Shrisha.

You can query the history service with something that looks like this:

localhost:8080/engine-rest/history/activity-instance?unfinished=true&processInstanceId=40d9faa0-6f68-11e9-bbbf-00155d08f004

You can find more information in the docs page: https://docs.camunda.org/manual/latest/reference/rest/history/activity-instance/get-activity-instance-query/#example

1 Like