Hi there, can someone approve that if I have a Boo...
# ask-a-descoper
s
Hi there, can someone approve that if I have a Boolean custom attribute, that an empty value will be resolved as false in a flow condition? I can't find this in the documentation.
n
Hey Serhii, I am currently testing this, but in theory a boolean with an empty value should return as false. Have tried this with a conditional within a flow, and am showing that an empty value will result as false. Question on the configuration here: How are you setting the custom attribute value? Through a JWT template?
s
Hi @Nick Rodriguez, I have existing users and added a new custom attribute to users via Terraform. After adding, they have an empty. Also, I have a flow where this field is used. I did some tests also, and it seems it's resolved as false, but I just want to make sure that I understand everything correctly.
n
Got it. Yes, that will work. I will make sure this gets added to our docs. Thanks for pointing this out!
🙌 1