On deletion of a resource, I need get a property from the resource BEFORE the resource becoming null.
I tried this through Event Listener. In the event listener, the resource is null.
I tried to achieve this through on delete -> launcher -> workflow. Here also the resource is null. But in this workflow, I have only one processor which tries to get the resource details.
Here can I get the resource details before it gets deleted from the workflow? Actual deletion is done in OOTB code, how can move that code to my workflow?
Here How to take an action on a deleted Asset in Adobe Experience Manager? , Jörg said we can control when the actual deletion is called. But how?
You can implement Preprocessor to fetch the data from resource before it's deletion. Remember Preprocessor works only on activated page as mentioned here.