Skip to main content

Notifications

Community site session details

Community site session details

Session Id : edv2U7hAzWL6sO1dkGXjHy
Power Automate - Translation Quality Feedback
Answered

Sent Notification when Expiration is 90 Days away.

Like (0) ShareShare
ReportReport
Posted on 25 Mar 2025 18:36:43 by 369
I have a SharePoint list with a Column Name Expiration date. I would like to send an email notification if Expiration date is 90 days away. I confused on how to set the notification to notify 90 days away. 
Categories:
  • Verified answer
    DJ_Jamba Profile Picture
    2,815 Super User 2025 Season 1 on 25 Mar 2025 at 22:23:12
    Sent Notification when Expiration is 90 Days away.
    1. Schedule your flow to run every day at e.g. 8am
     
     
     
    2. Use a compose action to create an object containing the date in 91 days and the date in 90 days
     
     
    {
      "Day90": @{addToTime(utcNow(),90,'Day','yyyy-MM-dd')},
      "Day91": @{addToTime(utcNow(),91,'Day','yyyy-MM-dd')}
    }
     
    3. Use the Get Items action with an oData query filter to find items in your list where Expiration date is 90 days from now
     

    I'm assuming the internal column name in your list is Expiration_x0020_date so:
     
    (Expiration_x0020_date lt '@{outputs('Days_90_and_91_from_now')?['Day91']}') 
    and 
    (Expiration_x0020_date ge '@{outputs('Days_90_and_91_from_now')?['Day90']}')

    This means get records that have an expiration date less than midnight in 91 days time and greater than midnight in 90 days time (covering all possible timestamps in day 90).
    You can copy and paste both of the code examples straight into the expression editor.
     
    4. Test it
     

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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Power Automate - Translation Quality Feedback

#1
Nived_Nambiar Profile Picture

Nived_Nambiar 2 Super User 2025 Season 1

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 2 Super User 2025 Season 1

#1
CU06050804-0 Profile Picture

CU06050804-0 2

Overall leaderboard

Featured topics

Loading started