Contents
Contents

OnPostNotify

Struggling to bridge the legacy gap? Cedar Hills Group provides specialized PeopleSoft integration consulting to help teams design, build, and optimize their connection strategies.

The OnPostNotify handler executes on the subscribing node after all subscription contracts created for a transaction have reached a terminal status of either Done or Cancelled. In the PeopleSoft Service Operation Handler definition, this handler type is designated by Handler ID PTNF and labeled “On Post Notify”.

Characteristics and Use Cases

  • Execution Timing: Runs strictly after every subscription contract has completed or cancelled. If any contract is still in Working or New status, OnPostNotify will not execute until that contract finishes.
  • Message Segment Access: Unlike OnPreNotify (which has access to all segments), only the first segment of data is accessible on &message. Its primary objective is not to parse payload data, but to execute post-processing actions keyed to the completed transaction.
  • Post-Load Processing: Typical use cases include running post-load reconciliation, executing database index rebuilding, triggering dependent Application Engine batch jobs, or publishing downstream sync events.

Interface Definition

Handlers configured for OnPostNotify implement the PS_PT:Integration:IPrePostNotification interface:

import PS_PT:Integration:IPrePostNotification;

class MyPrePostHandler implements PS_PT:Integration:IPrePostNotification
   method OnPreNotify(&message As Message);
   method OnPostNotify(&message As Message);
   method OnError(&request As Message);
end-class;

method OnPreNotify
   /+ &message as Message +/
end-method;

method OnPostNotify
   /+ &message as Message +/
   /+ Extends/implements PS_PT:Integration:IPrePostNotification.OnPostNotify +/
   
   /* Post-processing logic after all contracts complete */
end-method;

method OnError
   /+ &request as Message +/
   /+ Extends/implements PS_PT:Integration:IPrePostNotification.OnError +/
end-method;

Delivered Implementation Example

In PeopleTools Application Data Set (ADS) synchronization (PT_ADS_PROCESS), the ADS_SYSTEM:PT_ADS_PROCESS application class uses OnPostNotify to finalize project synchronization after all data segments have been written:

import PS_PT:Integration:IPrePostNotification;

class PT_ADS_PROCESS implements PS_PT:Integration:IPrePostNotification
   method PS_ADS_PROCESS();
   method OnPreNotify(&message As Message);
   method OnPostNotify(&message As Message);
end-class;

method PS_ADS_PROCESS
end-method;

method OnPreNotify
   /+ &message as Message +/
   &message.ADSTableTruncation();
end-method;

method OnPostNotify
   /+ &message as Message +/
   /+ Extends/implements PS_PT:Integration:IPrePostNotification.OnPostNotify +/
   
   Local boolean &bRet;
   /* Finalize dataset synchronization against the publisher transaction */
   &bRet = %IntBroker.ADSSync(&message.ParentTransactionId, &message.PubNodeName);
end-method;

method OnError
   /+ &request as Message +/
end-method;
psLens Platform
psLens Operations & Intelligence

Look up any record, field, page, or component, audit security, and monitor Integration Broker across every database — in seconds.

  • 30+ object types browsable
  • 16 real-time alert types
  • Read-only by design
  • No App Designer or SQL required
Learn More
psLens Platform
psLens Operations & Intelligence

A web console built for the PeopleSoft community — operational monitoring, security auditing, and metadata browsing in one tool.

  • Sub-second object search
  • Catch stuck IB messages before users do
  • Audit service permissions from one screen
  • Works in any browser
Learn More
psLens Platform
psLens Operations & Intelligence

On-demand security and operational reports for your PeopleSoft environment — no client install required.

  • 14 on-demand reports
  • Markdown export for AI/LLM workflows
  • No shared tenancy
  • Built on 25+ years of PeopleSoft expertise
Learn More
psLens Platform
psLens Operations & Intelligence

Research any PeopleSoft object and monitor system health from a single browser tab — no App Designer, no SQL.

  • 30+ PeopleSoft object types browsable
  • Real-time alerts before users report problems
  • Read-only and secure
  • Private alpha — early access now
Learn More
Author Profile
Chris Malek

Chris Malek is a PeopleTools® Technical Consultant with over two decades of experience. He is available for consulting engagements.

Work with Chris
Subscribe to Updates
SWS Bolt-On
PeopleSoft Simple Web Services

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
Read More & Purchase
SWS Bolt-On
PeopleSoft Simple Web Services

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
Read More & Purchase
SWS Bolt-On
PeopleSoft Simple Web Services

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
Read More & Purchase
SWS Bolt-On
PeopleSoft Simple Web Services

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
Read More & Purchase