cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
sudosaurus
Post Patron
Post Patron

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
v-litu-msft
Community Support
Community Support

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

@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
v-litu-msft
Community Support
Community Support

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

@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
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 Carousel

Sign up for our May 4th event!

May the fourth be with you, join us online!

MSFTBizAppsLaunchEvent

Experience what’s next for Power Virtual Agents

See the latest Power Automate innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Power Platform ISV STudio

Power Platform ISV Studio

ISV Studio is the go-to Power Platform destination for ISV’s to monitor & manage applications post-AppSource publish.

Users online (87,859)