Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

To send mail dependent on another task

Hi All,

Do anyone know How to send a mail after the completion of a particular task.??

It is like I have written a macro to send an email with the snapshots of charts.

Once the distribution task of the particular application completes, this mail should get trigger an send it to particular recipients.

I am not having any idea to achieve this.

Kindly share your thoughts on how to achieve this.

Its little urgent.

Thanks,

Leni Balakrishnan

19 Replies
vikasmahajan

Dear Leni,

I was having same problem but after 10-15 days I got setting of windows schedular Please check with your windows schedular as

per attached screen short setting.

It is showing "Running" only in schedule no problem , you have to check log file should generated after running the schedule.

Hope this will solve your problem.  Let me know if any thing is wanted to run this task from my side , b'cause we have imeplemented

same and working fine with no issues.

Thanks

Vikas

Hope this resolve your issue.
If the issue is solved please mark the answer with Accept as Solution & like it.
If you want to go quickly, go alone. If you want to go far, go together.
Not applicable
Author

Hi, 

"C:\Program Files\QlikView\Qv.exe"  /l /NoSecurity "C:\Users\leni.balakrishnan\Desktop\Test_Loop.qvw"

Exit

Save this batch file and try to run this batch file in external task.

Regards,

Amay.

ngulliver
Partner - Specialist III
Partner - Specialist III

Hi,

Have you considered using NPrinting  for districution of PDFs via email ?

With NPrinting you can schedule QV apps to reload and send the output to folders or an email distibution list.

You can tailor filters for individual users, too.

Regards,

Neil

Anonymous
Not applicable
Author

Thanks Vikas.

For me also it is working with Windows scheduler. There is no issue in that.

But I want to do this from QMC. Because as soon as my distribution task completes I want to trigger this email.

Using windows scheduler we can just schedule the mail to send in a particular time and not depending on a task running in QMC right?

Anonymous
Not applicable
Author

But I need to set the variable as well.

"C:\Program Files\QlikView\Qv.exe"  /vvar_SendEmail=1 /NoSecurity "C:\Users\leni.balakrishnan\Desktop\Test_Loop.qvw"

Anonymous
Not applicable
Author

Hi Neil,

I am not familiar with the one you mentioned above.

If possible could you please explain this in detail??

Thanks,

Leni

Not applicable
Author

Jst add an "exit" keyword in next line of your batch file.

Run it through external tasks, That should work.

Regards,

Amay

Anonymous
Not applicable
Author

I tried this but it didnt work

Not applicable
Author

Hi Leni,

I am facing the same problem.

The standard possibilites "alert-email" and "sending notify emails to named users" do not solve your (and my and I am sure some others) issue.

I am going to try generating a mail trough a batch file via a supporting task. The task should depend  on success of another task.

Or did you solve it in another way?

Best Regards

Roland

Anonymous
Not applicable
Author

I tried with the supporting task but it didnt work (I am using Qlikview 11). But I came to know that it is working in Qv 11.2. I am still having this issue. Currently using windows scheduler only.

If you find a solution for this using Qv 11 kindly let me know.