Allow single person to approve leave
By Gary Cousins 2 decades ago
Hi,
Two possible work-arounds but you'll have to test it yourself:
- Complicated Way
Open the "Leave Request" form in Designer.
Open the action properties for the "approve A/L - administrators" action and open the "Hide When" tab.
In the "Hide action if formula is true" window change the formula to !(@IsMember("[Approver]"; @UserRoles))
Do the same for "Cancel Annual Leave".
You may have to remove all references and fields relating to "Administrator" in the application because mails are sent to the administrator at nearly every stage.
- Easier Way
Make the one person both the Team Leader and the Administrator. Select all roles (Admin, Approver and View Allowances) for that person.
That person should get all mails destined for both roles (TL and Admin) but will be able to approve or cancel leave as the leave administrator.
Let me know how you get on.
Gary