EventListener / PostProcessingModule for document deletes?

I’ve been using the PublishEventListener / PublicationPostProcessingModule to deposit documents into an external database.

Is there a similar setup for event listener / module to process documents going offline? I need to be able to remove the deleted documents from the external database.

Hello Rafael,

Did you have a look at this section

You can check if event.success() and event.interaction() if it was a publish(“default:handle:publish”) or depublish(“default:handle:depublish”)

Hope this helps.

Kind regards,
Lef