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

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

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.

MPA Licensing.jpg

Ask your licensing questions at the Power Automate AMA!

Join Priya Kodukula and the licensing team, super users and MVPs to find answers to your questions on Power Automate licensing.

Users online (1,685)