How to Limit Leave Duration Per Request
When several people want time off in the same season, a per-request length rule keeps any single absence from growing too large. The Leave Duration Limit automation lets an admin define the shortest and longest leave a user can request inside a chosen time window. Each request is evaluated on its own: one that falls outside the limits is rejected automatically, so you can plan work around the season without one person taking up the whole calendar.
On this page
What the automation checks
For every leave request submitted during the policy period, the automation compares the requested length against the minimum and maximum you set. A request shorter than the minimum or longer than the maximum is rejected automatically. The check is per request, not cumulative: the automation does not add up days across several requests.
Worked example from the supplied scenario: with a 10-day maximum set for June through August, a user can take a two-week break as two separate one-week requests at different times, because each request is checked independently. If you also want every leave to reach a certain length, set the minimum leave duration days field as well.
Setting up the policy
- Sign in to the dashboard at the sign-in link.
- In the left-hand menu, open Workspace Settings → Add-ons.
- Select the Leave Duration Limit card. If the card is marked Inactive, the add-on has not yet been enabled for your workspace; approve the subscription prompt that appears before continuing to policy setup.
- Click Create policy in the top-right corner.
- Complete the policy fields (see the field reference below).
- Choose who the policy applies to (see the scoping section below).
- Review the summary shown at the bottom. If it looks right, click Save.
Policy fields
The form contains the following fields:
- Name: the policy name.
- Period: a start date and an end date for the time window the policy covers.
- Recur annually: a Yes/No toggle for whether the policy also applies in following years.
- Minimum leave duration days (optional): the shortest leave allowed in this period. For example, 5 days ensures users take at least one week at a time.
- Maximum leave duration days (optional): the longest leave a user can request in a single request during this period.
- Auto-reject response: the message a user sees when a request falls outside the limits. The field arrives pre-filled with editable default wording that explains the request did not meet the leave duration policy, asks the user to review the requirements and adjust the request, and points them to their administrator for further help. Replace it with your own wording if you prefer.
Who the policy applies to
- Apply to all Users: choosing No lets you filter users so the automation applies only to a specific department, location or label.
- Filter by: select the locations, departments and labels the policy covers. Multiple options can be selected.
- Leave Types: select which leave types the policy applies to. For example, you might limit Vacations while still allowing Sick Days when needed.
Reviewing and editing the policy
Once a policy exists, open Workspace Settings → Add-ons → Leave Duration Limit to review it. From there you can deactivate or delete the policy, and clicking the policy name opens its details for editing.
Only Admins can create and configure add-ons and automations. Approvers can view the add-ons panel but cannot modify automations.
Pre-save checklist
Before clicking Save, confirm:
- [ ] The period start and end dates match the window you intend to cover.
- [ ] Recur annually is set to Yes only if the policy should repeat in later years.
- [ ] At least one of the minimum or maximum fields is filled in (both are optional).
- [ ] The minimum is not greater than the maximum.
- [ ] Apply to all Users is set correctly, and any filters match the intended departments, locations or labels.
- [ ] The selected Leave Types match the leave you want to limit.
- [ ] The auto-reject message is clear and tells users who to contact.
- [ ] The summary at the bottom of the form reflects the policy you intended.
Frequently asked questions
Does the limit add up days across multiple requests?
No. Each request is checked separately against the minimum and maximum. A user can take a longer total break by splitting it into separate requests that each fall within the limits, as in the two-week example made of two one-week requests.
Can I set only a maximum and no minimum?
Yes. Both the minimum leave duration days and maximum leave duration days fields are optional. Set only the one you need.
What does Inactive on the Leave Duration Limit card mean?
If the card shows Inactive, click Confirm in the Subscribe to an Add-on window before creating a policy.
Can Approvers edit the policy?
No. Only Admins can create and configure add-ons and automations. Approvers can view the add-ons panel but cannot modify automations.
How is this different from the Maximum Users Away automation?
The Leave Duration Limit automation controls how long a single leave can be. The Maximum Users Away automation controls how many users can be on leave at the same time.