How do I set a yes/no field value via dropdown?

I have a field that’s a yes/no field and then I have a dropdown on the page with static choices, yes or no. But when I do a workflow to set the field with this dropdown’s value, all I get is either yes, or no, but if I pick “this dropdowns value” it goes red and won’t work?

image

image

1 Like

The yes and no values in your drop down are text, and therefore not compatible with your yes/no field.
Try this in your workflow:
Include an “only when the dropdown = yes” to set the value “= yes”, and a corresponding “only when” for the no option.

1 Like

Hi did you find a solution to this problem as I have the same issue and cant seem to figure it out.
Any help would be appreciated!
Thanks!

Did you figure this one out?

Try using an option set instead. Create an option set: Display = yes, value=yes (type yes/no), Display=No, value=no (type yes/no). And in the dropdown use dynamic choices (the option set created)

8 Likes

Thanks Diego. I had the same issue and this worked for me.

Why is there so much retro Boolean questioning this afternoon/evening? Might be old but surely still relevant:

1 Like

Finallyyyy!! Thanks mate

Hey Diego, Im not seeing “option set” under my elements, where can I find that?

Option Sets are under ‘Data’ tab => ‘Option Sets’ on the submenu

1 Like

oh okay, thank you!