Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello Community,
I'm trying to implement the below message logic inside tSendMail component -
"*********************************************************
Hello,
You are receiving this email since your job has Failed.
Details as below :
Project: Pivot
Job Name: PPT_PR_Reliability
Job Status: Failed
Error Description: "+(String)globalMap.get("err_desc")
+"Action: Need to Rerun manually
Thanks
********************************************************
"
However, I'm getting the below error
Execution failed : Job compile errors At least job "PPT_PR_Reliability_file_tgt_Wrapper" has a compile errors, please fix and export again. Error Line: 2918 Detail Message: Syntax error on tokens, delete these tokens There may be some other errors caused by JVM compatibility. Make sure your JVM setup is similar to the studio.
Please help me in this regards.
Thanks in advance!
Best Regards,
Dipanjan
Hello,
Hello,
We made a testing from our end and it is running well in v 7.1.1.
The job looks like:
tFixedFlow-->tLogrow
...
tLogCatcher----main-->tJavaRow
|
onsubjobok
|
tSendMail
on tJavaRow:
globalMap.put("error_code", input_row.message);
on the message filed of tSendMail:
Hello,
Would you mind posting your tSendMail component setting screenshots on forum? Which will be helpful for us to address your issue.
Best regards
Sabrina
Hi @xdshi,
Please find the tSendMail settings below -
Let me know if you need anything else
Thanks in advance!
Best Regards,
Dipanjan
Hello,
Talend can't change new line char automatically in tSendMail component, you have to specify it manually.
Best regards
Sabrina
Hi @xdshi,
I tried using "\r", "\n" as well as "\r\n". But neither of them worked for me.
Could you please guide me in achieving this?
Thanks in advance!
Best Regards,
Dipanjan
Hello,
Hello,
We made a testing from our end and it is running well in v 7.1.1.
The job looks like:
tFixedFlow-->tLogrow
...
tLogCatcher----main-->tJavaRow
|
onsubjobok
|
tSendMail
on tJavaRow:
globalMap.put("error_code", input_row.message);
on the message filed of tSendMail: