Skip to main content
Announcements
Have questions about Qlik Connect? Join us live on April 10th, at 11 AM ET: SIGN UP NOW
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
Bill_Britt
Former Employee
Former Employee

Publisher ignores all marcos so you will not be able to get this to work through publisher. You can try setting it up to run in a .bat file using the desktop version.

Bill

Bill - Principal Technical Support Engineer at Qlik
To help users find verified answers, please don't forget to use the "Accept as Solution" button on any posts that helped you resolve your problem or question.
Anonymous
Not applicable
Author

Could you please explain me on how to do it??

Thanks,

Leni Balakrishnan

Not applicable
Author

Hi,

You can create a batch file and run it through external task tab on QMC.

Then you can run this task on success of another task, the option is availble on the same tab.

Hope this helps.

Regards,

Amay.

Anonymous
Not applicable
Author

I tried that option as well but it is not working

vikasmahajan

Dear Leni,

I have applied Sending Emails to user sucessfully at my end :-

1  Create Macro to Send Email

    and on post reload of documents setting -> triggers you can run the macro

2 To excute this macro you have to run macro externally this won't work via QMC.

3  create batch file for executing macro

4   Through windows schedular you can schedule jobs to send emails to users.

Hope this solve your problem

Bye

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,

Are you able to send mails with external tasks on QMC or Are you facing issue with dependent tasks execution.

Please let me know where the issue is?

Also can you attach the batch file you have written for sending mail.

Regards,

Amay

vikasmahajan

Its working fine with no issue  please attach your batch file to help you

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.
Anonymous
Not applicable
Author

Through windows scheduler it is working fine for as well.

But it will trigger on a defined time right??

But I need to trigger the email based on the completion of another task.

Anonymous
Not applicable
Author

I have created a task in Supporting Tasks -> External Program and in trigger section I have added like trigger on xxx task like that.

The task is running but nothing is happening. Simply it shows like running.

The below is the statement I am using in bat file

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