A common requirement is to suppress certain absence types for certain users when booking new absences. For example:
- Preventing employees from requesting sickness
- Restricting males from requesting maternity leave
- Restricting Hajj leave from non-Muslims
Applaud Absence types value set
The most important component of this configuration option is a value set called Applaud Absence Types. This value set controls the absence types that a user can choose from when requesting a new absence. It should not be modified but it can be copied and used as a template for your own list of Absence Types.
Importantly, this value set tests whether the user has been granted permission to view a particular absence type. If a user does not have permission, the absence type is not shown. The way this grant is configured is explained below.
Absence type data object and instance sets
A data object is shipped with the same name as the value set — Applaud Absence Types — and is based on the database view PER_ABS_ATTENDANCE_TYPES_V.
You should not ever need to modify this data object or view it as part of implementation but you will wish to create Instance Sets against it. Each instance set defined against the data object represents the list of Absence Types a user is allowed to see.
An example instance set is already defined called XXAS_ABS_TYPES_SSHR. This instance set mirrors standard Oracle behavior and suppresses UK-specific absence types from non-UK Business Groups. You can create as many instance sets as you like.
To create an instance set, navigate to Functional Developer: Security: Objects, query the Applaud Absence Types object, and select Instance Sets.
Absence type permission set
Also supporting this configuration is a Permission Set called Applaud Absence Type Permission Set. This contains the above permission XXAS_DATA_ABS_TYPE. This permission set and permission should not be modified.
Grant access to absence types
Create a grant using Functional Administrator: Security: Grants: Create Grant and set the following properties:
- Set the Grantee Type to Group of Users
- Set the Grantee to the role name, eg, Applaud Employee Self Service Role
- Set the Data Object to Applaud Absence Types
- Use your required Instance Set
- Use the Permission Set Applaud Absence Type Permission Set
Repeat the process for any other roles that should be granted.