Using PeopleCode Methods to Read and Write Errors to the Asynchronous Error Queue

PeopleSoft provides the following two methods to read and write errors to the asynchronous error queue:

Field or Control

Definition

GetMessageErrors

If an error occurs during processing of a service operation instance, publication contract or subscription contract, the error is read from the appropriate queue.

SetMessageError

If an error occurs during processing of a service operation instance, publication contract or subscription contract, the error is written to the appropriate queue.