[resolved] tFileInputMaul use mail parts

Five Stars

[resolved] tFileInputMaul use mail parts

Hi, 
i think i have a simple problem but i did not found the solution.



i get mail with tPOP and extract the tFileInputMail the mail part "Subject"



in the tLogRow i can see the correct value.
Now in the tSystem i try to run a programm and i want to pass the Subject-value from tFileInputMail, somethink like that:



but i can't find this value/variable in the list.
Is there a way to do that?

Thanks Dani


Accepted Solutions
Moderator

Re: [resolved] tFileInputMaul use mail parts

Hi,
The "suject" row from tfileinputmail is not global variable which cannot be found in existing global variable list.
Have you tried to use TalendHelpCenter:tFlowToIterate  component to iterate on the input data and generates global variables?
The work flow should be:tPop-->tfileinputmail-->tflowtoiterate-->tsystem. Here is a global variable:[font=noto, Helvetica, Arial, sans-serif]((String)globalMap.get("row1.subject")) in this list.[/font]
[font=noto, Helvetica, Arial, sans-serif]Best regards[/font]
[font=noto, Helvetica, Arial, sans-serif]Sabrina[/font]
--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.

All Replies
Moderator

Re: [resolved] tFileInputMaul use mail parts

Hi,
The "suject" row from tfileinputmail is not global variable which cannot be found in existing global variable list.
Have you tried to use TalendHelpCenter:tFlowToIterate  component to iterate on the input data and generates global variables?
The work flow should be:tPop-->tfileinputmail-->tflowtoiterate-->tsystem. Here is a global variable:[font=noto, Helvetica, Arial, sans-serif]((String)globalMap.get("row1.subject")) in this list.[/font]
[font=noto, Helvetica, Arial, sans-serif]Best regards[/font]
[font=noto, Helvetica, Arial, sans-serif]Sabrina[/font]
--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.
Five Stars

Re: [resolved] tFileInputMaul use mail parts

Hi Sabrina,
works perfect with tFlowToIterate, many thanks
Regards Dani
Moderator

Re: [resolved] tFileInputMaul use mail parts

Hi,
Thanks for your feedback. Feel free to let us know if there is any further help we can give.
Best regards
Sabrina
--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.

2019 GARNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

What’s New for Talend Summer ’19

Watch the recorded webinar!

Watch Now

Best Practices for Using Context Variables with Talend – Part 4

Pick up some tips and tricks with Context Variables

Blog

How Media Organizations Achieved Success with Data Integration

Learn how media organizations have achieved success with Data Integration

Read

6 Ways to Start Utilizing Machine Learning with Amazon We Services and Talend

Look at6 ways to start utilizing Machine Learning with Amazon We Services and Talend

Blog