web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Power Apps - Building 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.
I have the same question (0)
  • ronaldwalcott Profile Picture
    3,847 Super User 2025 Season 2 on at
    Stuck at Custom Version Checking Screen
    Show the code that you using to retrieve the app version information and comparing the app version numbers.
  • devinpal Profile Picture
    49 on at
    Stuck at Custom Version Checking Screen
    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,847 Super User 2025 Season 2 on at
    Stuck at Custom Version Checking Screen
    Do these users have access to the SharePoint list containing the app version?
  • Suggested answer
    AndrianaO Profile Picture
    213 Moderator on at
    Stuck at Custom Version Checking Screen
    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
    Stuck at Custom Version Checking Screen
    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
    Stuck at Custom Version Checking Screen
    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

Coming soon: forum hierarchy changes

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

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 314 Super User 2025 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 253 Super User 2025 Season 2

Last 30 days Overall leaderboard