Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
How to implement IF logic with IN clause in tMap?
I have to check if the country names is in either of ("DE","AT","CH","FR") then E1 else NULL.
The below logic is giving compilation error.
row1.iso_name.equals("DE","AT","CH","FR")?"E1":null
Try this
row1.iso_name.matches("DE|AT|CH|FR") ? "E1" : null