I've been through the entire forum and can't find this.
I run a "Master" task that opens our ERP and runs 8 balancing tasks; each of which takes about 30 minutes to run. If one of the tasks has an error, the others following shouldn't run. However, I won't know it until the next morning at 7:00 am. By then, it is very complicated to run it again as I have to reverse any entries that did run from previous night. The "Master" task kicks off at 7:00 pm when no one is in the ERP system. I would like to know how to use error handling to:
1) stop any task(s) from running IF THE TASK BEFORE IT FAILED; and,
2) send an email that a task failed.
Thanks in advance for your help.
Email Log File
Re: Email Log File
I think that you should use one error handling task.
In Error handling task do the following:
- stop each of all 8 tasks (use Stop Task action)
- send email to necessary addresses.
Stop Task action stops the task if it's working and does nothing if the task is idling.
In Error handling task do the following:
- stop each of all 8 tasks (use Stop Task action)
- send email to necessary addresses.
Stop Task action stops the task if it's working and does nothing if the task is idling.
Oleg Yershov