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
Super User

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
Super User

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
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Users online (2,663)