cancel
Showing results for 
Search instead for 
Did you mean: 

How to use AND in expression

amit_saroha
New Contributor III

Hi All,

I have two outputs coming from a mapper snap and I want to check some condition checks e.g.

output 1 output2
A B Then route to output 1 of router snap
A C Then route to output 2 of router snap
B C Then route to output 3 of router snap

How to write such a condition, please suggest.

2 REPLIES 2

koryknick
Employee
Employee

Hi @amit.saroha - I think you are looking for the && (AND) operator. For a full list of operators, take a look at the first table in the Understanding Expressions in SnapLogic documentation

jcornelius
New Contributor III

be aware of the other conditions where the are all equal (true or false), ie 00-11 conditions for 2 inputs
ie do you want both routes to be taken when A B and B C…may need to use “First Match”