Applies To:: SSHR Approvals Using AME
Applies To:: SSHR Approvals Using AME
Applies To:: SSHR Approvals Using AME
In this Document
Purpose
Scope and Application
SSHR Approvals Using AME
References
Applies to:
Oracle HRMS (Self Service) - Version:
Information in this document applies to any platform.
Purpose
This article gives a functional and technical view of how Self-Service Human Resources
(SSHR) uses AME for approvals
1. Overview
A major change in SSHR approvals was introduced from SSHR V4.1 onwards.
This is that approvals default to using Oracle Approvals Management (AME) and
not the SSHR-specific method described in Note 111574.1
AME is a self-service web application (it’s not part of SSHR) which lets users
defineNote 111574.1
AME is a self-service web application (it’s not part of SSHR) which lets users
define business rules governing who should approve transactions that originate
in other Oracle applications eg in SSHR.
SSHR (or any other application) communicates with AME whenever it needs either:
- a list of approvers, for example if the transaction uses dynamic approval, SSHR will
call AME to get the approver names;
- to get the next approver in the approval chain, for example when a manager in the
chain has approved the transaction.
AME records each approval and recalculates the list each time it is called.
The calling application is responsible for getting AME to find an approver and for
notifying approvers.
AME is only responsible for compiling a list of approvers.
2. What is AME?
AME allows users to create conditions and approval types. These can then be linked by
rules.
There are several approval types eg supervisor level which goes up the supervisor chain,
and an approval specification will define how many approvers are required.
For example, a supervisor level approval style which requires approval up to the first 3
levels.
You would then define a rule to link the condition with the approval
eg If WORKFLOW_PROCESS_NAME = 'MY_CUSTOM_LOA' then use a
supervisor hierarchy approval style which requires approval up to the first 3 levels.
Each self service transaction requiring approval would have to meet the condition in one
of the rules that have been defined.
This note does not show how to modify and create approval lists. To understand that
please see Implementation Guide - AME.B (MetaLink Note 336901.1).
SSHR provides a seeded AME Transaction Type called 'Oracle Self Service Human
Resources' which includes one rule.
The condition is
WORKFLOW_PROCESS_NAME in (<list of all seeded SSHR functions>)
and the approval style is supervisor level.
If a different approval style is required for some or all of the SSHR functions, the seeded
rule can be modified or new rules can be created.
iLearning has it's own seeded transaction type called 'Learning Management' with a
seeded rule which also uses the supervisor hierarchy.
iRecruitment has a seeded transaction type called 'iRecruitment Vacancy Approval'
with several seeded rules.
To ensure a function goes through the approvals process you will generally need to set
the attribute HR_APPROVAL_REQ_FLAG in the Review function of the workflow
process to 'Y' (yes) or 'YD' (yes, dynamic). This is done in Workflow Builder.
As mentioned earlier in this note, the calling application is responsible for getting AME
to find an approver and for notifying approvers. AME is only responsible for compiling a
list of approvers.
Requisitions
To enable AME approval for requisitions go to Setup -> Purchasing -> Document Type
Form in a Purchasing responsibility and enter the required approval details.
Invoices
In AP navigate to Setup -> Options -> Payables. In the Invoice tab tick the 'Use Invoice
Approval Workflow' checkbox to specify that AME approval is to be used.
Individual invoices will require approval if the Approval Status field in the Invoices
screen is set to 'Required'
Expenses
Set the Profile Option AME:Installed, to Yes at the Application level for Oracle Payables
and all expenses will be approved via AME.
6. Common Issues
This error will be generated if AME selects a person as an approver and that person has
no record in WF_ROLES.
To check WF_ROLES you can run the sql
If the above query does not return any rows then no role exists for person_id=9999.
This may be because the person (person_id=9999) has been terminated in which case he
should be removed from any groups used in AME.
If the person is a current employee then ensure the person has an fnd user name.
If they already had a user name then run the Synchronize WF LOCAL tables concurrent
process.
This error is given if there is a loop in the supervisor chain, for example, A -> B -> C ->
B.
You can use the AmeSupervisorChain.sql below to check the supervisor chain for any
given employee and you will need to then correct the Supervisor field on the assignment
screen where necessary to remove the loop.