Hi, @Aminegac,
If/else statement
In the Expression Builder, the if / else statement can be written as follows:
condition?value if true:value if false
You can perform a null test before calling a Java method; otherwise, it will throw a null pointer exception if the input data contains a null value. For example:
row1.Postal_code==null?null:row1.Postal_code.toUpperCase()
Hope this helps.
To learn more about Talend' it's recommended to join Talend training today.
Thanks.