Getting "Node does not exist" after rule triggered in folder
We have a folder in ACS that contains a rule that triggers a custom action when detects that a file has entered the folder. In this rule we are also deleting the same file and the following exception is thrown:
org.alfresco.service.cmr.repository.InvalidNodeRefException: Node does not exist: workspace://SpacesStore/2bd1689a-ebd6-11eb-9a03-0242ac130003 (statustatus[id=1174changeTxnId=0e34ddbb-3875-49f7-9dcc-93e2158af78c, dbTxnId=70, deleted=true])
Is this something possible to do? Because we are deleting the same file that triggered the rule in execution.