You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Approval flow not working when manager submits absence on behalf employee

Received Response
88
Views
5
Comments

Summary:

Approval flow not working when manager submits absence on behalf employee

Content (required):

Hi,

I have a scenario as below:

  1. Employee Submits Absence > Approval route to Line Manger > HR Spec.
  2. 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))

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!