Unable to get IF logic to work

Hi, I have a simple workflow where Set ran on a false condition.

However based on the condition, the IF should returned as true as I’m comparing an expression which return true against a string value of true.

I tried to enclosed the true value with single quote or double quote but none works. I tried both string and boolean condition yet no difference. Any idea what’d I set wrongly?

Did you try:

{{ $node["Call MakeUploadAvailable"].json["value"].toString() }}


Thanks and it works! I’m not familiar with js, and I thought the return value is always string as the sample workflow ie. Check Website for Value… doesn’t use to .tostring() function either.

Great to hear that it works!

Values can be of any type so sometimes it is needed to convert them like here.

Have fun!