cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
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
Gristy
Resident Rockstar
Resident Rockstar

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.

v-alzhan-msft
Community Support
Community Support

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
Process Advisor

Introducing Process Advisor

Check out the new Process Advisor community forum board!

MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Top Solution Authors
Users online (25,420)