i have this job and i have this result
and i want to send mail if he see "A" in the last column, but here he just takes the last line in the last column ( it's "B") and the answerof the run if is "B".
Thanks for your answer
Use a tFlowToIterate after the tLogRow. Then connect that to a tJava using an iterate link. After the tJava, use your RunIf. The RunIf logic should be based on a globalMap value. This is because the tFlowToIterate component will convert your data row to globalMap values. The key to each column will be the row name feeding into the globalMap and the column name. So, if your column is a String and is called "MyValue" and your row is called "row3", your globalMap value will be accessed like below....
Your previous method did not work as the RunIf fires after the component has finished. By adding the tFlowToIterate, it means the subsequent components both start and end with each iteration. This means your RunIf will be tested for every row.
Talend named a Leader.
Kickstart your first data integration and ETL projects.
Watch the recorded webinar!
Learn how and why companies are moving to the Cloud
Accelerate your data lake projects with an agile approach
Create systems and workflow to manage clean data ingestion and data transformation.