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 / Stuck at Custom Versio...
Power Apps
Suggested Answer

Stuck at Custom Version Checking Screen

(0) ShareShare
ReportReport
Posted on by 49
Hello, I use a version checking in my Power App that basically looks like this:

 
On start, the app will set a variable that is its version number. I also have a SharePoint list that stores the app's newest version number.
Basically, this screen will check if the user uses the recent version of the app by comparing their app's version number with the number on the SharePoint list.
If they don't, they will be redirected to a screen that tells them to update the app.
Everything goes well... until a very few people get this error:
 


As you can see from the screenshot, they've used the recent version of the app. Yet, they're stuck at the version-checking screen.
And this only happens to very few people. Everyone but these two don't encounter this error.
 
Edit:
As for the code, this is the line that runs on start:
 
Set(varAppVersion, "1.6.01");
 
and this is the code that makes the redirection:
 
If(
     varAppVersion = LookUp(
         'PowerApps Database',
         'App Title' = "App A",
         'Version Number'
     ),
     Navigate(SuccessScreen),
     Navigate(IncorrectVersionScreen)
 )
 
It's a button, which autoclicks and navigates into the above screen when the screen is Visible.
Also, the 'Version Number' column is a text column.
 
Does anyone have any idea why this happened?

Thanks in advance.
Categories:
I have the same question (0)
  • ronaldwalcott Profile Picture
    3,862 Moderator on at
    Show the code that you using to retrieve the app version information and comparing the app version numbers.
  • devinpal Profile Picture
    49 on at
    This is the line that runs on start:
     
    Set(varAppVersion, "1.6.01");
     
    and this is the code that makes the redirection:
     
    If(
         varAppVersion = LookUp(
             'PowerApps Database',
             'App Title' = "App A",
             'Version Number'
         ),
         Navigate(SuccessScreen),
         Navigate(IncorrectVersionScreen)
     )
     
    It's a button, which autoclicks and navigates into the above screen when the screen is Visible.
    Also, the 'Version Number' column is a text column.
  • ronaldwalcott Profile Picture
    3,862 Moderator on at
    Do these users have access to the SharePoint list containing the app version?
  • Suggested answer
    AndrianaO Profile Picture
    213 Moderator on at
    I guess your problem can have something to do with setting the variable within OnStart property. In the documentation you can find the following: 
     
    By default, when the non-blocking OnStart rule is enabled, it allows the OnStart function to run simultaneously with other app rules. Consequently, if variables referenced in other app rules are initialized within the OnStart function, they may not be fully initialized yet. 
     
    My suggestion will be to move   Set(varAppVersion, "1.6.01") from OnStart property to OnVisible, right before you autoclick the button​​​​​​​. 
     
    Let me know if this works! 
  • Suggested answer
    devinpal Profile Picture
    49 on at
    I see, that makes sense. As for now I'll try to apply that solution, but I think it will take some time to decide whether the problem is solved or not because the error randomly appears (sometimes it appears, and sometimes it doesn't)

    Thank you very much for the reply!
  • AndrianaO Profile Picture
    213 Moderator on at
    I wanted to ask if the problem was resolved or if you need further assistance.
    Let me know if I can help you! 
     

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
Haque Profile Picture

Haque 103

#2
WarrenBelz Profile Picture

WarrenBelz 82 Most Valuable Professional

#3
wolenberg_ Profile Picture

wolenberg_ 67 Super User 2026 Season 1

Last 30 days Overall leaderboard