cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Babbalpreet
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
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
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

New Ranks and Rank Icons released on April 21!

The time has come: We are finally able to share more details on the brand-new ranks coming to the Power Automate Community!

firstImage

Now Live: 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!

sixthImage

Community Summit North America

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

Top Solution Authors
Users online (6,681)