Hi all,
I'm running a flow where there is a parallel flow. In both branches of the flow there is an "update item". when the flow runs the two Update actions trigger at the same time. This causes an update error as the first Update is still working while the other is starting...
error message:
One solution to your issue is as follows:
If you use the do uuntil loop, you should probably click on "change limits" and consider changing the default settings of 60 and 1 hour.
This obviously makes diminishes the value of the parallel action. However, unless you take this or a similar action, you are likely o run into contention issues because both action are attempting to update the same record at about the same time.
Thank for the quick answer. Based on my limited knowledge on this; I would interpret your solution to "cause" that if branch 1 has not reched the update (a approval is pending and has not been answered yet).. the second branch (where the parallel approval might already has received answer) would never be updated.. until answer from branch 1 is completed.....
I'm in need to have item updated immediatly after receiving approval request response in each of my branches...
Any ideas on how I should approach this?
Thanks
Charles
I believe that your description of my suggestion is accurate.
However, after seeing your Flow, I am having trouble understanding why there is an issue. It is unlikely that both approvers would approve at exactly the same time.
That said, here are two additional options:
Click on the elipses for the update item action and click on settings. Then you can experiemnt with the retry policy. In my example below, I selected Fixed interval. I haven't tested this as a solution, but it is worth a try.
As another alternative, you can configure a second update item action and configure the "run after" setting as follows:
If you go with this approach, there may be other changes required in your Flow as well.
@Charles-v-D @ScottShearer I found this conversation to be very helpful. I have a Flow with 11 parallell paths kicking off at the same time and was encountering multiple "save conflicts". As a starting point, I have added a unique delay to each path (5 seconds, 10 seconds, 15 seconds, etc) to space them out. We'll see how this goes. Good to have the other options mentioned in reserve if I need something more.
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
Announcing a new way to share your feedback with the Power Automate Team.
Learn to digitize and optimize business processes and connect all your applications to share data in real time.
User | Count |
---|---|
43 | |
18 | |
15 | |
14 | |
13 |
User | Count |
---|---|
69 | |
37 | |
28 | |
21 | |
19 |