Contents

OnPostNotify

/*
The OnPreNotify event fires if it is registered on the service operation routing
applicable for the transaction. OnPreNotify has access to all segments of data 
in a message, however, this even is typically used to truncate tables or run 
pre-processing prior to creating subscription contracts and executing notifications.

The OnPostNotify event fires if registered on the service operation routing 
applicable for the transaction. After all notifications are in Done or Cancelled
status, the OnPostNotify event runs. Note that only the first segment of data is
available on the message, as the intent it not to serialize the data into a 
rowest, document or xmldoc, but rather to invoke post processing based on the transaction itself.

Please refer to the Integration Broker PeopleBooks for a typical integration 
scenario using these events.

If an error occurs the OnError method, if implemented, is automatically invoked.
To view the exception type, use the Message object to retrieve the Exception 
object (&Message.IBException). Please see the PeopleCode Language Reference 
PeopleBook for more information about the Exception class. 
*/

interface IPrePostNotification
   method OnPreNotify(&message As Message);
   method OnPostNotify(&message As Message);
   method OnError(&request As Message);
end-interface;

Author Info
Chris Malek

Chris Malek is a PeopleTools® Technical Consultant with over two decades of experience working on PeopleSoft enterprise software projects. He is available for consulting engagements.

Work with Chris
PeopleSoft REST APIs in Minutes, Not Months
PeopleSoft Simple Web Services (SWS)

SWS turns SQL into production REST APIs — ready for AI, modern apps, and partner integrations. One install, unlimited potential.

  • Configuration-driven, no coding required
  • JSON, XML, and CSV output
  • Works across all PeopleSoft pillars
  • Built on 25+ years of PeopleSoft expertise
Looking for pain-free PeopleSoft web services?
PeopleSoft Simple Web Services (SWS)

A powerful PeopleSoft bolt-on that makes REST web services easy. You bring the SQL, SWS handles the rest.

  • Go from idea to production in minutes
  • Zero code migrations after install
  • JSON, XML, and CSV output supported
  • No PeopleCode or Integration Broker expertise required
Stop Building PeopleSoft Web Services the Hard Way
PeopleSoft Simple Web Services (SWS)

Traditional PeopleSoft web services cost $3,600–$13,000 each to develop. SWS deploys production REST APIs in under 5 minutes through configuration alone.

  • No PeopleCode or Integration Broker expertise required
  • Works across Campus Solutions, HCM, and Financials
  • Built-in pagination, caching, and nested data structures
  • Trusted by institutions across higher education and government
PeopleSoft REST APIs for AI, Modern Apps, and Integrations
PeopleSoft Simple Web Services (SWS)

Turn PeopleSoft data into clean REST APIs for AI integrations, modern applications, and vendor data feeds. Configuration-driven — no PeopleCode required.

  • Deploy production APIs in under 5 minutes
  • AI and LLM ready (RAG, chatbots, intelligent search)
  • JSON, XML, and CSV output
  • Zero modifications to delivered PeopleSoft objects