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 Platform Community / Forums / Power Apps / Variable value correct...
Power Apps
Unanswered

Variable value correct, but Action behavior Not working

(0) ShareShare
ReportReport
Posted on by 23
I am having lots of difficulty with my app maintaining its functionality & data.  
 
For instance, at times, usually when I have not accessed the app in a day or so, I may open up the app, and the Edit Form that I designed, with snap to columns engaged, suddenly has shifted and some fields are in different areas, some have changed their shape & size and it looks like a jumbled mess.  
 
Other times, there may be a variable that is set to false, and that variable is used to make a text label visible.  The variable is in the Visible field of the component, set to false, yet the label is visible.  If I delete the variable out of the Visible field, and just paste it right back in there - suddenly it works again.  
 
So many random issues like that - and it's to the point that I don't want to push this app out to my team for use because it may at any given time just do random things like this.  
 
I did read where sometimes if sources are updated it will cause this but it happens even when nothing was updated.  Anyone else experience? and/or solved it? 
Categories:
I have the same question (0)
  • ronaldwalcott Profile Picture
    3,847 Super User 2025 Season 2 on at
    Variable value correct, but Action behavior Not working
    Are you generally using global variables or context variables?
    If global are they initialized in the OnStart?
    Do you leave the app open and resume or close it and restart? 
  • jyounce Profile Picture
    23 on at
    Variable value correct, but Action behavior Not working
    @ronaldwalcott - I use both global & context variables.  The particular variables in the example above with the visible property, is a context variable.  It is defined with UpdateContext in the OnVisible screen to true   --  UpdateContext({variablename:true}).  And when I hover over the variable or look in the Variable side bar, it says the value is true.  And I click into the field in the Visible part of the component, and hover over the variable, it says its value is true.  
     
    Everything points to true, yet the component is not visible.
  • ronaldwalcott Profile Picture
    3,847 Super User 2025 Season 2 on at
    Variable value correct, but Action behavior Not working
    Do you leave the app open and resume or close it and restart? 

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

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 322 Super User 2025 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 209 Super User 2025 Season 2

Last 30 days Overall leaderboard