Hi,
I want to implement the Custom Incident Handler.
I have written the Custom Handler class by extending the DefaultIncidentHandler.
Now, I need to add this into ProcessEngineConfiguration.
On Camunda documentations it says as bellow.
The handleIncident method is called when a new incident is created. The resolveIncident method is called when an incident is resolved. If you want to provide a custom incident handler implementation you can replace one or multiple incident handlers using the following method:
org.camunda.bpm.engine.impl.cfg.ProcessEngineConfigurationImpl.setCustomIncidentHandlers(List<IncidentHandler>)
But, where to write this code?
Can I configure custom incident handler from process.xml?