Absence Approval Based on Employee Grade
Summary:
Hello Everyone,
Has anyone implemented an absence approval rule based on employee grade?
I’m trying to set it up with the following conditions:
- Rule Condition 1:
(absencesApprovalsRequest.absenceDispStatusCd == "EMP") AND ((RequestorDetails.gradeCode != "G001") OR (RequestorDetails.gradeCode != "G002"))
- Rule Condition 2:
(RequestorDetails.gradeCode == "G001") OR (RequestorDetails.gradeCode == "G002")
When I submit a request from the employee login who is having grade G001, it’s triggering Condition 1 (the “not” condition) instead of Condition 2.
Has anyone faced this behaviour before, or am I missing something in the logic for the grade check?
Thanks in advance!
Content (please ensure you mask any confidential information):