Please review my situation and let me know how to tackle this. Thank you in advance.
When an batch job (Task) encounters a “critical” error, it will create an error file and the success file will not be created. This should trigger the failure notification to be emailed and no other jobs should be triggered to process.
But when an batch job/task encounters a “minor” error, it will create an error file and the success file will also be created. This currently triggers the failure notification to be emailed, although because the success file is created, other batch jobs will continue to process. What would be ideal is to have the email indicate that in this case, the error was minor and didn’t interrupt the nightly processing, but that follow-up is needed (by the appropriate IS/business people).
Also, right now the success notification and the error notification are set up as 2 different jobs. To reduce the number of jobs listed, is it possible to include the 3 different notifications within 1 job?