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?