Professional Documents
Culture Documents
HCM 9.1
PRESENTED BY:
Paul Gryfakis
Principal Consultant / HCM
Practice
MARCH 2011
Agenda & Objectives
OBJECTIVES » Introduction
• Provide an overview of the » What is the Approval Workflow Engine (AWE)?
PeopleSoft Approval Workflow
Engine (AWE) » Review AWE Components
• Provide a technical overview of an » Describe the AWE Support Objects
AWE implementation
» Registering & Configuring AWE Transactions
• Allow time for a Q&A Session » Demonstrate Custom AWE Approval Process
» Review Custom AWE Components
» Questions and Answers
Event
On Process Launch Triggered when the AWE transaction is initiated
Route for Approval Triggered each time an approval is routed
On Final Approval Triggered when all approval steps have been
approved
On Final Denial Triggered when an approver denies the approval
request.
• The building blocks of objects and definitions that will be used within the
framework for the AWE process:
» Record Objects
• Header Record
• Cross Reference Record
» Processing Logic
• Event Handler
• Ad Hoc Access Class (optional)
• Thread Class (optional)
» Notifications
• Email Template
• Email Template SQL Object
• User List Definitions
Record Objects – Header Record
• The AWE uses this record as its only link between itself and the
transaction (Header Record).
• Your application does not need to retrieve any information off this
record and should never update this record.
• The cross-reference record is simply a record containing the
delivered EOAW_XREF_SBR as well as all the key fields from the
applications header record MARKED AS NON-KEY fields.
Processing Logic – Event Handler Class
Method allowInsert
If IsUserInRole(“ExpensesAdministrator”) then
Return True
Else
Return False
End-if;
End-method;
Processing Logic – Thread Class
• Anytime the AWE triggers an email notification based on the rules that are
set in the Configure Transactions component, it will construct the email
based on the assigned template.
• Navigation: Set Up HRMS > Common Definitions > Approvals > Generic
Templates
Notifications – Email Template cont’d
• You must create SQL Object(s) if you wish to use bind values in your email
notifications to display data.
Notifications – User List Definitions
• User List object definitions are pieces of logic that, when instantiated at
runtime, return a list of PeopleSoft operator IDs.
• Userlists are used primarily to define who the system needs to route a
transaction to at the Step level of an Approval Process Definition.
• A set of pre-defined user lists based on typical HCM direct reports
hierarchies are delivered
Notifications – User List Definitions cont’d
There are four types of User Lists you can define to help the system resolve who the next approver
is for a given transaction.
1. Role – The system will return all the users in the specified role to the engine at runtime.
2. SQL Definition – You need to enter SQL Object name they have created through Application
Designer. The SQL Object must select OPRID in its select statement.
3. Query – You need to enter Query Name they have created through Application Designer. As
with the SQL Definition, the Query must select OPRID in its select statement.
4. Application Class – You need to provide Application Package Name and Application Class
name. The application class must Extend the PTAF_CORE:Defn:UserListBase Class.
Include User as Input – If this checkbox is turned on, then requester’s OPRID or the previous
approver’s OPRID will be used to resolve the bind variable for SQL Object and Query.
Transaction Keys as Input – If this checkbox is turned on, the transaction data record passed into
the AWE will be used to resolve the bind variable for SQL Object and Query.
Registering and Configuring
AWE Transactions
The recommended steps for setting up your transactions to use AWE are as
follows:
1. Approval Transaction Registry – Where you register your transaction in
AWE
2. Workflow Transactions - Where you link the self service transaction
name to the process ID used in AWE
3. Configure Transactions - where you define among other things the
notifications behavior for each transaction.
4. Approval Process Definition - where you define your approval processes
and criteria, if any
Register the AWE Transaction
• Use the Transaction Configuration page to define how to handle the various
events of the approval process (e.g. Approval Launch, Final Approval, Denial)
» Configure Approval Menu/Component/Page
» Configure SQL object for workflow
» Configure Notifications
Approval Process Setup
• The HCM Shared Components team delivered three new permission lists
and one new role to support AWE.
Implementing the Status Monitor
Paul Gryfakis
Principal Consultant
847.274.3890
paul_gryfakis@optimumsolutions.com