My Oracle Support Banner

Fusion Absence Management: Approval Condition to Determine if the Requester is the Employee or His/Her Manager / HR Person? (Doc ID 2064255.1)

Last updated on JULY 11, 2023

Applies to:

Oracle Fusion Absence Management Cloud Service - Version 11.1.9.2.0 and later
Oracle Fusion Absence Management - Version 11.1.9.2.0 and later
Information in this document applies to any platform.

Goal

Manager is not getting recognized in Absence Approval IF condition

Requirement:
If the Employee requests 'Privilege leave' then it should go to Manager and then HR

If the Manager requests 'privilege Leave' on behalf of the Employee, then it should go to HR only

We have written below condition for Employee and Manager:
For Employee:
((absencesApprovalsRequest.absenceType equalsIgnoreCase "Privilege Leave") AND (RequestorDetails.personId == absencesApprovalsRequest.personId))
For Manager:
((absencesApprovalsRequest.absenceType equalsIgnoreCase "Privilege Leave") AND (RequestorDetails.personId != absencesApprovalsRequest.personId))

Employee transactions are working fine, but when the Manager initiates an absence request on behalf of the Employee, the First condition is getting triggered instead of Second condition.

Please let us know why second condition is not working in if condition of Approval.
 

Solution

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Goal
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.