2022.2

Table Of Contents
Error handling, on the other hand, occurs when your configuration has been sent to PlanetPress Work-
flow services, and are running in "production" mode. The automated handling of errors within your pro-
cesses will have a large impact on recovering from errors as they happen during production.
About error handling
When your process is running, or during debugging, it may happen that the task that is currently run-
ning causes an error, and the task fails. For example, when trying to save to a folder that does not exist,
or printing to a printer that cannot be found.
When such an error occurs, in most cases you would want to be aware of it and to take certain actions
in order to correct or report the error. This is where our error handling features come in handy.
Most of the tasks, branches and conditions included in your process can have their own error handling
behavior, with the exception of Comments, the Input Error bin task, and older legacy tasks from pre-
vious versions of Workflow that did not have error handling.
By default, when an error occurs, the task is skipped and the unmodified job file is passed on to the next
task. You can overwrite this behavior by changing the options of the On Error tab of the process -
which sets the default error handling behavior for all the tasks in that process - or of an individual task.
Using the On Error tab
Whenever an error is triggered either during debugging or when a process runs in production, the set-
tings specified in the On Error tab of the task that generated the error will be used to determine a
course of action.
On Error Tab
The On Error tab is common to all tasks and processes. It can be found in the "Task Properties dialog"
on page733.
By default, any Action task, Branch, Splitter or Condition that generates an error will simply be ignored,
and the task just under it (not within a branch) will be given control of the job file without any modi-
fication. Any initial input task that generates an error will stop the process from running as a whole, and
Output tasks will not generate output. The On Error tab can be used to overwrite the default behaviors.
l
Send to Process: Check this option to send the job file to an error management process.
l
Error Process drop-down: Enabled only when the Send to Process option is checked. Lists
any process of which the initial input task is the Input Error Bin task.
l
Action: In the initial input tasks, this group is disabled and defaults to Stop Process. In all other
tasks where the On Error tab is present, the following options are available:
l
Default: By default, the task is ignored as if it did not exist and the error is logged before
continuing the branch or process; the job file is passed on to the next task in the process.
Page 83