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
Microsoft
Microsoft

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 Automate News & Announcements

Power Automate News & Announcements

Keep up to date with current events and community announcements in the Power Automate community.

Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Users online (4,723)