cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
U_Idigoras
Helper I
Helper I

Flow gets stuck with no indication

Hi,

 

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.

Screenshot_1.png

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.

4 REPLIES 4
efialttes
Super User
Super User

Hola!

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.

¡Ánimo!

 



Each time you click on any of our inspiring answers 'Thumb up' icon...
...an ewok scapes from the stormtroopers.

Be grateful, Thumbs up! Save the Galaxy for free!


Escribo sobre Power Automate en:
https://medium.com/anyone-can-automate/

Proud to be a Flownaut!



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.

Hi 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

¡Ánimo!



Each time you click on any of our inspiring answers 'Thumb up' icon...
...an ewok scapes from the stormtroopers.

Be grateful, Thumbs up! Save the Galaxy for free!


Escribo sobre Power Automate en:
https://medium.com/anyone-can-automate/

Proud to be a Flownaut!



Sure, here you have them.

 

1. Redactar has the same input array as the loop.

The best input array: Value (from the sharepoint GetItems)The best input array: Value (from the sharepoint GetItems)

 

2. You can see the array is not empty because it has the info of a sharepoint element.

The array has a Sharepoint list element, with all the columns infoThe array has a Sharepoint list element, with all the columns info

 

3. I put the Redactar inside the same kind of loop.

If I put the print inside the same loopIf I put the print inside the same loop

 

4. It works, doesn't get stuck and prints the info correctly.

It works, the array isn't emptyIt works, the array isn't empty

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 (3,524)