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

Update toggle value to true when another toggle value is true

I have a nested if-statement for the Default value for a toggle that is checking the value of a couple of local variables as well as the value of another toggle. I cannot seem to get the toggle to update to true when the other toggle is updated to "true"

 

I am setting the Default value in the target toggle (NotifyAppCustodian) to:

If(isReset,false, isResetNameChange, false, SoftwareAppChanges_Value.Value=true, true, Parent.Default)

 

However, when I change the SoftwareAppChanges toggle to true, the NotifyAppCustodian toggle does not update to true...the rest of the formula works. I am getting a notification on that highlighted part of the formula that says: contorl.png

1 ACCEPTED SOLUTION

Accepted Solutions
janla2112
Frequent Visitor

I solved the issue fairly simply.

I added the following to the OnCheck property of the source toggle, "Software App changes":pic1.png

 

And then added the following into the if-statement of the Default property of the destination toggle, "NotifyAppCustodian":

 

pic2.png

View solution in original post

1 REPLY 1
janla2112
Frequent Visitor

I solved the issue fairly simply.

I added the following to the OnCheck property of the source toggle, "Software App changes":pic1.png

 

And then added the following into the if-statement of the Default property of the destination toggle, "NotifyAppCustodian":

 

pic2.png

View solution in original post

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

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