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 / Global Variables on (R...
Power Apps
Unanswered

Global Variables on (Run OnStart) are no longer working

(0) ShareShare
ReportReport
Posted on by 35

I have an APP that quit retrieving the global variables on Run Onstart. This happened for no apparent reason and I cannot figure out how to troubleshoot it. I have reverted back to a previous version of the App (didn't solve it); I disconnected and reconnected the data sources (didn't solve it either); 

 

 

TS.JPG
Categories:
I have the same question (0)
  • CapstoneAdmin Profile Picture
    125 on at

    I was running into something similar, so I put it in the OnVisible of the first screen instead, and it seemed to work. Strange things. I do think that even when it wasn't working properly in the editor with the global variables in the OnStart, it might have still been working in the published version of the app for the users.

     

    The other method you might try that has been a failsafe for me is to set the variables in the OnSelect value of a button, and set the Visible property of the button to false. Then, in the OnVisible of the first screen, put Select(Button1) to trigger the code.

     

    Gotta love workarounds 🙂

  • Kathomsen Profile Picture
    35 on at

    Resolved - I spotted the error.

     

  • Kathomsen Profile Picture
    35 on at

    Thanks for responding. I didn't look for enough down the on start code for a missing paren. (Sometimes the simplest of things trip you up after resolving more complex issues : )

     

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

#2
11manish Profile Picture

11manish 225 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 211

Last 30 days Overall leaderboard