Skip to main content

Autofill Leave Requests with Correct Hours

Configure how hours are applied across a leave request.

Updated over 3 weeks ago

Leave Autofill

Leave autofill ensures the correct number of leave hours are entered for each day when an employee applies for leave.

  • Employees only need to enter a start and end date.

  • Workforce.com will then automatically populate the correct hours for each day.

If you do not set up leave autofill, Workforce.com applies the default leave length in your account settings (Settings > All Settings > Leave) to all requests.


Sources for autofill

Leave can be configured to autofill from one or more of the following sources:

  • Regular hours of work (contract hours)

  • Published scheduled shifts

  • Unpublished scheduled shifts

  • Default leave length from account settings

You can set a single autofill rule, or multiple rules. If one source isn’t available, Workforce.com moves to the next in your list.


Configure leave autofill

To configure leave autofill:

  1. Go to Settings > All Settings > View All Leave Settings > Autofill Leave Requests.

  2. Choose which earnings rule tags the rule applies to (most organisations select All tags).

  3. Select and order your autofill preferences.


Apply autofill to public holidays

Many organisations use autofill to apply public holiday leave types automatically.

  1. Configure a Public Holiday Leave Type to:

    • Apply on public holidays, and

    • Automatically apply this leave type on public holidays.

  2. Configure autofill as above.

  3. Ensure the earnings tags on the autofill page match the tags on the leave type.


Troubleshooting incorrect leave hours

Common checks

If a leave request shows the wrong number of hours:

  1. Autofill settings → check the autofill order and confirm it applies to the correct staff tags.

  2. Source data → ensure the employee has hours in the chosen source (e.g. published shifts).

  3. Default hours → if no autofill source is available, Workforce.com uses the default leave hours in account settings.

If all settings look correct, delete and resubmit the leave request, or edit the hours manually.


View how a leave request was auto-filled

Admins can view this in the timesheet history:

  1. Go to the employee’s timesheet.

  2. Scroll to the bottom of the page.

  3. Find the Leave filled from code for the relevant date.

Codes explained:

  • 0 → default leave hours (organisation settings)

  • 1 → published schedule

  • 2 → unpublished schedule

  • 3 → regular hours of work

  • 4 → schedule, then edited by a manager

  • 5 → unpublished schedule, then edited by a manager

  • 6 → regular hours of work, then edited by a manager


Did this answer your question?