Foxtrot has a tool for errors handling. By default, in the event of an error Foxtrot will automatically stop the project and display an error message. However, if a project contains an Error Task, Foxtrot will instead call this Task automatically and perform the action(s) specified by the script to handle this error. A task set to Run on Error is a special type of Task, in which certain rules and restrictions apply:
- Only one Error Task may be used at a time
- Certain Flow actions such as Run Task and Skip to End cannot be used
- A Mouse Sequence action cannot be used
Once Foxtrot has handled the error as specified within the Task, a project may be resumed to complete the process, or continue updating records that do not exhibit an error. Foxtrot may continue running the script following an error with a Resume action. A project may be resumed nine different ways:
- Skip the Action
- Retry the Action
- Go to Start
- Go to Top
- Go to Bottom
- Go to End
- Go to Label
- Go Forward
- Go Backward
By resuming the script, Foxtrot will automatically continue running the process, regardless of an error message. It is recommended to log these errors into a log file.
The Error Task will automatically run every time an error occurs. Use the Set Error Task and Clear Error Task actions in Flow section.
or use right-click on a task in the Project pane to set/unset error task.
Foxtrot may continue running the script following an error with a Resume Action