Skip to main content
Announcements
NEW: Seamless Public Data Sharing with Qlik's New Anonymous Access Capability: TELL ME MORE!
cancel
Showing results for 
Search instead for 
Did you mean: 
nishantrft
Contributor
Contributor

Windows Batch file to sent email to users if Qlikview task is success.

Hi Support team,

Mentioned below the scenario and requirement. We have around 10 Qlikview mounted application are there in QMC and total  19 qvws and in QMC around 25 qlikview tasks related to above qvws.

Now we need to sent email to few users , if a particular qvw task is successfully refreshed in QMC.

Say we have TestTask1 for Testtask1.qvw and TestTask2 for B.qvw. I want to sent email to nishant.v@xyx.com if Tasttask2 is successfully refreshed.

So the best option suggested was write a batch file to sent email and put the task in System->supporting task-->Extrenal Program in QMC  and create dependency on Qlikview task : Tasttask2. So if Tasttask2 is completed the external Program will trigger the batch file.

Can anyone help me to create a batch file to sent email, if this qlikview task is success in QMC ?

 

Thanks in advance.

 

Labels (3)
7 Replies
Claudiu_Anghelescu
Specialist
Specialist

https://community.qlik.com/t5/QlikView-Documents/CREATING-AUTOMATED-ALERTS-AND-EMAILS-SENDING-BASED-...
To help community find solutions, please don't forget to mark as correct.
nishantrft
Contributor
Contributor
Author

Thanks for the document.

But it wont resolve my issue. I need to sent an notification email to few users if a particular task refreshes.

This document content just help to sent an email with no subject or content to one user manually.

Claudiu_Anghelescu
Specialist
Specialist

Another option is to create another task triggered Upon success of "your task" .

Creating a field Mail which contains the Mail Addresses.

 

Mail.PNG

To help community find solutions, please don't forget to mark as correct.
nishantrft
Contributor
Contributor
Author

Thanks for the reply,

Is it like I need create a new field in my qvw datamodel with required email IDs, If its done also could you brief me how we will sent notification on the success of my task.

Claudiu_Anghelescu
Specialist
Specialist

Yes, I will send you a documentation.
Meanwhile you can create a field named "Mail" which has all the needed e-mails as recipients.
To help community find solutions, please don't forget to mark as correct.
nishantrft
Contributor
Contributor
Author

Thanks for the help,

Waiting for the document.

Brett_Bleess
Former Employee
Former Employee

Wanted to point out the following as well, if the user(s) in question are in the distribution list, the Notify feature could be used as well I believe, this may be a possible better solution than the one upon which you are working currently.

https://help.qlik.com/en-US/qlikview/November2018/Subsystems/QMC/Content/QV_QMC/QMC_Documents_Source...

Regards,
Brett

To help users find verified answers, please do not forget to use the "Accept as Solution" button on any post(s) that helped you resolve your problem or question.
I now work a compressed schedule, Tuesday, Wednesday and Thursday, so those will be the days I will reply to any follow-up posts.