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 / Building a flow that t...
Power Automate
Unanswered

Building a flow that track expiry date and sending an notification.

(0) ShareShare
ReportReport
Posted on by 23

Hi, I am new to power automate. Could you help to build a flow (scheduled everyday to run) that enable me to track due date of all the formulations in an excel sheet and notify me (via my own email) when it hit the due date? 

 

FormulationABC
Start Date20-Dec-2220-Dec-2220-Dec-22 
1 week stability due date27-Dec-2227-Dec-2227-Dec-22 
2 week stability due date3-Jan-233-Jan-233-Jan-23 
4 week stability due date17-Jan-2317-Jan-2317-Jan-23 

 

Thanks & Best Regards,

Elijah Lee

Categories:
I have the same question (0)
  • v-dezhili-msft Profile Picture
    Microsoft Employee on at

    Hi @elijahlee86 ,

     

    I have a test for your reference.

     

     

    int(split(dateDifference(formatDateTime(utcNow(),'MM/dd/yyyy'),formatDateTime(items('Apply_to_each')?['1 week stability due date'],'MM/dd/yyyy')),'.')[0])

     

    vdezhilimsft_0-1671530903131.png

     

    vdezhilimsft_1-1671530903131.png

     

    vdezhilimsft_2-1671530903132.png

     

    vdezhilimsft_3-1671530903132.png

     

    vdezhilimsft_4-1671530903134.png

     

    vdezhilimsft_5-1671530903135.png

     

     

    Best Regards,

    Dezhi

  • elijahlee86 Profile Picture
    23 on at

    Hi, Thanks for the reply. Is it possible for it to send an notification when the date hit the expiry date based on column? usually my experiment will be listed in column form. An example as shown below.

     

    FormulationABC
    Phase AGumsGumsGums
    waterwaterwater
    Phase BGlycerinGlycerinGlycerin
    SaltSaltSalt
    Total weight100%100%100%
    Start Date20-Dec-2220-Dec-2220-Dec-22
    1 week stability due date27-Dec-2227-Dec-2227-Dec-22
    2 week stability due date3-Jan-233-Jan-233-Jan-23
    4 week stability due date17-Jan-2317-Jan-2317-Jan-23

     

    Thanks

  • elijahlee86 Profile Picture
    23 on at

    Hi. I have tried the following steps. there are some error when I tried it based on this format. I only test the column based on 1 week.

    elijahlee86_0-1671593509054.png

    step 1 and 2:

    elijahlee86_1-1671593536341.jpeg

    step 3:

    elijahlee86_2-1671593552064.jpeg

    code used for 1wk:

    int(split(dateDifference(formatDateTime(utcNow(),'MM/dd/yyyy'),formatDateTime(items('Apply_to_each')?['1wk'],'MM/dd/yyyy')),'.')[0])
     
    Error occured->
    elijahlee86_3-1671593644691.png

     

     

    Do you have any advise on how to solve this? Thank you.

     



  • v-dezhili-msft Profile Picture
    Microsoft Employee on at

    Hi @elijahlee86 ,

     

    Could you please split(dateDifference(formatDateTime(utcNow(),'MM/dd/yyyy'),formatDateTime(items('Apply_to_each')?['1wk'],'MM/dd/yyyy')),' .')[0], put it in Compose action and show the output for me?

     

    Best Regards,

    Dezhi

  • elijahlee86 Profile Picture
    23 on at

    Hi, Will you be able to show the process and the code if date(e.g. 1wk) hit the actual date/expiry date itself?

     

     

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 501 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 323 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard