Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
aminegac
Creator
Creator

how to find global variable name or var having value of iterate ??

hi i am new to talend open studio , i am extracting data from an excel file having list of emails , i already have the emails but i cannot find a way to pass the emails one by one to tSendEmail compnent , my goal is to send emails to different adresses each one alone one by one .

you can see details in the picture below .

any other solution to do find the correct name in my process , or any way to iterate throught the file by another way where i can specify the valid name of temporary variable having current email to tSendEmail componenet??

Talend OS 4 yrs / Java 17 Web Dev
2 Replies
Anonymous
Not applicable

Hi

I see you are using tFlowToIterate component to iterate the input flow, if one of column is the email address, you can access the current email address in the TO field of tSendMail with this expression:

(String)globalMap.get("row10.TheColumnName")

 

Regards

Shong

 

 

aminegac
Creator
Creator
Author

thank you @shong i will try doing that trick and tell if it worked .

Talend OS 4 yrs / Java 17 Web Dev