AnsweredAssumed Answered

Catch the parent node of a deleted node

Question asked by willyguevara on Aug 28, 2018
Latest reply on Aug 29, 2018 by willyguevara

Hello community, i have created a rule in a folder that when users add contents to that folder the rule calls a custom script that prepends to all children nodes in that parent folder a specific char, at this point i catch the parent node based on the "document" var node that fired the rule, this works fine when creating or adding content to the folder that has configured the rule, but i need to make this work when deleting a node in that folder, the problem is that i can't get the parent property of the deleted node, I think it's because it does not exist anymore.


does anyone knows hoy can i make this work without leaving hardcoded the parent folder nodeRef?