How can I use boolean variable in flow condition?

I have a variable whom type is boolean. I want to use it in gateway. However when I use it as ${variable==true} , system gives an error which is shared in below.


How can I solve that?

As far as I can see, you used square brackets on the left side while expressing the condition. Could this be the cause of the problem? As a solution, you should turn the square brackets into curly brackets.

1 Like

Thank you, yes its my mistake. It has been fixed by correcting brackets.