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. ]

@tom_riha Thanks Tom! Will try

 

regards

charles

 

Helpful resources

Announcements
 WHAT’S NEXT AT MICROSOFT IGNITE 2022

WHAT’S NEXT AT MICROSOFT IGNITE 2022

Explore the latest innovations, learn from product experts and partners, level up your skillset, and create connections from around the world.

Register for a Free Workshop.png

Register for a Free Workshop

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

Users online (1,982)