Getting cq:lastReplicationAction value after Page deletion.
Hello,
I have created AEM page. At this time, there will not be any entry for cq:lastReplicationAction. I have created ReplicationEventHandler that will trigger during page activation, deactivation, deletion time.
Now, I have 2 scenario's. 1: Page is deleted before any publishing the page (Not even published single time) . 2: Page is deleted After publishing earlier.
Now, I have deleted this page. When I Read the "cq:lastReplicationAction" from page Properties in my ReplicationEventHandler file, for both scenario's it gives me: "Delete" . Actually, for the 1st scenario I was expecting null and for the 2nd scenario I was expecting some value, since that page is published earlier.
Thanks in advance.