Six Stars

How to trigger mail if the error is inside tmap

Hi ,

I dont know how to trigger mail if the job fails while processing in tmap and i am not in a position to capture that error while processing iniside tmap via mail.Can any body tell me how to do that?

1 REPLY
Community Manager

Re: How to trigger mail if the error is inside tmap

Hi krengan21
Do you only need to capture the error occured on tMap or any error during the job execution? We usually use a tLogCatcher in a job to capture the error and log them to a file or database, send an email if needed, eg: tFileInputDelimited--main--tMap--tLogrow tLogCatcher--main(row3)--tSendMail on tSendMail, you can customize the messages like: "The error messages is: "+row3.message

Regards
Shong
----------------------------------------------------------
Talend | Data Agility for Modern Business