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”.
Working or New status, OnPostNotify will not execute until that contract finishes.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.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;
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;
Look up any record, field, page, or component, audit security, and monitor Integration Broker across every database — in seconds.
A web console built for the PeopleSoft community — operational monitoring, security auditing, and metadata browsing in one tool.
On-demand security and operational reports for your PeopleSoft environment — no client install required.
Research any PeopleSoft object and monitor system health from a single browser tab — no App Designer, no SQL.
Chris Malek is a PeopleTools® Technical Consultant with over two decades of experience. He is available for consulting engagements.
Work with ChrisSWS turns SQL into production REST APIs — ready for AI, modern apps, and partner integrations. One install, unlimited potential.
A powerful PeopleSoft bolt-on that makes REST web services easy. You bring the SQL, SWS handles the rest.
Traditional PeopleSoft web services cost $3,600–$13,000 each to develop. SWS deploys production REST APIs in under 5 minutes through configuration alone.
Turn PeopleSoft data into clean REST APIs for AI integrations, modern applications, and vendor data feeds. Configuration-driven — no PeopleCode required.