Add and remove custom state

Hi Everyone :slight_smile:

I’m trying to create a workflow on a button so that when you click it once it adds the item to the custom state and then when you click it again it removes it from the custom state.

When the item is in the custom state the button will be highlighted.

I can seem to click and it gets added to the custom state and is highlighted, but when I click it again it is not removed from the custom state

Workflow
Step 1


Step 2

Buttons Conditionals

Any advice would be much appreciated!

Thanks

You need to create two wf and put the condition in the wf. Conditions will look like state contain Graduate and in the wf it will be minus item. Second wf will.be doesnt contain and plus item

2 Likes

Thanks Jici, this has worked perfectly!

1 Like

This topic was automatically closed after 70 days. New replies are no longer allowed.