Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
dipanjan93
Contributor
Contributor

Error in tSendMail component

Hello Community,

 

I'm trying to implement the below message 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.

 

0683p000009M1rs.jpg0683p000009M1rj.jpg

 

Please help me in this regards.

 

Thanks in advance!

 

Regards,

Dipanjan

Labels (2)
1 Reply
Anonymous
Not applicable

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:

"Error Description: "+((String)globalMap.get("error_code"))+ "Action: Need to Rerun manually
Thanks
********************************************************
"
Are you able to execute a simple job successsfully in your studio? Could you please clarify in which Talend version/edition you are? What's JDK version are you using? 
0683p000009M1sR.png
 

Best regards

Sabrina