Task - On error

Top  Previous  Next

The On error tab in the Task window controls what happens when an error occur within a Task. By default, the Job stops executing when one of its Tasks has failed.

 

clip0166

 

Error causes

Different Task types have different reasons to fail. The goal is that you should be able to control what actually is considered an error by you - for all kinds of Tasks. We have not implemented handling for all kinds of errors but if you request handling for a specific error, in our request forum, we will add that.

 

Error cause categories

VisualCron evaluates a set of different error categories that will trigger the Task into error state:

"All errors" - all kinds of errors raise a Task error
"Only selected errors" - only items that you select in the list raises a Task error
"All except selected" - only items that you have not select in the list raises a Task error

 

Flow control on error

When an error is raised within a Task you have a couple of options:

"Stop Job" - Stops the Job execution immediately. No further Tasks will be run.
"Continue to next Task in order" - Ignores the error and continue to the following Task
"Wait and retry" - Waits a specified time and then try to run the Task again. You can choose how many times VisualCron will try to do this before stopping the Job completely.
"Go to Task" - Runs a specified Task in the same Job. You also have option to continue running the following Tasks in order - after that Task
"Stop Job and run specified Job" - Stops the current Job and executes another Job