Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
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
Hi Steve,
I am a solutions architect out of HQ in Radnor. When we are not busy helping the sales team, we try work on art of the possible and things that are useful to Qlik users as part of keeping our selves busy in a more productive way .
The notification solution that I posted was tested with 2.2 but had no time to test with 3.0 yet. However it uses the REST API calls to get task related information so unless there is a major change in the API endpoints, it should be version independent and work with 3.0. If you find any issues, please feel free to comment in GitHub and I will be glad to look in to it.
It is also written in C# and the entire source code is available on Github for you view and modify if you need to.
Thanks Nick. That's good to hear you make yourselves useful!
just tested. not work's with QS 3.0
There is now another workaround, which I am planning to implement as soon as I get a chance, using Qlik's newly acquired Qlik Web Connectors. There are a number of free connectors included with these, one of which is a SMTP connector.
Using this you can parse the log file using Sense and send an email if errors are found, directly from the load script.
For more details on Qlik Web Connectors please see this blog post:
http://www.quickintelligence.co.uk/qlik-web-connectors
Steve
Could you please let me know what the issue is? I just tested with 3.01 and it works. If you are getting an error when you try to save settings or create the task, you have to make sure to start the EmailAlert app as an Administrator. Right Click + Run As Admin will let you save the settings.
If not, please let me know the issue you are seeing on your system.
Yup that is definitely an alternative method. The only thing is that each alert has to be setup and maintained in each application. This app uses a centralized method where it monitors each failure in the system regardless of the app or contents.
The way I was seeing it working was parsing all of the log files from all applications and then raising alerts on any occur across any app. I've done this for QlikView and deploy the alerting app to all of our clients. The routine enumerates around all of the log folders to load the status of each task. I understand the logging is different in Qlik Sense, but I presume the same will be possible.
I only mentioned it here, in the situation where you app was not running though - that certainly seems like a much simpler and cleaner way of approaching it.
Steve
I see. That is much better than what I originally thought which was alerting via the script within each app.
Nick,
Thanks for your contribution and work. This is one of the missing part in Qlik Sense all along. Glad to hear from Mike it is on Road map. I can use your work for now.