Hi,
On deletion of an Asset, I need get a property from the Node.
I created a workflow and also a launcher which is triggered whenever a node is removed. From the workflow payload I need to get asset path from which I can get its properties just before deletion(manually deletion of asset not from the process step) but how?
thanks
Nandan
Solved! Go to Solution.
Views
Replies
Total Likes
Once the asset is deleted, properties are unavailable.
Few other approaches:
Once the asset is deleted, properties are unavailable.
Few other approaches:
I think, you can use event listener as well to read properties before it is deleted
https://github.com/arunpatidar02/aem63app-repo/blob/master/java/TitlePropertyListener.java
Views
Replies
Total Likes
You can utilize the event listener to get the properties and if not write custom logic for deletion of the asset, get the properties and then delete the asset.
Views
Replies
Total Likes
Views
Likes
Replies