I'm working on a job that reads from a table (now I'm using a test text file) and writes an IDoc.
I have to implement an if-then-else on some fields, and I'm wondering how I must use it.
I dragged the function IfThenElse from the palette into the interested field, but how I must use it?
How can I set that the condition is fieldfrominput = 'value', then fill with an incremental number from 0000000001...?
This is how it is the function once dragged on the field.
(x)Condition - Drop/paste here
(x)Then - Drop/paste here
(x)Else - Drop/paste here
Another question I want to ask you: is it possible to use ternary operator in the tHMap?
If yes, how I can set it?
Thanks in advance.
We have redirected your issue to our TDM experts and then come back to you as soon as we can.
Talend named a Leader.
Kickstart your first data integration and ETL projects.
Part 2 of a series on Context Variables
Learn how to do cool things with Context Variables
Find out how to migrate from one database to another using the Dynamic schema