Modifying Approval Rule for Performance Goals Based on Manager Flag
Summary:
We are working on modifying the approval rule for performance goals in Oracle to meet the following requirements:
- Line Managers' Goals: Goals for anyone with a line manager role should be auto-approved.
- Employee Goals: Goals for anyone with an employee role should be sent to their manager for approval.
We have tried configuring the approval rule using the ManagerFlag, and the following lines of code are being used for manager hierarchy and self-approval:
- For manager hierarchy:
(getRequestorInformationByUserNameResponse.result.managerFlag == "NO")
- For self-auto-approval:
(getRequestorInformationByUserNameResponse.result.managerFlag == "YES")
However, the configuration doesn't seem to work as expected.
Could anyone share insights or solutions on how we can achieve this functionality? Any guidance or suggestions would be greatly appreciated.
0