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
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

May UG Leader Call Carousel 768x460.png

June User Group Leader Call

Join us on June 28 for our monthly User Group leader call!

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.

PA.JPG

New Release Planning Portal (Preview)

Check out our new release planning portal, an interactive way to plan and prepare for upcoming features in Power Platform.

Top Solution Authors
Users online (3,168)