Get Started with Redwood for Oracle Cloud HCM Begin Now
Approval flow not working when manager submits absence on behalf employee
Summary:
Approval flow not working when manager submits absence on behalf employee
Content (required):
Hi,
I have a scenario as below:
- Employee Submits Absence > Approval route to Line Manger > HR Spec.
- Manager Submits Absence on behalf employee > Approval should goes to HR Spec. but it's auto approved
When I configured the approval set, it's working as expected for employee submit absence but not working other than employee.
I assume the rule which I am using may causing the issue here,
Employee Rule: ((absencesApprovalsRequest.absenceType == "Vacation Leave Plan") AND (absencesApprovalsRequest.createdBy == absencesApprovalsRequest.empUserId) AND (absencesApprovalsRequest.duration <= 24.75))
Manager Rule: ((absencesApprovalsRequest.absenceType == "Vacation Leave Plan") AND (absencesApprovalsRequest.absenceDispStatusCd == "MGR") AND (absencesApprovalsRequest.duration <= 24.75))
0