History API for Camunda 8

Hello,

is there an API (in Camunda 8) for querying process history, i.e. finding processes satisfying some criteria?

Is there an API for for querying active processes? Are these two kinds (active vs. historic) differentiated in Camunda 8?

Or does camunda say here: We export the process data to elastic, and it is then up to you how you query it?

Thank you!

Hello my dear!

I believe that because they are different things, history x active processes, I think the query should be separated, using process instance API and history API.

But it’s open in case someone knows something better…
Big hug!

See ya!
William Robert Alves

Hello @fml2 ,

in Operate, current process instances and historic process instances share the same api.

The way to differentiate them is to query for a state.

I hope this helps

Jonathan

Do you mean that the operate API replaces the history API of camunda 7? Does it have the same functionality / flexibility? Does one have to have a license to use it?

Hello @fml2 ,

first: yes, Operate requires a license to be used in production.

Are there any specific features in the Camunda 7 history API that you found outstanding/would like to see in Camunda 8 as well?

Jonathan

All of it! Only then will it be possible to seriously think about migrating Camunda 7 applications to Camunda 8.

There’s an open source community extension being working on that aims to create a complete rest api for Camunda 8.
It’s still in the early stages of development but It would be a good idea to keep an eye on it, or even contribute to it: