Skip to main content

New to Qlik Sense

If you’re new to Qlik Sense, start with this Discussion Board and get up-to-speed quickly.

Announcements
QlikWorld 2023, a live, in-person thrill ride. April 17 - 20, 2023, in Las Vegas! REGISTER TODAY
cancel
Showing results for 
Search instead for 
Did you mean: 
rinats_sabirovs
Contributor
Contributor

Qlik Sense Failed Task Email notification

Hi Qlik Community,

Do you know how to make email notification in Qlik Sense of failed tasks in QMC?

Thanks a lot in advance!

1 Solution

Accepted Solutions
Ricardo_Gerhard
Employee
Employee

9 Replies
Ricardo_Gerhard
Employee
Employee

By default, there isn´t a resource, but you could use the extensions.

http://branch.qlik.com/#!/project/56fd8bd3353d08684f6726bc

http://branch.qlik.com/#!/project/5862c5b7531b9e773f1e0ac9

http://branch.qlik.com/#!/project/56f2e998f1c173fc24afe6ec

Regards.

Ricardo Gerhard
OEM Solution Architect
LATAM
Michael_Leigh
Employee
Employee

You can also

sr_qlikview
Creator
Creator

cann't believe ... need to depend on extension for such a basic important feature. Hope this feature make into the future releases.

Michael_Leigh
Employee
Employee

The SMTP Connector (previously the Notification Connector) is a available in the Qlik Web Connectors and is available at no cost, as one of the Standard Connectors. https://help.qlik.com/en-US/connectors/Subsystems/Web_Connectors_help/Content/Connectors_QWC/Data-So...

The SMTP Connector is triggered from within the load script.

fernandobibian
Partner - Contributor III
Partner - Contributor III

Hi Rinats,

We have a video where you can see how to get a Slack message if a Qlik task fails, building it take less than 2 minutes.

In this case we use Slack because it is our Instant Messaging tool, but you can send an email too.

Hope this helps!

Best,

Fernando

stevedark
MVP
MVP

This blog post gives details of how you can send data from the load script using Qlik Web Connectors:

https://www.quickintelligence.co.uk/send-data-from-qlik-load-script/

You then just need to parse the log files to be able to work out that an alert is required.

Hope that helps.

Steve

Jaya15
Contributor II
Contributor II

Dear All

Can you Please help me i this 
I am trying to get more then one task failure notification but i am getting only one can you pleas help me to get more then one task failure
getting this now

Jaya15_0-1660648779435.png

want to get the 2nd table as well
using below code

Jaya15_1-1660648834324.png

Jaya15_2-1660648867937.png

Please help

Thanks 

Jaya Sharma

 

stevedark
MVP
MVP

Hi @Jaya15 

I'm not quite sure where things are not working out in the code that you have.

Do you have a table with all of the failures in at some point? You can check this either by inserting an Exit Script to check the contents of the table at that time, or add in a STORE statement to write the current data to a file.

You are currently looping and and attempting to send an email for each failure. Personally I would probably loop around the table and build an email with many rows and then send all of that in one hit. To do this you would need to split the writing of the HTML header to the variable and then append many rows to the variable, depending on number of failures.

Hope that helps.

Steve

Jaya15
Contributor II
Contributor II

Thanks @stevedark  I will Try the steps as you recommended.

Thanks for the help 🙂