How to set the state back to default on the second click

I am able to create states and set my workflows e.g. when this button is clicked it sets the state of the button, but how do I reset it back to the original state on the second click of the button?

You can solve this by following these few steps -



If your problem is solved by following this solution, then request you to mark this as a solution.

All the best!

If you are talking about a boolean state, there is an easier way to do this. You can check it out here.

1 Like