cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
testuserburak
Regular Visitor

when a file is uploaded, asking for the expiry date of the file

Hello there,
I need urgent help on something.


I have a list where I keep company name, e-mail address and various information.

When users upload/update a file to the sharepoint library; I want them to enter the expiration date of the file they uploaded (required). The flow that I will do will only send an e-mail to that company that the document expires when that date comes.


Is there any way to do this?


I created a new column and I can get the expiration dates here. but I could not make it send to only the relevant person on my list. Do you have any suggestions for solution?

 

1 ACCEPTED SOLUTION

Accepted Solutions
abm
Super User III
Super User III

Hi @testuserburak 

 

Yes its possible. Follow the below steps:

 

1. Use a scheduled trigger which runs every day.

2. Add a Compose action to find todays date using expression and format using yyyy-MM-dd

    formatDateTime(utcNow(), 'yyyy-MM-dd')

3. Add SharePoint Get items filtered by expiry date eq compose action date value.

4. At this stage you filtered the records which are expired on that date.

5. Iterate the values (Apply to Each loop) and send email to relevant person. You can get the email details automatically once you filtered the record from step 3.

 

Thanks



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blogPower Automate Video Tutorials

View solution in original post

1 REPLY 1
abm
Super User III
Super User III

Hi @testuserburak 

 

Yes its possible. Follow the below steps:

 

1. Use a scheduled trigger which runs every day.

2. Add a Compose action to find todays date using expression and format using yyyy-MM-dd

    formatDateTime(utcNow(), 'yyyy-MM-dd')

3. Add SharePoint Get items filtered by expiry date eq compose action date value.

4. At this stage you filtered the records which are expired on that date.

5. Iterate the values (Apply to Each loop) and send email to relevant person. You can get the email details automatically once you filtered the record from step 3.

 

Thanks



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blogPower Automate Video Tutorials

View solution in original post

Helpful resources

Announcements
MPA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

PowerPlatform 768x460.png

Microsoft Learn

Check out our new Discover Your Career Path blog post series and get all the details.

Top Solution Authors
Users online (1,256)