Sunday, September 26, 2010

How to create a Daemon-Only Application Engine Program

A daemon program is an Application Engine program of daemon type that checks for an event.
§         When an event occurs, the daemon will trigger the process to handle the event.
§         Daemons allow processes to be driven based on events rather than a schedule.
§         Events can be internal or external to the PeopleSoft application database.

Example:
Applicaiton Engine program with following requirements can be configured as Daemon-only AE
program.
  •      Moniror a Temp Directory
  •      Look  for a file to process.
  •      if there is a file in the directory, process it.

To Accomplish this, first create an AE program to read and process the fiel. In the AE properties > 
Advanced tab, set the program type to Deamon Only.
Once the program is ready, tie it to a Daemon Group and activate the Daemon on  the server. After 
enabling the PSDAEMON, stop and start the process scheduler.

This configuration will trigger the AE Program, once the file has been placed in the TEMP Directory which 
is programmed in the AE program.

No comments:

Post a Comment