Workflow set value to no when yes and yes when no

I have a repeating group with images in it. When a user clicks an image I would like a related value added to a list on the current user. Then if the user clicks the same image again that value should be removed.

I fire a workflow from the image click.
I have an action that says Add value to list on current user with a condition that says only if value is not in that list.

A second action then says Remove value from list with condition only if that value is in the list.

The obvious problem is that the first action adds it then the second action immediately removes it.

Any ideas how to make this work?

Thanks

Hi there, @solutions-lc… instead of having multiple actions within the same workflow event. set up multiple workflow events and put the conditions at the event level, and you should be good to go.

Hope this helps.

Best…
Mike

1 Like

Got it, yep. Didn’t realize I could do that, just evaluating it.

Cheers!!

1 Like

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