web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Having Issues with a Flow
Power Automate
Suggested Answer

Having Issues with a Flow

(4) ShareShare
ReportReport
Posted on by 21
I have a flow (attached) that I want to have detect and email files that have not been updated / edited in the last 14 days AND do not have the word "Archive" in the filename or folder path.
Categories:
I have the same question (0)
  • Michael E. Gernaey Profile Picture
    53,433 Super User 2025 Season 2 on at
    HI
     
    I dont see a question at all.
  • Suggested answer
    abm abm Profile Picture
    32,865 Most Valuable Professional on at
    Hi
     
    Please see below flow:
     
     
     
    Above Compose 14 days expression is as follows:
     
    formatDateTime(addDays(utcNow(),-14),'yyyy-MM-ddT00:00:00Z')
     
    Get Files (Properties Only) Filter Query
     
    FSObjType eq 0 and Modified lt '@{outputs('Compose_14_Days')}' 
     
    Let me know how it goes.
     
    Thanks
     
     
  • MattPackwood Profile Picture
    21 on at
    This gives me a list of the files that are more than 14 days old, but I want to remove the ones that contain the string "Archive" in the files name or path...
  • MattPackwood Profile Picture
    21 on at
    I went back to basics to try to sort this out...
     
     
     
     
     
    This detects "old files" but I can't figure out how to "ignore" files with "Archive" in the filename or path...

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.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 525 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 324 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard