Why True/False Split always goes to True Path?

Hi,

I’m trying to Display and Show a component based on a Dropdown selection of YES or NO.

But when I try the True/False split in workflows, It is always goes to the True Path. I couldn’t figure put why was that. Is anyone has any idea on this

Hello @SNeJ :wave:

I think this is because your formula is returning "true" or "false" (strings) instead of true or false (booleans)

Can you try writing your formula without the quotes?

1 Like

Yes, I second Joyce, it should be without quotes, because the True/False split most likely expects a boolean type of input and you’re passing a string type of parameter. In that case, I’m guessing it will evaluate in a truthy way, meaning that it will return you always true, because the string exists, unless the string would be undefined or null, then it would evaluate this as falsy, meaning that there is nothing, or it doesn’t exist, thus resulting in the false branch.