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 / Onstart not waiting fo...
Power Apps
Unanswered

Onstart not waiting for workflow response and go aheads code

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi All

 

Good day 

 

Actually im facing an issue which is driving me crazy 

Actually i have used a flow onstart of application 

wherin code is set(gblflowresponse,flowname.run(Parameter).response))  and next based on this gblflow response i have to decide what screen user has to navigate 

I have added timer control aswell of 10 sec delay but still its not working out right way for me 

i want it should wait till response is set 

but problem is flow runs but it doesnt wait for resonse to set and goes ahead with next line of code which is  causing lot of abnormal feature 

would request you to help me here 

Categories:
I have the same question (0)
  • v-bofeng-msft Profile Picture
    Microsoft Employee on at

    Hi @Anonymous ,

     

    That is not available. Global variables and collections, including those created in OnStart, are not available in StartScreen. There are declarative alternatives for doing this that are on the way. 

    vbofengmsft_0-1677032241180.png

    The alternatives I can offer are create a blank screen as the start screen and add a timer or a toggle to wait for the flow to runs. Trigger the event(judging the result of the flow and navigate) via the ontimerend property of the timer or by changing the value of the toggle to trigger its onchange property.

     

    Best Regards,

    Bof

     

     

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

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 379 Most Valuable Professional

#2
11manish Profile Picture

11manish 203 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 128 Super User 2026 Season 2

Last 30 days Overall leaderboard