cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Divya_R
Frequent Visitor

How to execute "Run OnStart" step while variable value changes

Hi Team,

 

I have created a boolean global variable on start of app and updating the value of that variable with a textbox on another screen.

 

However, when I change the value, it needs a trigger of "Run OnStart" to update the variable value.

 

There's an admin who have access to that screen and can update the value and that value should remain intact inside the app for others.

 

variable on start of app

Set(
    isEnabled,
    TextBox2.Value
);

 

Is there any alternative way to fix this? Can I refresh the app with Refresh() function? 

 

Really appreciate any help with this!

 

Thank you!

10 REPLIES 10

Hi @v-jefferni,

 

It make sense. Thank you very much for the clarification. 

 

Helpful resources

Announcements
PA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.

Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

May UG Leader Call Carousel 768x460.png

What difference can a User Group make for you?

At the monthly call, connect with other leaders and find out how community makes your experience even better.

Top Solution Authors
Top Kudoed Authors
Users online (3,071)