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

Alert Email on PostReload not working from Scheduled Reload

Hi All,

Lots of posts about emails on error etc but actually, I need to an email to trigger on success. I have created an Alert on PostReload and when I reload from within the qvw ... it fires.

I have configured SMTP in the document and on the Server and the test email from the server works. However, when I reload from the server, although the document reloads correctly ... the email does not fire.

Not sure what I have missed. Any pointers greatly appreciated although I am keen to avoid triggers, macros, vbs files, .bat files etc if possible.

Thanks

Lee

1 Solution

Accepted Solutions
Not applicable
Author

Hi,

Yes I did ... using the Alerts on Batch mode and the the condition is set to ScriptErrorCount = 0

Batch mode allows the QEMC to fire the Alert

Cheers

Lee

View solution in original post

8 Replies
deepakk
Partner - Specialist III
Partner - Specialist III

hi ,

Use ScriptErrorCount= 0 in the condition of Alert and tick onPOstReload. If there is no error then this will trigger an mail or pop up

Not applicable
Author

Hi Deepak,

Thanks for the idea ... I am afraid ... the email fires from reload in the document but not from reload by the server.

So that has not quite cracked it.

Thanks

Lee

Not applicable
Author

Hi Lee,

I am having the same problem. Did your problem got resolved.

Thanks.

Not applicable
Author

Hi, from my experience, the trigger onpostreload does not work when reloading thru QVS. You can probably put your send email code within a sub in a macro a call at the end of the script, like this:

call send_mail;

Regards

Not applicable
Author

Hi,

Yes I did ... using the Alerts on Batch mode and the the condition is set to ScriptErrorCount = 0

Batch mode allows the QEMC to fire the Alert

Cheers

Lee

arthur
Partner - Contributor III
Partner - Contributor III

Hi all,

I am having a similar problem and the ScriptErrorCount = 0 and Batch mode did not solve the issue. Basic question: is Publisher required for this to work?

Thanks,

Arthur

Not applicable
Author

What else did you have to do to get this to work??

Not applicable
Author

Can you provide some additional information? i'm having the same problem you were...all test emails work, but not working when reloading from qmc???