2022.2

Table Of Contents
On Error Tab
The On Error tab is common to all tasks and processes. It can be found in the "Task Properties dialog"
on page730.
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.
When an error occurs in a loop (or in a plugin that acts like a loop), the loop may log the
error, terminate the current iteration and proceed with the next iteration.
l
Stop Branch: If the task is in a branch of the process, the branch is stopped and the job
file is returned to the process after the branch. The branch will not produce any output. If
the task is not on a branch, the entire process will be stopped.
l
Stop Process: The process is stopped and no more processing is done. No further output
is produced.
l
Log Message: Check this option to enable logging a custom error message in the PReS Work-
flow log file and in the Windows Application Events.
l
Message: Enabled only when the Log Message option is checked. Enter a message that will be
logged in the PReS Workflow log file. You can use any variables available in PReS Workflow to
customize the message.
l
Store the message in variable: Select in which jobinfo, local or global variable you want to
store the message content.
l
ID: Enter an error ID. This ID will be visible in the Windows Event Viewer. However, the ID is not
visible in the PReS Workflow log file.
l
Store the ID in variable: Select in which jobinfo, local or global variable you want to store the
error ID.
l
Reset to defaults: Resets all options in this tab to their default values.
Page 83