Monitor 10.5 | pub.monitor.process.instance Folder | pub.monitor.process.instance:getInstanceErrors
 
pub.monitor.process.instance:getInstanceErrors
Retrieves the errors that were logged to the logging database for a process instance.
Note:
Whether the search is case-sensitive or case-insensitive depends on how the underlying database (for example, Oracle, DB2, or SQL server) handles the queries that Monitor issues to obtain data.
Input Parameters
The following table lists the input parameters.
instanceID
String Instance ID of the webMethods-executed process instance for which to retrieve control actions. Specify the complete, exact ID.
Output Parameters
The following table lists the output parameters.
instanceErrors
Document List The retrieved errors. The following fields are returned for each error.
*ROOTCONTEXTID String Root context ID of the process instance.
*PARENTCONTEXTID String Parent context ID of the process instance.
*CONTEXTID String Context ID of the process instance.
*SERVERID String ID of the server where the error occurred.
*SERVICENAME String Name of the service that logged the error.
*ERRORMSG String The logged error.
*ERRORSTACKTRACE String Any stack trace logged for this error.
*AUDITTIMESTAMP Number Time the action was logged, in epoch time; that is, the number of seconds since January 1, 1970.
*AUDITTIMESTRING String Time the action was logged in string format, YYYY-MM-DD hh:mm:ss.SSS zzz, where:
*YYYY-MM-DD is the date
*hh:mm:ss:SSS is the time, including milliseconds
*zzz is the time zone
message
String Error that occurred during the execution of this service if this service encountered an error.