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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Delete the attachment ...
Power Apps
Answered

Delete the attachment from SharePoint List 30 days from Created Date

(0) ShareShare
ReportReport
Posted on by 14

Hi everyone! I would like to delete the attachment only from my SharePoint list once it reaches 30 days from the Created Date. I am currently working on my flow but can't seem to get my way through it. Here is an overview of my flow.

 

kess_1-1680859846542.png

 

Thank you 🙂

 

 

Categories:
I have the same question (0)
  • Verified answer
    Atom_Chs Profile Picture
    48 on at

    Hello kess,

     

    You can delete your compose and next condition, go to your Get items, advances options and add in Filter Query this line :

    Created le '@{addDays(utcNow(),-30)}'

    Atom_Chs_0-1680860744352.png

     

     It's a condition for your get items to show only items Created less or equal than 30 Days.

     

    Best regards,

  • kess Profile Picture
    14 on at

    Hi @Atom_Chs That worked 😃  Thank you so much for your help!

  • Atom_Chs Profile Picture
    48 on at

    Your welcome ! Enjoy

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 541

#2
WarrenBelz Profile Picture

WarrenBelz 434 Most Valuable Professional

#3
Valantis Profile Picture

Valantis 289

Last 30 days Overall leaderboard