Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
(row1.JOINING_DAY.equals("Mon")?"Monday":row1.JOINING_DAY
row1.JOINING_DAY.equals("Tue")?"Tuesday":row1.JOINING_DAY
row1.JOINING_DAY.equals("Wed")?"Wednesday":row1.JOINING_DAY)
Hello,
For your requirement, could you please elaborate your case with an example with input and expected output values?
You could use ternary operator (if / else statement) in tMap component.
In the Expression Builder, the if / else statement can be written as follows:
condition?value if true:value if false.
Please have a look at this KB article about: https://community.talend.com/s/article/tMap-expression-syntax-TCiHW
Feel free to let us know if it is what you are looking for.
Best regards
Sabrina