How to check two conditions in exclusive or gateway


i want to check two conditions on the same exclusive or gateway path how cna i do that ?

for example
i am checking A & B is true then go ahead
i dont want to use two exclusive gateways one after the other but rather do the check at the same time

can i do this ?

Hi @vishucamunda,

you can have a look at the original documentation here:, which links to, and shows the operators.

Either #{(A==2) and (B==2)} or #{(A==2)&&(B==2)} are valid expressions.

Hope this helps, Ingo

it works ingo thanks

whats the right way to pass the variables in the gateway path

is it #(someVariable) or $(someVariable)

Hi @vishucamunda,

you can use either ${someVariable} or #{someVariable}.

Both, $ or # are allowed, but you have to use curly brackets.

Hope this helps, Ingo

hi ingo

i am using the same way but for some reason it works for other decision gateway but when i use the same condition for decisiongateway-2 in the same flow it doesnt work
#{(notificationNeeded) and (applicationDeclined)}

where am i doing it wrong can you please correct me