cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Helper V
Helper V

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
Highlighted
Community Support
Community Support

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

Highlighted
Super User III
Super User III

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
Highlighted
Community Support
Community Support

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

Highlighted
Super User III
Super User III

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
Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

Upcoming Events

Experience what’s next for Power Automate

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

Community Conference

Power Platform Community Conference

Find your favorite faces from the community presenting at the Power Platform Community Conference!

Top Solution Authors
Users online (6,059)