Notifications
Announcements
Hi all,
I am trying to build a flow to auto delete sharepoint files which is 3 days old. However, the condition always return false even the filename contains the keyword I set. Any ideas?
Hi @hkallen
You might want to consider using the ODATA filters for a better and fast flow automation rather than getting a list of all the files and performaing operations on those. A perfect guide to ODATA filters is here:
https://flow.microsoft.com/en-us/blog/advanced-flow-of-the-week-filtering-with-odata/
You can use the startswith or substirng etc. functions for the file name and the date filter function in the same filter query.
Hope this Helps!
If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!
Hi @hkallen ,
If you are using Created for comparison, please try to use the following configuration.
It is recommended to use Is folder to exclude folders.
Image reference:
Hope it helps.
Best Regards,
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
In our never-ending quest to improve we are simplifying the forum hierarchy…
We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Michael E. Gernaey 501 Super User 2025 Season 2
Tomac 323 Moderator
abm abm 237 Most Valuable Professional