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

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Sending error logs in mail

Hi 

I want to send my runtime exceptions in mail.

I tried using SalesforcebulkExec --> tlogcatcher --> tsendmail

I am using this in tsendmail : ((String)globalMap.get("tLogCatcher_1_ERROR_MESSAGE"))

but I am getting null value as my exception result.

Can anybody help me ?

Labels (3)
4 Replies
vapukov
Master II
Master II

You do not need connect component to tLogCatcher

You can drop tLogCatcher anywhere, in properties enable catch everything

If You want more information - add tDie and/or tWarn components into Your flow

 

0683p000009LsVs.png0683p000009LstU.png0683p000009Lste.png0683p000009Lrqq.png

 

Examples of messages (I use Slack and ELK, but it same logic for email):
0683p000009LrBY.png0683p000009Lrj1.png

TRF
Champion II
Champion II

Connect your SalesforceOutputBulkExec to a csv file using the reject flow.
Create a postJob subjob where you can get the number of records from this csv file and decide the next action as sending an email with the file as an attachment.
Anonymous
Not applicable
Author

Thanks !

Issue has been resolved 0683p000009MACn.png

TRF
Champion II
Champion II

Great!
Thank's to close the case by selecting the most usefull answer.
Kudos also accepted.