I am trying to delete all files from a SP library at the end of the day, basically not wanting files older than 24 hours. I have set up this flow, but I am getting the error, "An action failed. No dependent actions succeeded." "Not Found". Help me figure this out?
Solved! Go to Solution.
Hi @sobenson ,
For your delete step, can you try with identifier
--------------------------------------------------------------------------
If I have answered your question, please mark my post as a solution
If you have found my response helpful, please give it a thumbs up
Here is the error
Hi @sobenson ,
For your delete step, can you try with identifier
--------------------------------------------------------------------------
If I have answered your question, please mark my post as a solution
If you have found my response helpful, please give it a thumbs up
While the way you have your Flow structured and the solution that you have accepted will work, it would be a much better solution if you were to use a filter query in your Get files (properties only) action and retrieve only files that meet your criteria. Then, you can eliminate your condition and just delete all files that have been returned.
That said, you don't need a Flow for this - SharePoint will do this for you:
@ScottShearer Thank you, the Retention Policy looks like an easier way of doing this. For anyone else who reads this, I was missing the Information Management policy, and needed to turn it on in Site Settings
Information Management Policy Settings is missing from Content Type settings or List Settings. To enable this, follow below steps:
Learn to digitize and optimize business processes and connect all your applications to share data in real time.
Did you know that you could restore a deleted flow? Check out this helpful article.
Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.
User | Count |
---|---|
6 | |
4 | |
3 | |
2 | |
2 |
User | Count |
---|---|
8 | |
8 | |
8 | |
7 | |
5 |