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.
Thanks for answer. It helps me. But if i use .qvw document which fails can i take take the name of the failed task in my email notification.( Task 'xxxx.qvw' failed) because I have multiple tasks and i want to notify me for some of them.