
Recently I presented "More Advanced Reporting Tips and Techniques" at the Northern California RUG training day and showed instant messaging integration with the process scheduler and reporting tools. This generated quite a bit of interest.
This is a follow-on to this post, but has been updated and enhanced.
Why should I care about integrating instant messaging and PeopleSoft?
Good question, especially since PeopleSoft has delivered notification of reports through the Real-Time Event Notification service (or REN Server).
Let's start by covering limitations of the REN server:
With these limitations, the instant messaging integration we are discussing here does the following:
Click here to watch it in action.
Update on Installing and Configuring the IM example
Although the rough steps are included in the original posting, we ended up updating the code to make it easier to get up and running. For example, we included an application engine program that can be modified with your own IM accounts to test to make sure that the connection to the IM client is working independently of running processes through the process scheduler.
The hook we are using is subscription PeopleCode on the PSRF_REPORT_CREATE message (which gets published each time a process completes that has output, such as a report, log file, or trace).
Update on SMACK libraries for IM connectivity
The connection to the instant messaging service is done with an open source java library (based on the XMPP standard), called SMACK. One thing we found was that the version on the website supports a newer version of java than what our environments support (8.47). Therefore, you'll want to go here to get the libraries for version 2.21 (and put them in the class folder in the PS_HOME of your app servers)
New Project
Click on the following link to download the Application Designer project with the new code. Keep in mind that you'll want to replace gsdemo.user (and password) and the service names with the ones you will use in both the app engine program and the subscription peoplecode.
Labels: Email, Process_Scheduler, Reporting

