cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Brice235i
Impactful Individual
Impactful Individual

Save Conflict - When Planner task is completed update SharePoint list item

Hi, I have a set of planner tasks in a bucket for a subject area e.g. Course 1 - Task 1, Task 2, Task 3.

Course 1 is an list item in SharePoint with columns for task status for Task 1, Task 2, Task 3.

 

When the task in Planner is closed a flow updates the status for the associated task column.  

 

Unfortunately people are closing out the tasks all at once, without a significant delay between each one.  Therefore I'm getting a save conflict on the Update Item action and the flow is failing.

 

Unfortunately the Retry setting the the update item action isn't working.

 

Wondering if anyone has any ideas.  Thank you.

1 ACCEPTED SOLUTION

Accepted Solutions
Brice235i
Impactful Individual
Impactful Individual

Hi there, unfortunately no.  The solution was to create another list "Completed Tasks". with a yes/no column "Processed" .  When a task is completed a single list item is created in "Completed Tasks".  A scheduled flow gets all the list items from "Completed Tasks" where Processed = no.    Loop through them to get the original list item and then update the parent list item... then update "Completed Tasks" Processed = Yes.  
I wonder if I should submit a uservoice idea to include the 400 error in the Update Item Retry setting...  

View solution in original post

2 REPLIES 2
DamoBird365
Super User
Super User

Hi @Brice235i 

 

Would inserting a delay help?  Is the conflict between the users and the flow or all of the flows running together?

 

DamoBird365_0-1614753778743.png

 

The other option might be to reduce concurrency.  

 

DamoBird365_1-1614753904801.png

 

 

Damien

Brice235i
Impactful Individual
Impactful Individual

Hi there, unfortunately no.  The solution was to create another list "Completed Tasks". with a yes/no column "Processed" .  When a task is completed a single list item is created in "Completed Tasks".  A scheduled flow gets all the list items from "Completed Tasks" where Processed = no.    Loop through them to get the original list item and then update the parent list item... then update "Completed Tasks" Processed = Yes.  
I wonder if I should submit a uservoice idea to include the 400 error in the Update Item Retry setting...  

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

May UG Leader Call Carousel 768x460.png

June User Group Leader Call

Join us on June 28 for our monthly User Group leader call!

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Power Automate Designer Feedback_carousel.jpg

Help make Flow Design easier

Are you new to designing flows? What is your biggest struggle with Power Automate Designer? Help us make it more user friendly!

Top Solution Authors
Top Kudoed Authors
Users online (4,850)