Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
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
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
Could you please explain me on how to do it??
Thanks,
Leni Balakrishnan
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.
I tried that option as well but it is not working
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
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
Its working fine with no issue please attach your batch file to help you
Thanks
Vikas
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.
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"