Create Time Off Validations
- Create a time off.
- Security:Set Up: Time Off (Calculations - Absence Specific)domain in Time Off and Leave functional area.
Define rules to warn users of invalid time off requests or prevent workers from entering them.
Workday sets requests displaying warnings that workers submit through the time off calendar to
In Progress
.Requests for intermittent time off are subject to validation rules for both the time off and the related leave of absence. Time off validations apply when entering time off. Leave validations apply when submitting a time off request or saving it for later. Workday automatically saves requests that fail a leave validation.
- Access theEdit Time Offtask.
- On theValidationstab, add a row in theData Entry Validationtable for each validation you need to add.Any values you enter must be compatible with the unit of time defined for the time off plan balance.Complete the fields appropriate for the validation rule. The table lists fields that apply to all rules last.FieldDescriptionConsecutive Day MaximumandConsecutive Day MinimumFor the value, specify the:
- Maximum number of consecutive days a worker can take time off.
- Minimum number of consecutive days workers must enter in a single request.
Specify a positive number or a calculation that evaluates to a positive number.To require an exact number of consecutive days off, combine theConsecutive Day Maximumvalidation with aConsecutive Day Minimumvalidation that has the same value.These validations:- Reference theDays to Includeoption on the time off plan when determining which days are consecutive. Example: WhenDays to Includeis:
- All Daysand a worker takes time off on Thursday, Friday, Monday, and Tuesday, Workday evaluates the time off as 2 sets of 2 consecutive days, not 4 consecutive days.
- Weekdays (Mon - Fri)and a worker takes the same days off, Workday evaluates the time off as 4 consecutive days.
- Ignore theInclude All Selected Dayssetting.
Workday uses these validations to evaluate short-term time offs. Defining a consecutive day maximum or minimum greater than 30 days can slow down time off performance.TheConsecutive Day Minimumvalidation isn't available for time offs entered through Time Tracking.IncrementsSpecify the increments for entering time off.Example: Select a constant value, such as 4 hours or 0.5, or a calculation that returns different values for full-time and part-time workers.MaximumSpecify the maximum amount of time off workers can request.Example: Select a constant value, such as 8 hours or 1 day, or a calculation that returns different limits based on a worker's work schedule calendar, holiday schedule calendar, or both.You can set limits dynamically based on the number of hours the worker is scheduled to work on the time off date. Example: 8 hours Monday, Tuesday, Wednesday, and Thursday; 12 hours on Friday, and zero hours on holidays.Example: You can use thePublished Scheduled Hours for All Positions for Calendar Day (Workday Scheduling)instance value calculation (IVC) in aMaximumvalidation on a time off such as vacation as part of a calculation to return 0 if the worker’s published hours are greater than 0. This prevents or warns the worker that they’re requesting a planned absence for a day that they’re scheduled to work.Specify whether the maximum applies to:- Each request (Individual Time Off Entry).
- All time off entries for the same date.
- Requests for the same date for the time offs you select in theTime Off Validation Setfield.
Maximum Unpaid Time Off Units AllowedEnter the maximum amount of unpaid time off allowed for a worker at any point in time. Must be a positive number. Applies only to time off plans that track balances and have a lower limit, or a time off limit override.To prevent unpaid time off, enter0(zero).MinimumSpecify the minimum amount of time off workers can request for each time off entry, not the sum of time off entries each day. Example: Select a constant value, such as 4 hours or 0.5, or a calculation that returns different values for full-time and part-time workers.Multiple Time Off Requests Not Allowed for Same DateSpecify whether the rule applies to:- All time off entries for the same date.
- Requests for the same date for the time offs you select in theTime Off Validation Setfield.
Time Off Date before Maximum Override Balance Date Not AllowedPrevents the entry of time off requests for dates before the most recentOverride Balance Dateon theMaintain Time Off Override Balancestask. (Applies only to time off plans that track balances.)Example: If the most recentOverride Balance Dateis 2016-01-01, workers can't enter time off requests for dates before this.Do Not Allow RequestDisplay an error message when a request fails the validation.Depending on the type of validation, you can clear the check box to generate a warning message instead. Example: Clear this check box for aMaximum Unpaid Time Off Units Allowedvalidation to enable workers to submit requests for unpaid time off. A manager or administrator can reject the request.Applies to all validation rules.Allow Override for Entry on Behalf of WorkerEnable managers or administrators to override the validation rule when entering, revising, or correcting time off on behalf of workers. A warning message displays when managers, administrators, or partners enter invalid requests.Applies to all validation rules.Custom TextSelect a message that displays after the standard error or warning message, unless you selectDisplay Custom Text First. Custom text doesn't display on mobile devices. Use theMaintain Time Off Data Validation Custom Texttask to define custom text.Applies to all validation rules.Hide Default Validation TextSelect to hide the default validation text when a worker enters a time off request if custom text is defined on the validation.Workday displays the validations from the effective dated snapshot of the time off plan when the worker entered their time off request. Updates in subsequent snapshots don't display.
This example shows how to apply validation rules. Sondra enters a request for 4 hours of Floating Holiday and a second request for 5 hours of Vacation time for June 7.
- If you limit Vacation requests to a maximum of 8 hours and selectAll Time Off Entries for Worker for Same Datein theTime Off Entries to Includefield, Workday rejects Sondra's second request because it exceeds the maximum time off for all time off entries for that date.
- If theMultiple Time Off Requests Not Allowed for Same Daterule is in effect instead, and the validation set includes Floating Holiday and Bonus, Workday accepts Sondra's second request because there are no restrictions on Vacation requests.
(Optional) Access the
Maintain Time Off Data Validation Custom Text
task to display a custom message.