How can I check whether the absence requestor has an AOR assigned to them in the absence approval?
We have a requirement where, if an employee has an Absence Keeper AOR assigned to them and submits an absence request, the approval workflow should route to the Line Manager and then to a Representative.
In the IF condition rule, we used:
(GetAllRepresentatives("DEPT_MGR", Task.payload.getRepresentativeListResponse.result) != "")
However, we realized that this condition does not specifically check the requestor’s AOR. Instead, it checks whether there is any employee with an AOR of DEPT_MGR.
Is there a way in the absence IF condition to check whether the requestor has a specific AOR assigned to them?
Tagged:
0