The OnNotify event is triggered when an Asynchronous event is subscribed to. It takes the message data sent by the publishing nodes and does something with it. It is generally just PeopleCode that does SQL inserts or invokes a CI. It does not return any data because the client is not waiting for a response (ie Asynchronous)

import PS_PT:Integration:INotificationHandler;

class asyncUtestOnNotifyHandler implements PS_PT:Integration:INotificationHandler
   method OnNotify(&MSG As Message);

method OnNotify
   /+ &MSG as Message +/
   /+ Extends/implements PS_PT:Integration:INotificationHandler.OnNotify +/
   Local XmlDoc &xmlDocInBound;
   Local XmlNode &requestRootNode;
   &xmlDocInBound = &MSG.GetXmlDoc();

Author Info
Chris Malek

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

About Chris Work with Chris