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
korsikov
Partner - Specialist III
Partner - Specialist III

I have not heard about this opportunity. Perhaps it is in the road map server

haty
Contributor III
Contributor III

We are very keen to see this feature added to Sense also.

Anonymous
Not applicable
Author

We would like this feature also.

It's pretty dificult to monitor errors in app's if you don't get notifications.

RSvebeck
Specialist
Specialist

This is very important for us. We have jobs running 24/7 in our current Publisher and we can not have staff monitoring possible failed reloads. Show stopper for a possible migration to Sense.

But thread is old - is it still not developed in Sense?

Svebeck Consulting AB
undergrinder
Specialist II
Specialist II

Hi Rajamani,

It isn't possible directly through QlikSense, but you can implement a workaround.

As far as I know reddys310‌, has an example for this.

I think the following methods can work:

  • Catch errors in script (set Errormode = 0, and use errorcode variable)
  • If you get an error then it create a batch file with errormessage, and with call an 3rd party email tool (or your own email tool)
  • Execute this batch

Or you can sniff in logs by custom implemented program.

I don't know, whether the repository database does contain this information. If yes, it is easier listen to the database.

G.

Anonymous
Not applicable
Author

It's good that Qlik has an API to code against. But it's sad, that functionality like this is not standard.

For an entreprise environment warnings are a must, we can't have an employee following up on this each morning.

If we need to code everything as API-calls the ROI of Qlik Sense fades out. It's very time consuming and expensive to make C# code and to understand the possibilities with the API's in Qlik Sense.

In my opinion this is a feature that must be standard.

RSvebeck
Specialist
Specialist

Thanks Rajamani, but our Publisher setup holds something like 1000+ tasks, and we have around 500+ documents. We need this in standard if we will ever move the complete installation to Sense.

Svebeck Consulting AB
reddy-s
Master II
Master II

Hi Rajamani,

As undergrinder‌ mentioned, you can actually read the log files using Python and look for errors. If you happen to find any errors, you can trigger a mail through your SMTP.

Thanks,
Sangram.

Anonymous
Not applicable
Author

What log-file should we then look into?