cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Charles-v-D
Helper V
Helper V

Conflict updating SharePoint list items due to parallel flow

Hello,

 

I have a flow where there is a part that has a parallel branch. in both branches there is a possibility that the same share point item get's updated. If this happens to be at the same time, then a conflict might arise. Some of my flow-runs have failed due to such a  conflict" error. Is there a best practice of checking if an items is being edited, and if so, wait with updating?

 

Thank you for your help!

 

regards

Charles

 

1 ACCEPTED SOLUTION

Accepted Solutions
tom_riha
Super User II
Super User II

Hello @Charles-v-D ,

I'd add a 'Delay' action for 5 minutes in both of the branches that would run after the 'Update' action if it has failed, and after the 'Delay' I'd repeat the update. The idea is that if there's saving conflict, one branch will do the update, the other will fail. So the one that will fail will wait for 5 minutes and then do update again.



[ If I have answered your question, please Accept the post as a solution. ]
[ If you like my response, please give it a Thumbs Up. ]

[ I also blog about Power Automate solutions even for non-IT people. ]

View solution in original post

2 REPLIES 2
tom_riha
Super User II
Super User II

Hello @Charles-v-D ,

I'd add a 'Delay' action for 5 minutes in both of the branches that would run after the 'Update' action if it has failed, and after the 'Delay' I'd repeat the update. The idea is that if there's saving conflict, one branch will do the update, the other will fail. So the one that will fail will wait for 5 minutes and then do update again.



[ If I have answered your question, please Accept the post as a solution. ]
[ If you like my response, please give it a Thumbs Up. ]

[ I also blog about Power Automate solutions even for non-IT people. ]

View solution in original post

@tom_riha Thanks Tom! Will try

 

regards

charles

 

Helpful resources

Announcements
Process Advisor

Introducing Process Advisor

Check out the new Process Advisor community forum board!

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

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Users online (2,198)