Forum Discussion

arvindnsn's avatar
arvindnsn
Contributor
2 years ago
Solved

Route object value from a list of values

Hello,   I have a Snowflake select Snap that outputs values of "ABC", "AEC", "ANC", "ABK", "AMT", "AGT". I have the output stored in a mapper variable called "src_name". In the next Router Snap, I h...
  • SpiroTaleski's avatar
    2 years ago

    arvindnsn 

    You can try: 

    ['ABC', 'AEC', AMT'].indexOf($src_name) != -1

    ['ANC', 'ABK', AGT'].indexOf($src_name) != -1

    BR,

    Spiro Taleski