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 / Show loading Spinner u...
Power Apps
Unanswered

Show loading Spinner until a flow completes

(0) ShareShare
ReportReport
Posted on by 61

I need to show a loading spinner until a power automate flow completes on click of a button..

I have given the following code:

Set(SpinVisible,true);

Flow.Run(par1,par2);

Set(SpinVisible,false);

on the spinner's visibility property: SpinVisible

But this is not working ..The spinner is visible on click of the button but as soon as the flow starts it disappears while the flow is still running.

@Pstork1 

@RezaDorrani 

@RandyHayes 

 

Categories:
I have the same question (0)
  • Tamer66 Profile Picture
    228 on at

    Hi @Kiruthika22 

     

    take a animated gif spinner or progressbar (you can find many free gifs). Place it on your screen via image container.

     

    onstart: from your screen

    - updatecontext({showSpinner: false}) 

     

    visible: on your Image use showSpinner

     

    Place at the beginning from your flow in your code

    - updatecontext({showSpinner: true})

    And on the ende from your flow in your code

    - updatecontext({showSpinner: false})

     

    This works for me fine and i use this method

     

    Hope it's helps

     

    Regard

    Tamer

  • LuizVicente Profile Picture
    984 Super User 2024 Season 1 on at

    You can also use the Power Automate Respond to PowerApps action for your app to check the value returned by the flow (error, success, etc).

     

    Return data to PowerApps from a flow, build lists in a flow, and test a flow with previous run data | Power Automate Blog (microsoft.com)

  • MVP-Phipps Profile Picture
    3,508 Super User 2024 Season 1 on at

    @Kiruthika22 use Power Automate Respond to PowerApps action for your app to check the value returned by the flow. You then show loading spinner and execute flow. After response you then set loading spinner visible to false.

     

    Please Accept as Solution if it solves your question. Or just give it a Thumbs Up if it is helpful because this can help others.

    LinkedIn: https://www.linkedin.com/in/charlie-phipps-%F0%9F%91%A8%E2%80%8D%F0%9F%92%BB-91338715b/
    YouTube: https://www.youtube.com/channel/UChmFBGU1YKIU91sNMQ7buGg
    Twitter: https://twitter.com/phipps0218

  • Kiruthika22 Profile Picture
    61 on at

    Thanks @Tamer66 .

    I tried the same but its not working for m.

     

  • Tamer66 Profile Picture
    228 on at

    Hi @Kiruthika22 

     

    what exactly is the problem? do you get an error message? if so what exactly

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

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 272

Last 30 days Overall leaderboard