Consecutive Days Limit

The Consecutive Days Limit plugin restricts how many days can be requested in a single time-off request. This helps ensure adequate staffing and prevents excessively long absences.
When to use
Use this plugin when:
- Company policy limits the maximum duration of a single vacation
- You need to ensure employees don’t take extended leaves without special approval
- Different time-off types have different maximum durations
Parameters
| Parameter | Description | Default |
|---|---|---|
| Max consecutive days | Maximum calendar days allowed in one request. | Required |
| Count weekends | Whether weekend days count toward the limit. When turned off, only working days are counted. | On |
How it works
The plugin counts the number of days in each request:
- Calculates the span from start date to end date
- Counts either all calendar days or only weekdays based on configuration
- Blocks requests that exceed the maximum
Calendar days vs. working days
With Count weekends turned on:
- A Monday-to-Friday request (5 working days) counts as 5 days
- A Monday-to-Sunday request counts as 7 days
With Count weekends turned off:
- A Monday-to-Sunday request counts as 5 working days
- Weekend days are excluded from the count
Examples
Maximum two-week vacation
Limit individual vacation requests to 14 calendar days:
- Add the Consecutive Days Limit plugin to your policy
- Set Max consecutive days
to
14 - Leave Count weekends turned on
Maximum 10 working days
Limit requests to 10 working days (two work weeks), ignoring weekends:
- Add the Consecutive Days Limit plugin
- Set Max consecutive days
to
10 - Turn off Count weekends
This allows employees to take a full two-week period (including weekends) since only the 10 working days are counted.
Short-term leave: 5 days max
For time-off types meant for short absences:
- Add the Consecutive Days Limit plugin
- Set Max consecutive days
to
5 - Leave Count weekends turned on
Splitting long requests
If an employee needs more consecutive days than allowed, they can:
- Submit multiple separate requests
- Request manager approval for an exception (if your workflow supports it)
The plugin only validates individual requests—it doesn’t prevent back-to-back requests that together exceed the limit.
Error messages
When a request exceeds the consecutive days limit, employees see a message indicating:
- How many days were requested
- The maximum allowed