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

Alerts in Qlik Sense

Hi!!

Is there any way to create an alert in Qlik Sense like the alerts in Qlikview?

Thank a lot!

Paula

41 Replies
kevincase
Creator II
Creator II

Rohit,

For the email parameters, you only need the following:

  <param name="to" value="You@Youremail.com" />

  <param name="from" value="Qlik@yourservername.com" />

  <param name="subject" value="Qlik Job Failure" />

  <param name="smtpHost" value="YourSMTPaddrress" />

  <param name="port" value="YourPortNumber" />

  <param name="bufferSize" value="0" /> <!-- Set this to 0 to make sure an email is sent on every error -->

  <param name="lossy" value="true" />

You would omit the username and password parameters if they are not required.

Hope this helps.

Kevin

rohitk1609
Master
Master

Hi Kevin,

Thanks for quick reply but still mails are not triggering. Do I need to check something on SMTP server ?, how do I debug ?

StavWars
Support
Support

Hi,

There is also the Notification Connector from Qlik Web Connectors, where it can be integrated in the script editor and used in combination with other functions.

You can also attache up to 5 files (eg. logs) and since it's in Standard Web Connectors no license is required.

rohitk1609
Master
Master

Hi Stavros,

Thanks for your solution. I have integrated Qlik Web connector, disabled standardload and the script is executing, here I am using Gmail ID, it is executing but no mail is triggering. Can you please tell me , after getting the auto-generated script from web connector by adding credentials , how to integrate it to send mail on task failure.

Secondly, My admin is saying jut use the email id, No need of user name and password.we have our own internal smtp server. but when I don't put user name password in web connector it gives me error as it is mandatory. Can you please tell me how to use without username and password ?

Thanks in advance!

StavWars
Support
Support

Hi Rohit,

In order for a user to establish a connection with the SMTP server, the user needs to enter the SMTP details following the port that the SMTP is listening. So for example if the user has an email like user@example-domain.com and the SMTP listens to port 25 without the use of SSL, SMTP must be set up like:
mail.example-domain.com:25 and disable the use of the SSL form Qlik Notification Connector UI.

Using a google account and following the Google SMTP details from
https://support.google.com/a/answer/176600?hl=en
may user face up some errors using port 465 with SSL.
So a workaround is to use port 587 and SSL (where is actually TLS), as you can see in the following image.

Email and password are needed at all times.

rohitk1609
Master
Master

Hi Stavros,

Thanks for your input. As I don't see any way to add port somewhere even if I have added port with SSL check with colon as smtp.gmail.com:587 even then it is showing me failure message. I am attaching the snapshot what settings I am using and my firewall is off. credentials are right and generated script is executing but not sending any mail.

gmail.PNG

StavWars
Support
Support

Hi Rohit,

Please try for SMTP Server:
yourmail@gmail.com:587 and Use SSL enabled as you have it in the screenshot.

BR // Stavros

StavWars
Support
Support

Sorry wrong info about putting the email in the smtp field. Please check the screenshot from the test that I did:

servlet.ImageServer.png

ArnadoSandoval
Specialist II
Specialist II

Hi Rohit,

I am not sure if you are aware of the project Qlik Sense Automated Task Failure email Alerts at Qlik Branch, you can follow these URLs as Nick Akin Ciliar added two project for email implementations in Qlik Sense.

Qliksense Automated Task Failure Email Alerts

QlikSense Data Driven Active Email Alerts

Hope this helps,

Arnaldo Sandoval
A journey of a thousand miles begins with a single step.
rohitk1609
Master
Master

Do these extension work in intranet , not only with gmail ?