I created a Flow months ago and everything worked fine.
Last week it began to get stuck, without doing any changes.
If I try to find out which step is causing it, I can't. Because the step is greyed out. Usually there would be a yellow icon indicating that the step is currently being executed, but not here.
Does anyone know why that is? in that For Each loop I have a couple validators and send emails, nothing too complicated.
Recently I had some problems with the Email connector, but I tried making a new connector and it doesn't work, so I'm lost.
I guess the problem is.. the array assigned as input to 'Aplicar a cada uno 2' is empty.
So, it is displayed in grey.
You can doublecheck it by adding a dummy 'Compose' -REdactar- action block just between both 'Appy to each' -'Aplicar a cada uno'- assign as its input the same array you are assigning as 'Aplicar a cada uno 2' input, then reexecute the flow and inspect 'Compose' contents.
Thank you for your help, I hadn't think about that.
But I tried printing the output of the array and it has info about a Sharepoint element, just how it should be.
I tried puting an approval and an email before the loop to see if it got stuck there, but it no.
It only gets stuck on the loop
The only thing I can think of is creating the flow all over again.
"I tried printing the output of the array and it has info about a Sharepoint element, just how it should be."
So what does it look like? Can you share a screenshot from your dummy Compose output?
I believe your final 'Apply to each' has been executed 0 times, meaning the array input was empty.
You can add an intermediate dummy 'Apply to each' in between the 2 ones on your current design, assign the same array as its input, and add a dummy Compose action blok inside, just for troubleshooting purposes. So the dummy logic of this new 'Apply to each' will be executed as soon as the input array is not empty
Sure, here you have them.
1. Redactar has the same input array as the loop.
2. You can see the array is not empty because it has the info of a sharepoint element.
3. I put the Redactar inside the same kind of loop.
4. It works, doesn't get stuck and prints the info correctly.
Explore the latest innovations, learn from product experts and partners, level up your skillset, and create connections from around the world.
Learn to digitize and optimize business processes and connect all your applications to share data in real time.