Email Log File

Discuss RoboTask here
Post Reply
mherr62
Posts: 1
Joined: Thu Feb 04, 2016 9:43 pm

Email Log File

Post by mherr62 »

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.
Oleg
Site Admin
Posts: 3202
Joined: Thu Jan 01, 1970 1:00 am
Contact:

Re: Email Log File

Post by Oleg »

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.
Oleg Yershov
Post Reply