Using camunda historyService in a separate project

I have a Camunda Spring boot project containing my processes. I want to run a separate project and get the history of the processes there. I know that I can use REST APIs. But I also saw something as historyService:

ProcessEngine processEngine = ProcessEngineConfiguration
var processes = historyService.createHistoricProcessInstanceQuery()

Is it possible to do such thing in a separate project?

Thanks in advance

Yes, it is perfectly possible. Just deactivate the job processing so that your history application does not do any process execution.

1 Like