Where can I get the History events after execution?

Hi, I want to connect the History event stream to WSO2 Complex event processing engine. Where can I get the event stream of Camunda after execution?

Thanks in Advance

Kala

Hi Kala,

See this post on how to implement a custom history event handler.

Cheers,
Christian

Thanks Christian. Sorry I did not realize I was creating two threads :slight_smile:

Kala

Hi Christian,

Thanks a lot for the information. However I am still very new to Camunda BPM, I am not sure where to implement this handler and everything? Can you please help me in providing a step to step process of how to do it?

Thank you

Kala

Hi Kala,

Could you please specify what type of History events you would like to handle ?

Best Regards,
Deivarayan Azhagappan

Hi Deivarayan,

I want to execute a simple BPMN for a loan application and want to integrate the generated history events from the execution of loan application to a CEP. I have read the History event handler but I am not sure where and how to implement it

Thanks,
Kala

Hi Kala,

With the default configuration, the process engine will simply write the history event stream to the history database. The ‘HistoryService’ API allows querying this database.

Examples of querying the database can be found in the below link:
https://docs.camunda.org/manual/7.4/user-guide/process-engine/history/#query-history

Hope this helps.

Best Regards,
Deivarayan Azhagappan