How to detect a deleted node from page in a replication event?
Hi everyone! ![]()
To put you in context I've got this page, let's call it List Page, with several components of the same type, let's call these components Task Component (it's a regular AEM component).
So the List page have a lot of Task components, when I replicate the List page from Author to Publish I need to detect on Publish which tasks were deleted or added in comparison with the previous state of the page before the replication.
I have set up a replication listener but the ReplicationActionType.ACTIVATE or ReplicationActionType.DELETED is only triggered related to the page, so I only get the event in relation with the List page instead of the task components.
Is there a way to detect this subnodes (task components) getting deleted or added in the replication listener?
Thank you!
