Showing posts with label Outlook notifications from Peoplesoft. Show all posts
Showing posts with label Outlook notifications from Peoplesoft. Show all posts

Friday, March 16, 2012

Microsoft Outlook integration for Absence Management in PeopleSoft 9.2: Update

In a previous post, we had talked about the integration that Oracle will be providing to Microsoft Outlook from PeopleSoft Absence Management. We had mused upon the level of integration that Oracle will provide for this feature. If a sneak peek we got has it right, Oracle has designed a bi-directional integration between Absence Management and Microsoft Outlook. This feature is bringing in the functionality to request absences from....hold your breath - Microsoft Outlook!! Now, that is one of the best functionalities I've seen in PeopleSoft Time and Attendance over the last few releases (the integration of Absence requests in Time and Labor and integration to OWS would ofcourse top my list!). Oracle would be delivering an add-in to MicroSoft outlook with fields similar to the Absence Request page in PeopleSoft, from where you can directly request for an absence.
Seeing is believing for me and I would really wait to see this in action before being excited about this functionality. There are a lot of scenarios that this integration would have to cover like:
1. Absence edit/cancel functionalities: Will we have these features in the Outlook version and will they be synchronised with what exists in the Absence Request History page?
2. Will it be possible to adjust the absence dates by simply moving the absence event in the Outlook calendar?
3. Will forecasting be supported in the Outlook add-in?
4. Will user fields be supported in the Outlook add-in?
5. Will there be support to report half day/partial hour leaves? Will there be support for a true start time/end time based absence reporting which is supported by Outlook? (Oracle Absence Management product managers - it is extremely imperative to have an absence management system where employees can report accurate Start and End time. This is a pretty common requirement outside USA and has implications to payroll calculations in many countries. It is a pity that PeopleSoft doesn't support this and defends by saying that Absence Management is not a punch time based system!)
6. Is there integration from Absence Event page to an employee's Outlook or is it only supported for self service based leaves?
7. Are translations supported in the Outlook add-in?
8. If a customisation is done to some of the fields in the Absence Request page in PeopleSoft, how will that affect the Outlook add-in?

One of the main reasons why I am upbeat about this functionality is because it brings enterprise functions to the desktops/tablets - which is the way to go. The fact that you can carry out enterprise transactions through desktop applications is greatly enabling for an employee and in turn the organisation. Another major advantage of this feature will be the ability to present a team calendar of absences. With absence events coming over to Outlook Calendar, employees can easily look up the planned absences of their colleagues, which is a commonly requested functionality during implementations.
Note to customers when you implement this functionality:
Ensure that you run through all possible use cases of Absence reporting to ensure that this add-on covers all valid business cases. Also look at how you would be keeping the ESS Absence Request functionality in sync with the Outlook add-in features.

This post is authored by HRoi Consulting - The PeopleSoft Time and Attendance Experts. Email us at partner@hroiconsulting.com to see how you can leverage ROI on your PeopleSoft Time and Attendance investments.

Sunday, March 4, 2012

Microsoft Outlook integration for Absence Management in PeopleSoft 9.2

If I read the summary of main HCM features in version 9.2 correct, Oracle will be providing a functionality to integrate Absence Management with Microsoft Outlook calendars. This is a feature enhacement I will cheer for. There is a real business need for this as I had argued in a post almost two years ago. It will be interesting though to see the use cases that will be supported by this integration. For example, will there be a two way integration in this case, just like what is present for recruitment solutions? I would assume no as the edit functionalities of Absences is pretty minimal in PeopleSoft (and one of the major pain points of the module!). Let's look ahead to the actual Release Value Proposition (RVP) document to see more detailed features.

Saturday, February 14, 2009

Peoplesoft-Microsoft Outlook Calendar integration

This was one piece of work I wanted to try out for a long time. With all the makeover that Enterprise Products are having with the introduction of Web2.0 features, SOA capabilities etc.- it is only natural that a synergy between desktop applications and ERPs are introduced. A lot of pioneering work has already gone into this area and I noticed couple of blogs and discussion forums mulling over the integration of Outlook Calendars with Peoplesoft. Considering the central role played by a mail client in scheduling meetings and events, it is an exciting possibility to send notifications from Peoplesoft as meeting invites to a mail client and extend the boundary of the application to the user's desktop.
Jim Marion has an excellent post here which gives the framework for the integration. It's a great place to start off from. (You can get some tip off from this forum also.)
These discussions throw up couple of options to implement this feature. Jim talks about providing the users a link to view the invite while another forum talked about creating an invite file and sending it as an attachment to the e-mail of the user. I piloted both these features and believe that in a real time environment, the latter option of sending the invite to the mail is a much better option than Jim's approach.
The implementation per se is pretty simple with very minimal coding, but I had two very important learnings during this pilot.
> The standard protocol used in the exchange of calendar invites is called iCalendar. This is an inter-operable protocol accepted by most calendar/scheduling systems. A working paper on the iCalendar framework can be found here. iCalendar files contain all the necessary information for the scheduling of an event and can be send across applications as a '.ics file. To test this, create a new appointment in MS Outlook calendar and save the appointment in the iCalendar format as shown below:


Open the iCalendar file is a text editor and you can see the details of the protocol. Thus, any invite that is sent out from Peoplesoft to a mail client has to be in the iCalendar format. This makes the task pretty clear - we need to build a mechanism that will generate a file in the iCalendar format with the correct details of the meeting.

> The content type of the file/response sent to the mail client should be "text/calendar". This means that before sending the iCalendar response to the mail client, the content type of the response has to be set to "text/calendar".

The fundamentals of my approach are heavily drawn from the blog of Jim Marion, yet I believe he did not give the actual implementation details which I intent to furnish here. The steps involved in this integration are as follows:

1. Create an HTML object with the iCalendar framework skeleton and assign the begin time, end time, summary and attendees tag to HTML bind variables.

2. Create a funtion or an iScript (create an iScript if you want the users to view the ics file from a link) which will call the iCalendar HTML object and pass the necessary bind variables using the GetHTMLText function. Jim has given details regarding the iScript and that can be directly implemented.

3. Jim's iScript is designed to show the ics file on the click of a link. But, I was turned on by a better approach of sending the ics file as an attachment to the e-mail of the correct users. To do this, bind the iCalendar HTML object with the correct parameters and save it as a .ics file and send that as an attachment. One point to be kept in mind for this approach is that the content type of the attachment has to be set as "text/calendar". If you are on tools 8.48 or above, use the delivered mail class functions which can be found in the App Package - PT_MCF_MAIL. The SetAttachmentContent or AddAttachment methods in this package has the capability to override the content-type of the attachment.

All discussions regarding this topic talks about only the above mentioned approaches, but I tried the same integration using the XML Link Registry utility. This can be useful when the users need to view the meeting invite through a link from an external (non-peoplesoft) site. I first came across the XML Link Registry utility while reading about running a PS Query from the desktop without signing into PIA. You can find details of that here. An XML Link Registry function is a mechanism whereby we can expose the methods in our web libraries (the iScript functions) to a non-peoplesoft system and the beauty of it is that the methods can be called from a URL. It's a pretty phenomenal utility to execute Peoplesoft functions from an external system if IB is not being used. Any iScript function can be exposed as an XML Link Registry function - for this, an XML Link Registry function need to be defined in: Peopletools --> Utilities --> Administration --> XML Link Registry.
I exposed the iScript created to trigger the invite as an XML Link Registry function and invoked the XML Link Registry service from the external URL.
So, there are multiple approaches for this implementation:
1. Send the ics file as an attachment to the users.
2. Within peoplesoft, show a link to the users from where they can access the invite.
3. Expose the invite as a link in a third party site and invoke the invite on click of the link.

Choose the best approach for the integration based on the current notification mechanism that is in place in your system.