2020.2

Table Of Contents
You can have as many error processes as you can normal processes - that is, you are limited to
512 processes, subprocesses, startup processes and error processes combined.
Information available in an Error process
The following information is available from within your Error process when it is triggered.
l A series of variables containing information about the error, the task that triggered it and
the process that contained it (see below). These are "System variables" on page715.
l "Job Info variables" on page714 (%1 to %9).
l The data file as it was before starting the task.
l Global variables (which are, of course, available anywhere).
Note
Local variables in the process are not sent to error processes, even if the error process
has a variable of the same name.
Error handling variables
The error handling variables are read only and are filled by the On Error mechanism.
They can be accessed anywhere, but they only appear in the contextual menu of a task
property field when the current process is an error-handling process (that starts with the Error
Bin Input task). See also: "Variable task properties" on page724.
Variable Name
%{error.process} Name of the process where the error was triggered.
%{error.tasktype} The type of task that triggered the error
%{error.taskname} The name of the task that triggered the error
%{error.taskindex} The position of the task in the process
%{error.errormsg} The error message, as entered in the OnError tab of the task.
This is the same message as appears in PReS Workflow Log file.
Page 101