Hello there!
I want to delete all files inside Document Sets which have folders and subfolders in a SharePoint Library when the status is "Closed".
Is it possible to do it with "Send an HTTP request to SharePoint"?
The flow runs "When an Item or File is Modified" and it creates a Document Set with multiple folders. When the document set is updated with a status of "Closed", it is moved to an "Archive library" and thus deleted from the "Source Library". It works perfectly in my Test environment, but unfortunately in Production it doesn't work, because there is a "Retention Policy" that means I have to delete all files/documents first before I can delete the folders and thus the Document Set
So I have been looking for several days now to find out a way how to deal with this.. Deleting first the files/documents and then deleting the Document Set is the way to go. I found some solutions, but it doesn't work in my case.
There is one which is quite close but I couldn't get it to work: https://www.youtube.com/watch?v=LG8aFEutJyU
The structure of my Document Library looks like this:
Library Name --> Document Set Name --> Folder --> File/Document
Glad to hear from you.
Cheers.
M.

