we use two different ways to send these notifications:
1. Automated by QMC
Go to you QMC and select "System" -> "Disribution Service" -> "QDS@<yourserver>" -> Tab "Alert E-mail"
You can fill in E-mail addresses here. A message is sent, whenever a tasks fails. In the E-mail you can find a part of the logfile, e.g.
22.09.2015 11:31:12 Error Document open call failed. The document might require username and password. 22.09.2015 11:31:12 Error The document failed to open.
22.09.2015 11:31:12 Error Document could not be opened
22.09.2015 11:31:12 Error The task "xyz" failed. Exception: QDSMain
We have a dummy-file in which we create reports. Then we create a dummy task on this file, which sends the notification. The task is triggered on success / fail of specific tasks (e.g. we need to inform users, that the an application has been updated).
The reports are send as pdf (you need a license to do this!), configured in the QMC task: "Distribute" -> "File Type" -> "PDF report from source document".
Another possible way (if you don't have a pdf license) could be to create an empty QVW named e.g. "task failed". You can configure the task to send this file to you ("Distribute" -> "File Type" -> "QlikView document").
If you like, you can create various QVWs (for ever task a different one so that you know, which one failed). This solution might be a bit unhandssome - depending on how many different QVWs you need for you conditions.
Hope this helps.
you can use one qvw.-File but you need to create a single task in QMC for every job that has to send a message with a different subject.
The E-Mail sent will have a subject like: "QlikView Publisher: XYZ.qvw is attached to this message"
You can manipulate the name of the qvw:
So if your reduced document name is "reload_of_sales_statistic_failed" your subject will be: "QlikView Publisher: reload_of_sales_statistic_failed.qvw is attached to this message".
The trigger for this job would be something like this:
You can also configure the subject and the body of the mail:
Go to "System" -> "Setup" -> "Distribution Service" (select your machine) -> "E-mail Templates"