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

Set due date for SharePoint list item that has exceeded SLA

I have a SharePoint list with a Priority column of Low, Medium, High and Urgent 


Each of these priority levels have their own SLA values, ie:

 

Low = 7 days and High = 1 day

 

I have have a DueDate column I would like to populate with dates should the created date + the number of days for the priority be exceeded.

 

Is this possible?

 

Thanks.

2 ACCEPTED SOLUTIONS

Accepted Solutions
Community Support Team
Community Support Team

Re: Set due date for SharePoint list item that has exceeded SLA

Hi @sudosaurus,

 

There are two ways to achieve your goal, you can create a Flow to update these Flow by using the addDays() function, for example:

addDays(item()?['CreateDate'],7)

Or you could convert the DueDate column into a calculated column, then set the Field Formula to CreateDate + Priority:

https://docs.microsoft.com/en-us/previous-versions/office/developer/sharepoint-2010/bb862071(v%3Doff...

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

View solution in original post

Super User
Super User

Re: Set due date for SharePoint list item that has exceeded SLA

@sudosaurus 

I agree with the solution provided by @v-litu-msft but I would like to expand on it.

You could use a single expression like the one below that will give you the value that you need.

The expression should look something like this unless I missed a paren somewhere.... :

addDays(item()?['CreateDate'],if(equals([Status Column reference],'Low'),7,if(equals([Status Column reference],'Medium'),5,if(equals([Status Column reference],'High'),3,1)))))

You should replace my [Status Column Reference] with a reference to the status column or column value from Dynamic properties.

 

 

 

If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Scott

View solution in original post

2 REPLIES 2
Community Support Team
Community Support Team

Re: Set due date for SharePoint list item that has exceeded SLA

Hi @sudosaurus,

 

There are two ways to achieve your goal, you can create a Flow to update these Flow by using the addDays() function, for example:

addDays(item()?['CreateDate'],7)

Or you could convert the DueDate column into a calculated column, then set the Field Formula to CreateDate + Priority:

https://docs.microsoft.com/en-us/previous-versions/office/developer/sharepoint-2010/bb862071(v%3Doff...

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

View solution in original post

Super User
Super User

Re: Set due date for SharePoint list item that has exceeded SLA

@sudosaurus 

I agree with the solution provided by @v-litu-msft but I would like to expand on it.

You could use a single expression like the one below that will give you the value that you need.

The expression should look something like this unless I missed a paren somewhere.... :

addDays(item()?['CreateDate'],if(equals([Status Column reference],'Low'),7,if(equals([Status Column reference],'Medium'),5,if(equals([Status Column reference],'High'),3,1)))))

You should replace my [Status Column Reference] with a reference to the status column or column value from Dynamic properties.

 

 

 

If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Scott

View solution in original post

Helpful resources

Announcements
firstImage

Power Platform Online Conference

Speakers, submit your sessions now! Call for speakers ends Feb. 10!

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!

firstImage

Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Kudoed Authors (Last 30 Days)
Users online (5,455)