Understanding the Notification Application Class

This PeopleSoft application provides a method for sending email messages from PeopleCode through the Notification application class. The Notification application class can be called from Application Engine PeopleCode or from component, page, and record PeopleCode.

Here are some guidelines for deciding when to use the Notification application class instead of calling a component interface to use TriggerBusinessEvent PeopleCode:

  • To leverage existing business logic on a page, use a component interface.

  • If you have already defined a business process, activity, roles, and routing for sending the email message or worklist, use a component interface.

  • To send an email or worklist notification (for example, if you want to run an Application Engine program that selects the transferred assets and sends an email message to each manager), use the notification application class.

    This assumes that the list of user IDs or email addresses to which you want to send the notification is easy to determine in PeopleCode.