Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
Lakshmanudui
Contributor II
Contributor II

SMTP web connector in Qliksense

Hi All,

I am using SMTP web connector for Email notification when Qliksense task is failed.

But if task is ran successful also i am getting email notification.

Can you please suggest me how to configure in Qliksense side if task is failed then only will get E mail notification with error message.

 

Thanks & Regards,

Lakshman

5 Replies
micheledenardi
Specialist II
Specialist II

I'm managing email norification in this way:

Step 1: i create a qliksense app to check the task reload status every 15 minutes, using API (check this Qlik Sense API - get task statuses?)

Step 2: if step 1 finds task with errors, the SMPT connector is involved to send failure notification via email.

 

Michele De Nardi
If a post helps to resolve your issue, please accept it as a Solution.
Lakshmanudui
Contributor II
Contributor II
Author

Hi Micheledenardi,

Thanks for your replay.

Can you please expalin more, I didn't understand the Qliksense API.

if possible can you please share example qvf file.

 

Thanks & Regards,

Lakshman

micheledenardi
Specialist II
Specialist II

Here you can find a very useful guide on how to setup rest API calls:

How to access QRS (Repository) from Load Script

Michele De Nardi
If a post helps to resolve your issue, please accept it as a Solution.
Lakshmanudui
Contributor II
Contributor II
Author

Hi Micheledenarid,

Thanks for your replay.

Now i got the mail notification if task is failed.

My Qliksense task is schedule daily once refresh.

I have created saparate app for SMTP web connector code and i have created task chain for another app.

for example i have two dashboards sales and customer.

If sales task is failed then we will get e mail alert with app name and error message to sales dashboard developer.

samething customer dashboard also.

Can you please suggest me how to map app name, developer name and error message in script side and how to get e mail notification.

Can you please suggest me without using rest API.

Thanks & Regards,

Lakshman

micheledenardi
Specialist II
Specialist II

Dear Lakshman,

the solution we have in place is via API.

If you don't want to use API you have to go directly in the QlikSense repository database and find all necessary tables, but i would avoid this solution.

Michele De Nardi
If a post helps to resolve your issue, please accept it as a Solution.