Hello, is there a way to toggle a yes/no state?
Yes,
If its a custom state, you create two workflows on button press
- If the current state is no - add a set state action to change it to yes
- If the current state is yes - add a set state action to change it to no
If its a field in the database, you can enable autobinding (if you are using a checkbox etc)
Connect with me:
hello, thanks for your time, when i do that both events trigger at the same time meaning by default the yes/no state is at “no” when the user clicks “it changes to yes” then instantly back to “no”. I want it to go back to no when the user clicks on the element.
There’s no need to use 2 workflows for this…
Just set the custom state to its current value is no
- that will toggle the value.
Use two workflows and put each different action inside one, and move the conditions to the workflow itself instead of putting it on the action. That’s should work!
Don’t use 2 workflows for this.
that worked thanks a lot
This topic was automatically closed after 70 days. New replies are no longer allowed.