2022.2

Table Of Contents
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 page245.
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.
%{error.errorid}
The error ID, as entered in the OnError tab of the task.
This is the same ID that appears in the Windows Event Viewer.
%{error.errorlog}
A string containing the logged error message(s) from a task. Multiple error messages are delimited by a "|" (vertical bar) char-
acter.
Accessing the Logs
If your process is running live in the PReS Workflow Service, you have two ways of seeing what is hap-
pening now or what has happened in the past.
Viewing running processes
To view what processes are running and processing data as it happens:
1. In the PReS Workflow Ribbon, click on the Tools tab, then select Service Console in the Ser-
vices group. The PReS Workflow Service Console opens.
2. Click on the service you want to check, including:
l
PReS Workflow
l
LPD Server
l
Telnet Capture
l
Serial Capture
l
HTTP/SOAP Server
l
LPR Client
l
FTP Client
l
PReS Image
Page 85