Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
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
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.
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.
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
I solved this by creating an Nprinting task instead.
Obviously requires a license, Qlik Sense task failure report with Nprinting
Cheers,
Erik
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