Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Qlik Sense task schedule failure notifications

Hi

We have couple tasks to get triggered on a timed basis. Is there a way to get notifications if job fails so that users can get notified ?

Please let me know

Thanks

32 Replies
korsikov
Partner - Specialist III
Partner - Specialist III

thank you for your attention. in my Qlik Sense 3.0.1 server QlikSenseEmailAdmin crashed with error

Application: QlikSenseEmailAdmin.exe

Framework Version: v4.0.30319

Description: The process was terminated due to an unhandled exception.

Exception Info: System.IO.DirectoryNotFoundException

Stack:

   at System.IO.__Error.WinIOError(Int32, System.String)

   at System.IO.FileStream.Init(System.String, System.IO.FileMode, System.IO.FileAccess, Int32, Boolean, System.IO.FileShare, Int32, System.IO.FileOptions, SECURITY_ATTRIBUTES, System.String, Boolean, Boolean, Boolean)

   at System.IO.FileStream..ctor(System.String, System.IO.FileMode, System.IO.FileAccess, System.IO.FileShare, Int32, System.IO.FileOptions, System.String, Boolean, Boolean, Boolean)

   at System.IO.StreamWriter..ctor(System.String, Boolean, System.Text.Encoding, Int32, Boolean)

   at System.IO.StreamWriter..ctor(System.String, Boolean, System.Text.Encoding, Int32)

   at System.IO.StreamWriter..ctor(System.String)

   at MyLogger.Logger.Start(System.String)

   at QlikSenseEmailAdmin.Program.Main(System.String[])

Faulting application name: QlikSenseEmailAdmin.exe, version: 1.0.0.0, time stamp: 0x56fd8d2d

Faulting module name: KERNELBASE.dll, version: 6.3.9600.17055, time stamp: 0x532954fb

Exception code: 0xe0434352

Fault offset: 0x0000000000005bf8

Faulting process id: 0x81c

Faulting application start time: 0x01d1f1a12305a680

Faulting application path: C:\Program Files\QlikSenseEmailAlert\QlikSenseEmailAdmin.exe

Faulting module path: C:\Windows\system32\KERNELBASE.dll

Report Id: 60b95810-5d94-11e6-80db-005056a425bd

Faulting package full name:

Faulting package-relative application ID:

korsikov
Partner - Specialist III
Partner - Specialist III

manually change task user  in "Task Scheduled"  on my user account (Domain Admin) and now all works fine. But if try change user for task to QS service user or Domain Backup user has error

Task Scheduler successfully completed task "\QlikSense Email Alert - (Auto)" , instance "{86d15f16-4dfa-44bf-a777-df2f05a97ba2}" , action "C:\Program Files\QlikSenseEmailAlert\QlikSenseEmailAdmin.exe" with return code 3762504530.

kevincase
Creator II
Creator II

You can always set up and use  SMTPAppender.  I was able to configure it and it works.

You can fin the documentation in Qlik help.

Also, here is a link to a post that describes how to set it up.

Re: Alerts in Qlik Sense

Hope this helps and gives you another option.

Kevin

Not applicable
Author

Hi Nick,

First let me echo thanks in creating something that we users may be able to leverage. I am also hoping that this is an item that will be implemented officially into a future release of Qlik Sense.

Just wanted to check on this QlikSense Automated Task Failure Email Alerts add on from the branch site. I downloaded and installed, but I've been unsuccessful in all the tests of the alert tool (url and smtp email server settings). Test connection fails with a message that says "QMC Connection Failure! Check URL or the current user credentials". I've attempted to connect using both the localhost url and the explicit url but no success. I've used both urls on a browser and I am able to connect to my Qlik Sense application just fine, but the test fails when I apply this alert tool.

I am on Qlik Sense version 3.1 SR3 and I am logged in as an administrator to both the machine and the Sense app. It's a single node set up on the server. If you or anyone has run into similar issues or has additional documentation that I can reference with regard to this alert app let me know?

Thanks

stevedark
Partner Ambassador/MVP
Partner Ambassador/MVP

You may find that interrogating the log files in Sense, and using the

notification connector that is in Qlik Web Connectors (this is one of the

free connectors) may be the best way of achieving this.

One would imagine it will be delivered as a standard feature at some point,

but unfortunately not yet.

If you want the Rolls Royce of notifications check out Butler on Qlik

Branch. This is probably too much effort to configure for most users, but

it is a fantastic example of how Qlik integrations can work.

Good luck.

Steve

nak
Employee
Employee

Just to confirm the URL you are using for the server name. Make sure you are not adding /hub or /qmc to the server name.

URL field should be set to root server name. It should be either

https://localhost

or

https://YourServerName

Not applicable
Author

Thanks Steve. I checked it out and I'm afraid, as you rightly assumed, that the integration of Butler would indeed be too much of a development undertaking at my shop. I am not terribly familiar with the use of Qlik Web Connectors and how that could be used to bridge this need, but I'll look into it and send out any additional questions to the group.

Thanks again

Not applicable
Author

Hi Nick,

I previously tried both the localhost and servername urls as you suggested, and performed it again today just in case I missed anything, and still no success.

Can you confirm that this should be working fine in the 3.1.3 version of Qlik Sense?

I'm sorry if I missed this anywhere, but is there additional documentation I can reference with regard to this app or any other ideas I should try?

Thanks for the follow up,

~Uzo

nak
Employee
Employee

It should work. I am on 3.1 my self. Also it is not using a version dependent SDK kit but plain REST call so it should not care about the version.

As long as the the AD user account running the the alerting app can login to QMC and see the task history, it should work because REST API is using the same authentication.

stevedark
Partner Ambassador/MVP
Partner Ambassador/MVP

Hi Uzo,

Qlik Web Connectors allow you to interact with a whole bunch of stuff that you can otherwise not.  A number of the connectors are completely free to use, see this blog post for details of the free connectors, including the notification connector:

https://www.quickintelligence.co.uk/free-qlik-web-connectors/

Steve