Hello,
I'm trying to create an approval process when someone tries to delete a file.
So I want this: When user hit delete -> The file stays, column "Deletion Status" changes to "Pending" -> Email sent to the approver -> and so on.
Currently, I'm doing it like this:
When file is deleted -> change "Deletion Status" to "Pending" -> revive the file from RecycleBin (with GET and POST http request) -> send notification to the approver -> when the approver hits "approve", delete the file.
After the last step, another flow is triggered since that file is deleted, hence an infinite loop.
Am I over-complicating this, or how can this process be done correctly?
Thank you in advance.