cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
chaitanyaChavan
Level: Powered On

Toggle Control

I have two toggle switch in a gallery.

The first one(CompletedTask) is used to filter the gallery as per criteria.

The second toggle is (TaskComplete) used to patch value back to SQL.

 

The problem I am having is when check the TaskComplete toggle, it patches true back to SQL and the record is gone from the list. When I check the CompletedTask Toggle, I see that record. However when I uncheck the CompletedTask Toggle to see the remaining task list, the top most record is automatically marked as taskcomple to true back to SQL.

 

Why is the first toggle even trying to control the second toggle and trying to patch when the list is just filtering as per the first toggle?

1 REPLY 1
Super User
Super User

Re: Toggle Control

Hi @chaitanyaChavan,

First, make sure both toggles are inside the gallery. Please post the location of the patch function in the toggle’s property, ie OnChange, OnCheck,etc. and finally the actual Patch() functions in order to troubleshoot your problem. Also, why do you have two toggles when you can have one do both functions?

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

Top Kudoed Authors
Users Online
Currently online: 133 members 5,270 guests
Please welcome our newest community members: