Announcements
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);
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
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
If(varShowSpinnerText="Yes", false, true)
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?
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
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.
Congratulations to our community stars!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
11manish 221 Super User 2026 Season 2
WarrenBelz 188 Most Valuable Professional
Mohsin Ali 120