In this article in The Rules Series, we show how to configure the rules engine to use the Has leave types condition.
How the Has leave types condition works
The Has leave types condition creates matches shifts or timesheets associated with a leave request that contains one or more of the configured leave types.
When a match is found, the whole timesheet is matched.
A list of leave types to match for this condition. Any timesheet or shift containing any of the leave types specified will match the whole timesheet once.
Leave types a configured by system administrators in the settings menu.
Navigate to edit the pay rule version, and expand the Rules
In the conditions section, select Has leave types
Configure the Leave types for this condition.
Configure the action you want to take for this condition.
Save your pay rule version.