Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
hello
i want to do this condition with tmap
Répéter VU_ALIM_TABLEAU_INTEGRATION.DATE + 1 Jusqu’à Date d’expédition - 1
@alevy wrote:
Certainly is. Use standard Java syntax: <boolean test condition>?<then expression>:else expression. For example:
row1.myKey.equals("FirstValue")?1:0
please can anyone help me please and thanks
Hello folks,
How to use this if-else statement in Talend Expression Builder. Please help me on this
If
Trim(( IF IsNotNull((ffr_dcconso_ref_initial.TITLE)) THEN (ffr_dcconso_ref_initial.TITLE) ELSE (""))) <> ""
then
if
Trim(( IF IsNotNull((ffr_dcconso_ref_initial.TITLE)) THEN (ffr_dcconso_ref_initial.TITLE) ELSE (""))) = "1"
then "MR"
else
else ""
--FLAG
Hello,
You can use ternary if-else operator in tMap expression.
Condition?value if true: value if false
Best regards
Sabrina
how can i get if condition,
if source = 'actif' then '1'
else if '0'
(source == actif)?1:0