Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
Unanswered

Apply to each got stuck and the flow is not getting completed.

(0) ShareShare
ReportReport
Posted on by 4

Hi All,

I am creating a power automate workflow for sending reminder emails with attachments for those list items based on their expiry date. Required people should be receiving those emails between 15 to 30days before the expiry date.

But it has got stuck in apply to each loop and the flow is not getting completed, can you all help me to resolve it at earliest.ss3.jpgss4.jpgss5.jpgError ScreenshotError Screenshot

  • Nived_Nambiar Profile Picture
    17,497 Super User 2025 Season 1 on at
    Re: Apply to each got stuck and the flow is not getting completed.

    Hi @Indrani 

     

    yes when attachment file is large, it may take some time to get the content.

     

    Regarding the BadGateway issue, i think it may be api issue, you can try after some time , it would work 🙂

     

  • Indrani Profile Picture
    4 on at
    Re: Apply to each got stuck and the flow is not getting completed.

    Hi @Nived_Nambiar,

     

    thanks for replying!!

    yeah some of them are big but most of the attachments are not more than 2to 3 MB. Also when the the flow is running automatically I am getting bad gateway error(please refer the screenshot attached). Please help me out with the solution. ss8.jpg

  • Nived_Nambiar Profile Picture
    17,497 Super User 2025 Season 1 on at
    Re: Apply to each got stuck and the flow is not getting completed.

    Hi @Indrani 

     

    is the attachment size is big ?

     

     

  • Indrani Profile Picture
    4 on at
    Re: Apply to each got stuck and the flow is not getting completed.

    actually in every list items there are more than 1 attachment, so every time I am running the flow its stuck at one place i.e at apply to each action that too it going on, never ends.

    Any resolution for this will be highly recommendable.

  • Nived_Nambiar Profile Picture
    17,497 Super User 2025 Season 1 on at
    Re: Apply to each got stuck and the flow is not getting completed.

    Hi @Indrani 

     

    It is not error, flow is just taking some time, if i am right it may stucked on get attachment content, may be depending on file size or sometimes to system issue 

    Is the filesize is too large ?

     

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,601 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,942 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow