Hi,
I was wondering if there is an option you can select to watch what is happening inside an "Apply to Each" loop.
I have a flow that performs several action inside a loop, however the loop keeps timing out so I am unable to see what the problem is.
When the flow runs all you see is the following:
Clicking Next failed and Previous failed does not show anything either.
Is there an option to allow me to see what is running in the loop in real time?
Thanks
Solved! Go to Solution.
So when the loop times out you aren't getting any results from the loop at all? If so here are two options
1) Add the loop to a scope and set two parallel branch actions to run after the scope. Set one todo what you normally would do and set the other to run on time out. Then in that action run results('scopeName'). That should give you an object with any error message that occurred during the scope.
2) Temporarily filter the array that the loop runs on to just a couple rows. That should let the loop run without timing out so you can see how long each loop takes. That should help pinpoint why its timing out.
There is no way to see inside the loop while its running as far as I know. But on Next failed after the run stops should show you any problem actions inside the loop. Normally it will be something inside the loop causing the failure and not the loop itself. You may also need to add some strategic Compose statements to look at the values being evaluated in things like Conditions.
Thanks for the response
The flow is simply timing out so I don't have any error information to go from.
I've altered the run after options to All4 options to see if I can get to a point where I get a failure but no luck. It would be really useful to see where the stall is taking place.
So when the loop times out you aren't getting any results from the loop at all? If so here are two options
1) Add the loop to a scope and set two parallel branch actions to run after the scope. Set one todo what you normally would do and set the other to run on time out. Then in that action run results('scopeName'). That should give you an object with any error message that occurred during the scope.
2) Temporarily filter the array that the loop runs on to just a couple rows. That should let the loop run without timing out so you can see how long each loop takes. That should help pinpoint why its timing out.
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
Learn to digitize and optimize business processes and connect all your applications to share data in real time.
User | Count |
---|---|
30 | |
29 | |
29 | |
21 | |
11 |