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

How to create an Approval Workfow that is Role or AOR based in submitting Absence?

Accepted answer
104
Views
4
Comments
edited Aug 21, 2023 11:43AM in Workforce Management 4 comments

Hello,

The team currently has a requirement where if the absence submitted by the Timekeeper should send approval to Employee's Line Manager. Is there a way wherein the the approval rule is based on the Timekeeper's role or Timekeeper's AOR? See below expected transaction flow:

  1. Timekeeper submitted a Vacation Leave of an Employee (Note: Already already added Timekeeper's role and AOR to employee)
  2. VL transaction will be sent to employee's Line Manager for Approval.

Below is the current condition rule we are using but it's not functioning, it fails and has an error:

((absencesApprovalsRequest.userMode == "ADMIN") AND (ResponsibilityType.representativeType contains "C Timekeeper") AND (absencesApprovalsRequest.absenceType == "a. Vacation Leave"))

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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