Task Flow on Error Not Working - VisualCron - Forum

Community forum

JustinHarter
2019-12-10T14:07:18Z
I have job that has a task that copies files. I have set on the flow tab of the task that on error it is to wait 10 minutes and retry again 2 times. However, my job fails often and it never seems to attempt to rerun. It just performs the error flow on the job level which is to send me an email. I get the email immediately when the job fails, which means it can't be waiting the 10 minutes to retry first. Am I doing something wrong?
Support
2019-12-13T09:49:39Z
What kind of error are you experiencing. Please add some screenshots of current Flow settings.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
kgroft
2020-08-11T16:53:45Z
Perhaps I can provide some additional information as we are experiencing the same issue. We have a job setup to copy files using powershell. The powershell is executed remotely against a different server. If this server is unavailable at the time that the task runs, the task fails. Instead of retrying, the job just fails and sends our notification that there was a failure. I attached the task level flow for reference. We have "All Errors" selected in the "On Error" tab because we've had issues with non zero errors not notifying us on failure.

***Note: It appears this is only an issue if "Run tasks in order" is not checked.***

We have the task set to wait 5 minutes and retry the job 6 times.
At the job level, we have it set to send an email notification on failure.

The desired behavior is that the task fails, waits 5 minutes, retries, and repeats 6 times if it keeps failing and then we should get the job failure notification after the last retry and failure. Have we set something up incorrectly that it is failing on the first attempt and not retrying?
image.png
Support
2020-08-12T09:28:10Z
Originally Posted by: kgroft 

Perhaps I can provide some additional information as we are experiencing the same issue. We have a job setup to copy files using powershell. The powershell is executed remotely against a different server. If this server is unavailable at the time that the task runs, the task fails. Instead of retrying, the job just fails and sends our notification that there was a failure. I attached the task level flow for reference. We have "All Errors" selected in the "On Error" tab because we've had issues with non zero errors not notifying us on failure.

***Note: It appears this is only an issue if "Run tasks in order" is not checked.***

We have the task set to wait 5 minutes and retry the job 6 times.
At the job level, we have it set to send an email notification on failure.

The desired behavior is that the task fails, waits 5 minutes, retries, and repeats 6 times if it keeps failing and then we should get the job failure notification after the last retry and failure. Have we set something up incorrectly that it is failing on the first attempt and not retrying?
image.png



This seems to be a bug, thanks for reporting this. We'll update this thread once we've fixed it.
Michael
Support
http://www.visualcron.com 

Please like  VisualCron on facebook!
Scroll to Top