Create a listener notifying when HistoryService delete a historic process instance

Hi there,

I want to have a listener whose function will be sending some event everytime HistoryService deleted a historic process instance. There are many examples on how to create processStarted listener or processEnded listener, but I didn’t find much info about generating such historic process deleted listener.

Can someone help me on this?
Thanks!

Hi Mangojam,

there is no such thing,
but feel free to raise a feature request on JIRA.

What do you want to achieve?

As a alternative you can create a trigger on database level, which triggers on delete.

Greets
Chris

Never mind. I thought the database method you said works for me. Thanks a lot.

1 Like