web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / How to extend the wait...
Power Apps
Unanswered

How to extend the waiting time for a flow

(0) ShareShare
ReportReport
Posted on by 36

Hi!

I'm needing help extending the waiting time for the completetion of a power automate flow. In my app, i'm running a flow that exports a collection to an excel sheet and then opens a new web tab with the excel sheet at sharepoint. The flow works perfectly fine, but when i run it with a collection of more than 100 items (or rows) my app doesn't wait the 5 minutes it takes for the flow to be completed. It shows up the following error:

 

LautaroLopez_0-1697653666250.png

The flow shows this:

LautaroLopez_0-1697653941525.png

 

 

 

How can i extend the time that the app waits so it doesn't show an error if my flow is slow?

 

Categories:
I have the same question (0)
  • WarrenBelz Profile Picture
    153,075 Most Valuable Professional on at

    Hi @LautaroLopez ,

    Return a value from your Flow (it does not matter what) and set a Variable to this

    UpdateContext(
     {
     varFlowRun:
     FlowName.Run(
     . . . . . 
     ).returnedvalue
     }
    )

    and it should cause the app to wait the te Flow to finish

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

    MVP (Business Applications)   Visit my blog Practical Power Apps

  • LautaroLopez Profile Picture
    36 on at

    Hi @WarrenBelz !

     

    I dont understand where to put that formula. This is the formula of the button that begins the use of the flow. How should i modificate it?

     

    LautaroLopez_0-1698146259824.png

     

  • WarrenBelz Profile Picture
    153,075 Most Valuable Professional on at

    @LautaroLopez ,

    I am not sure why you are using Launch() to run a Flow - you would normally (as posted) put the last item of the Flow to respond to Power Apps and then

    UpdateContext(
     {
     varWhatever:
     FlowName.Run(
     . . . . . .
     ).returnedvalue
     }
    )

    The returned value can be anything (I suggest Text) - the only purpose is to make Power Apps wait for the Flow to finish before moving onto to whatever code you want to run next.

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

    MVP (Business Applications)   Visit my blog Practical Power Apps

  • LautaroLopez Profile Picture
    36 on at

    Hi! @WarrenBelz 

    I run it with a Launch( ) because the response from the flow is a link to the excel sheet at sharepoint. That link is called "linkauditoriacompleta"

  • WarrenBelz Profile Picture
    153,075 Most Valuable Professional on at

    Hi @LautaroLopez ,

    OK - then it should wait for the response as it needs it to Launch the item returned. This is what I was talking about when I first responded.

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 721 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 320 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard