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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / loading screen when po...
Power Apps
Answered

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:
  • 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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 221 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 188 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 120

Last 30 days Overall leaderboard