Skip to main content
Announcements
Have questions about Qlik Connect? Join us live on April 10th, at 11 AM ET: SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Mail on task failure in Qlik sense

Hi,

Is it possible to send mail automatically from QMC when scheduled reload task gets failed in Qlik sense.

If yes please provide the steps to do so.

Thanks in advance,

Rajamani

14 Replies
undergrinder
Specialist II
Specialist II

There are script logs at C:\ProgramData\Qlik\Sense\Log\Script folder, the filename will be [unique ID of application].log

I can't dwelve into repository database at the moment, but you should take a look into, whether contains this information. (Qlik Tips: Connect to your Qlik Sense Repository)

G.

reddy-s
Master II
Master II

As Undergrinder mentioned, you will find the log files in that location. So you will have to loop through the log files to read the errors.

RSvebeck
Specialist
Specialist

I have done a solution for our Environment that is "good enough" for a start for us, but it will not be a working solution in the long - this must be added in standard by Qlik. But at least we can continue to use Sense...

My solutuion is based on this :

1. An external VB-script file that send mail with standard CDO.Message object.

2. Setting ErrorMode=0 in the beginning of every app, so that we can catch all errors.

3. A Qlik Sub that is called in the end of every script on every app, that triggers if there is any errors, and sends a mail with the script log attached, and a body message with all error events. So the mail is sent right after the script is completed, but only if there is an error.

In fact this solution is more usefull than what we had in Qlik Publisher, beause in this solution, we get the actual script log file instead of that Publisher script dump that really did not help so much...

/Regards Robert

Svebeck Consulting AB
ergustafsson
Partner - Specialist
Partner - Specialist

I solved this by creating an Nprinting task instead.

Obviously requires a license, Qlik Sense task failure report with Nprinting

Cheers,

Erik

smadathil
Partner - Contributor II
Partner - Contributor II

Hi Robert,

 Sending this after long time since you posted.

  But will it be possible to share VB script and sub script you had prepared for the solution?

Thanks