Introduction
Over the last year I have worked on an upgrade from HR9.0 / PeopleTools 8.52 to HR9.2 / PeopleTools 8.54. One of the most interesting things I worked on was implementing a new Mobile Approval type. My client had implemented a custom Approval Workflow Engine (AWE) process back in HR9.0 to handle the approval of Time Off In Lieu (TOIL) requests. And they wanted to make use of the new Mobile Application Platform (MAP) built Fluid Approval pages delivered in HR9.2. This required implementing a new mobile approval type for this custom AWE Process.This blog post will be the first covering this implementation.
General comments about implementing TOIL Approval
Most of the configuration and code was based on the Absence Approval Setup. The OXFTOIL configuration added to Enterprise Components > Approvals > Approvals > Mobile Approval Options > Transactions page was based on the ABSENCE configuration on the same page. The TOIL Approvals App Package PeopleCode (to be reviewed in a later blog post) in OXF_ABSENCE_MGMT App Package was based on the PeopleCode in the GP_ABS_EVT_HANDLER App Package.Mobile Approval Options
TOIL Approvals using the new (as of HR9.2/PT8.54) MAP built Approval Fluid pages is configured via Enterprise Components > Approvals > Approvals > Mobile Approval Options > Transactions page . Here are screenshots of the configuration entered on this page/component. And below I'll show how it relates to what users see and how the TOIL Approvals work.- *Order
- You would think this value determines the order of the Transaction List you see on the Pending Approvals page. But have not been able to verify this is the case. (Maybe when changes to this value were made that an App Server or Web Server needed rebooting?)
- *Transaction ID
- Doesn't seem to be used other than to be the unique key in this list of Mobile Approval Transactions
- *Transaction Name
- The Transaction Name shows up in three different places
- Pending Approvals Page
- TOIL Approval Main Page
- TOIL Approval Line Detail Page
- The Transaction Name shows up in three different places
- *Process ID
- Ties this Mobile Approval configuration to an AWE Process defined in Enterprise Components > Approvals > Approvals > Transaction Registry
- Include in JQuery Mobile
- MAP can make use of JQuery Mobile. Have not seen anywhere this has been used so unsure how this setting will affect the TOIL Approval
- Allow Mass Approvals
- This has been turned off for TOIL (but is on for Absence Requests.) If it was on, on the Pending Approval page when TOIL Hours is selected on the left hand side, then on the right hand side the Approve and Deny buttons would be displayed above the list and check boxes would be displayed next to each TOIL Hour request.
- Transaction Group
- Unused. If Transaction Groups were defined in Enterprise Components > Approvals > Approvals > Mobile Approval Options > General Settings page , then you could possibly Group various Approval Transactions into one group.
- Transaction Handler Class
- Unused
- Root Package ID
- This is the PeopleCode App Package where all the work is done. (To be reviewed in a later blog post)
- Approve
- On. Means the Approve button is displayed on the TOIL Approval Main Page
- Deny
- On. Means the Deny button is displayed on the TOIL Approval Main Page
- Pushback
- Off. Means the Pushbck button is NOT displayed on the TOIL Approval Main Page
- Hold
- Off. Means the Hold button is NOT displayed on the TOIL Approval Main Page
- Request Information
- Off. Means the Request Information button is NOT displayed on the TOIL Approval Main Page
- *Small Image
- Image used is MAP_TIME. Sets the image a user sees in the list of Approval Transactions on left hand side of Pending Approvals page.
- Medium Image
- Not set. Unsure of it's use.
- Large Image
- Not set. Unsure of it's use.
How Configuration is Reflected in MAP Pages
Pending TOIL Approvals
- Transaction Name (TOIL Hours) is displayed in three places on this page.
- Because Allow Mass Approvals is off, the Check Box and Approve and Deny buttons are not displayed on this page.
- MAP_TIME image is displayed to the left of TOIL Hours on left hand side list of outstanding approval types.
TOIL Approval Main Page
- Transaction Name (TOIL Hours) is displayed in one place on this page.
- Approve and Deny buttons are displayed on this page
- Pushback, Hold and Request Information buttons are NOT displayed on this page
TOIL Approval Line Detail Page
- Transaction Name (TOIL Hours) is displayed in one place on this page.
What else?
The most important part of implementing Mobile Approvals is the App Package PeopleCode that is required. I hope to cover that in an upcoming post. Stay tuned.
No comments:
Post a Comment