Not change Ionic toggle value in workflow

Okay, so the answers above from @nocodeventure & @meyerhd2 are partially correct, you do need to reset the state for it to work, but that is only part of the issue. As you can see here, I have both the button and the toggle flipping the custom state back and forth but as soon as I use the toggle, it no longer works dynamically and only changes upon manual input

The real issue is that when you use the toggle manually it’s PRESET STATUS is overridden. Fortunately, it’s an easy fix :slight_smile:

Right-click on the toggle and click Group elements in a Group

image

An empty group is fine, no need to set content

image

In your workflow, simply add a step to reset the group containing the toggle before changing the custom state’s value. This will reset the toggle to it’s preset status and make it dynamic again.

image

image

There you go. Working perfectly!

11 Likes