
Hi All,
I am a bit stuck: I initially wanted to build a simple flow, when a file in a document library is deleted, delete list item (because the list is just a list register of all files in the library). But I noticed to "delete item" you need to be site collection admin and I neither won't get those rights nor does the site collection admin want to set up this flow for me. So...
Alternative idea was to rename the list item with the flow, so for example in each column instead of the file name etc. it would just be written "delete" everywhere. Then I could manually go in the list every few days and filter/manually delete these line item. But I somehow struggle to set up that flow, as easy as it seems. It always gives me the error "item could not be found" when I try to run a flow.
Can anyone point me in the right direction or have any alternative ideas for a workaround for the "delete item" issue?
Thank you!
Annika
Hi @Annnika,
Could you please share a screenshot of your Flow already created?
You could create a Flow as below:
1. When a file is deleted;
2. Get items with filter query to find these items which Title equals to the filename with extension of deleted file.
3. Update Title column in SharePoint list, add the "(Deleted)" at the end of file.
Best Regards,
Community Support Team _ Lin Tu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.