Icon to add and REMOVE user from field

How do I set up the workflow so that a single icon adds a user to an existing database field and REMOVES a user from the same field.

Assuming that field is a list of Users, just use the ‘Add’ and ‘Remove’ operators.

Yup, what Adam said… and to elaborate a bit, you could have two workflow events associated with the same icon, and each event would have a condition on it. One of the events would run only when the user does not already exist in the field, and that event would include an action to add the user to the field. The other event would run only when the user already exists in the field, and that event would remove the user from the field.

Hope this helps.

Best…
Mike

Thanks for the replies but the two workflow events seem to cancel each other out and nothing happens.

Easy to make the button add a user to a field. Difficult to make the same button remove the user from this same field.

Why is this so dang hard?

Are you using two workflow events or are you talking about two actions within the same event? Two workflow events with the appropriate conditions on them will not cancel each other out. If you can share some screenshots, it will be easier to help.

Thanks guys! This took me way too long to figure out.

1 Like