cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
New Member

Due Date approval in SharePoint

In SharePoint, whenever a file is uploaded in the library before the due date i.e 15-1-2020 then it should automatically get approved but if the file is uploaded after the due date then it should ask for approval. 

2 REPLIES 2
Highlighted
Super User
Super User

Re: Due Date approval in SharePoint

You can trigger on when file created and then do a condition to compare utcNow() with your due date. You could hard code due date in your flow or look it up somewhere.

Highlighted
Community Support
Community Support

Re: Due Date approval in SharePoint

Hi @Babbalpreet ,

 

Please refer to screenshot below to create the flow:

1.png

 

The expression in the Condition as below:

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

 

 

Best regards,

Alice       

 

Community Support Team _ Alice Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

firstImage

Join the new Power Virtual Agents Community!

We are excited to announce the launch of Power Virtual Agents Community. Check it out now!

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

Top Solution Authors
Users online (7,285)