cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Babbalpreet
Level: Powered On

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
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.

Community Support Team
Community Support Team

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

New Ranks and Rank Icons in April

Read the announcement for more information!

firstImage

Better Together Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.

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!

sixthImage

Community Summit North America

The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Top Kudoed Authors
Users online (5,283)