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 / loading screen when po...
Power Apps
Unanswered

loading screen when power automate is running.

(0) ShareShare
ReportReport
Posted on by 141

Hi, 

Need your help. as I have loading screen with spinner ready and button that use Power Automate flow is there already as it run no problem. 

There is slightly problem. When I click the button. the loading screen does appear but only less the second. But the power automate still running. 

How do I make loading screen running until the Power Automate is complete? 

Here the code that use:

Set (LoaderSpinner, true);

PowerAutomateFlow.Run(ID);

Set(LoaderSpinner, false);

Categories:
I have the same question (0)
  • NandiniBhagya20 Profile Picture
    4,667 Super User 2024 Season 1 on at

    Hi @spiderkzn ,
    What you will have to do is to add Respond to Power Apps action at the end of the flow with a boolean type set to true. 
    In PowerApps, update the call formula - 
    Set(showSpinner, false); Set(varShowSpinner,PowerAutomateFlow.Run(ID)) //after the flow will be completed it will return true

    In visible property of spinner add below formula - 

    !showSpinner

  • NandiniBhagya20 Profile Picture
    4,667 Super User 2024 Season 1 on at

    Here is the updated one:

    What you will have to do is to add Respond to Power Apps action at the end of the flow with a text type set to "Yes". 
    In PowerApps, update the call formula - 
    Set(varShowSpinnerText, "No"); Set(varShowSpinnerText,PowerAutomateFlow.Run(ID)) //after the flow will be completed it will return true

    In visible property of spinner add below formula - 

    If(varShowSpinnerText="Yes", false, true)

  • spiderkzn Profile Picture
    141 on at

    Thank you for reply. Can you clarify about "add respond to Power Apps section at the end of the flow with text type set to "Yes". 

    Do you mean I need add something in Power Automate flow? How I do that? 

  • Verified answer
    NandiniBhagya20 Profile Picture
    4,667 Super User 2024 Season 1 on at

    Yes, you will have to edit your flow named "PowerAutomateFlow" and add an action at the end of the flow - "Respond to a PowerApp or flow".
    In that action select Text property and name it spinner and in the value pass Yes.
    In your app do the following - 

    Set(varShowSpinnerText, "No"); Set(varShowSpinnerText,PowerAutomateFlow.Run(ID).spinner) //after the flow will be completed it will return true

    In visible property of spinner add below formula - 

    If(varShowSpinnerText="Yes", false, true)

  • spiderkzn Profile Picture
    141 on at

    Thank you! it work.

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 796 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 327 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard