---
title: "How to set up rules and constraints"
description: "Learn how to enable or disable route rules like shift times, delivery windows, and vehicle capacities."
url: https://help.routific.com/en/articles/47-how-to-set-up-rules-and-constraints
collection: "Route planning"
updated: 2026-11-02
language: en
---

# How to set up rules and constraints

Learn how to enable or disable route rules like shift times, delivery windows, and vehicle capacities.

Sometimes you need to bend the rules. 

On busy days, you might log a little driver overtime, squeeze in a few extra packages, or deliver just outside the promised time window. That flexibility can make all the difference.

These settings put you in control. Instead of rigid rules slowing you down, you choose how Routific responds.

## Where to find your workspace preferences

Click the slider icon on the left to access your **Route preferences**

Click **Optimization preferences**

![Routes screen for Sun, Nov 15 shows numbered routes across Vancouver; a red circle highlights the sliders icon in the left sidebar. Visible: Routes, Sun, Nov 15, Route preferences, West Vancouver, Outer Vancouver Harbour, Vancouver.](https://staticfiles.gleap.io/ghelparticle/KE1g2xlKPsvfT80FzZ3QYHN3uX0z4oRgMnQmBakdKkB3Fx7Yf4huT8a45Mid53cJwTrt7VNRGTU.png)

![](https://staticfiles.gleap.io/ghelparticle/9VZPGYyGgGi6p4Y4btjtmktaBTeGY6GTN38La7v8lFl4bSPi32uKf7l82X494OE1gzoIp7r3K5X.png)

## Our Constraints

Let’s take a closer look at those rules or constraints we’ve set up:

-   **Flexible start time**: Allow drivers to delay departures to minimize working time.
    
-   **Time windows**: Allow deliveries to be a bit late, or enforce strict time-windows.
    
-   **Shift times**: Allow drivers to work overtime, or stop exactly at the end of their shift.
    
-   **Capacities**: Allow loads to go over route limits, or enforce strictly.
    

## **When constraints are violated**

When you allow Routific to break a rule you set—such as route shift time, route capacity, or delivery time windows—we’ll flag it so you’re aware.

-   **Learn how to set route capacities and route shift times** [**here**](https://help.routific.com/en/articles/9-what-are-route-templates.md)**.**
    
-   **Learn about delivery time windows** [**here**](https://help.routific.com/en/articles/62-what-are-time-windows.md)**.**
    

<table data-id="b2ca1bf4-e82c-4912-837e-b02d5b11f37f" style="min-width: 258px;"><colgroup><col style="width: 233px;"><col style="min-width: 25px;"></colgroup><tbody><tr><td colspan="1" rowspan="1"><p data-id="eb4643c0-6a96-4aef-a105-8f30398f7285" style="text-align: left;"><span>Constraint</span></p></td><td colspan="1" rowspan="1"><p data-id="5bac48d9-3a89-41f5-83ad-2deb3b5bc6b0" style="text-align: left;"><span>What you’ll see</span></p></td></tr><tr><td colspan="1" rowspan="1"><p data-id="534ba3a2-f103-401c-8b37-dd56d166a361" style="text-align: left;">Flexible start time</p><p data-id="84e93f87-787c-4c48-bda2-5af3a63db100" style="text-align: left;"></p></td><td colspan="1" rowspan="1"><p data-id="094383f7-32af-4aac-97cd-251bf0cde58c" style="text-align: left;">Flexible start time may result in your<strong> driver starting later than their starting shift time</strong>. Routific automatically calculates the best start time for each route — <strong>minimizing idle time </strong>instead of locking drivers into a fixed shift start time.</p></td></tr><tr><td colspan="1" rowspan="1"><p data-id="e24e58b9-7719-46e0-9f19-475d92a44abe">Route capacity</p></td><td colspan="1" rowspan="1"><p data-id="fc3c0328-de96-4a07-b6fa-9f2ab3c389b7">If the vehicle is <strong>overcapacity</strong>:</p><ul><li><p data-id="f23123fb-da43-4977-9b8e-5723e018f320" style="text-align: left;">a yellow ring will appear around the <strong>package icon</strong> (capacity)</p></li></ul><p data-id="0955c168-d9d9-407f-b96b-6b588fe7c9eb" style="text-align: left;"></p><div style="text-align: left; width: 100%;"><img src="https://staticfiles.gleap.io/gattachments/GNVlI2k5SDdpcdea9pN7JAszzaVvbBcIGWT1a5KKCTfofjjWAnGak8Pl8QmFgtY6dqSH3OIDTKi.png" data-width="95%" data-align="left" style="width: 95%; border-radius: 10px; margin-top: 10px; margin-bottom: 10px;"></div><p data-id="5eebaa67-097b-4626-9529-22a030c4324f" style="text-align: left;">These indicators will appear both in the Timeline and in the right-hand list view route panel.</p><div style="text-align: left; width: 100%;"><img src="https://staticfiles.gleap.io/gattachments/IUip2y0G6M1Pkgzz6DrrBsjMFxUQ37W2SfPytPmtLDQDW27lYq3O9mBhwcFpc8uIrTGnEJEs3pI.png" data-width="75%" data-align="left" style="width: 75%; border-radius: 10px; margin-top: 10px; margin-bottom: 10px;"></div><p data-id="c75f7adc-c661-4a00-adf8-e680a9f46905"></p></td></tr><tr><td colspan="1" rowspan="1"><p data-id="c7d3c3ff-ea5c-438e-b66b-3ae3c93f794a">Route shift time</p></td><td colspan="1" rowspan="1"><p data-id="507dd614-1a6e-4501-8ebe-61d961e20c04">If the <strong>route’s shift time</strong> is exceeded:</p><ul><li><p data-id="abbcdee0-adbd-4652-9fbf-de0a6b9841dd" style="text-align: left;">a yellow ring will appear around the <strong>clock </strong>(time). These indicators will appear both in the Timeline and in the right-hand list view route panel.</p></li></ul><div style="text-align: left; width: 100%;"><img src="https://staticfiles.gleap.io/gattachments/kvKHVrvKnJdZ5eQO5xa9Cb5XjSTRKn0OwnOZ75vAkA0nUo86Mz7aVfdxJT7DCmjh248gzchrThx.png" data-width="100%" data-align="left" style="width: 100%; border-radius: 10px; margin-top: 10px; margin-bottom: 10px;"></div><div style="text-align: left; width: 100%;"><img src="https://staticfiles.gleap.io/gattachments/rMM6OPPgmWYiQHisyksMRJTMxU1vXzItOR0mkT2gNw2xUE7WssKVVcZcdrFNxcabV3VXJ6xgJ6Y.png" data-width="75%" data-align="left" style="width: 75%; border-radius: 10px; margin-top: 10px; margin-bottom: 10px;"></div><p data-id="ce1e00a5-ff88-4a1c-a2b8-c30af45da1e1" style="text-align: left;"></p></td></tr><tr><td colspan="1" rowspan="1"><p data-id="3eb15aa0-c32a-412a-854b-8f8081d5a66a" style="text-align: left;">Delivery time window</p></td><td colspan="1" rowspan="1"><p data-id="8e42eb9d-ecf2-426a-b52a-0d3af4509bd7" style="text-align: left;">If an order will be delivered outside the <strong>planned time window</strong>:</p><ul><li><p data-id="d6786b9c-db70-4203-ade1-db791e5974f4" style="text-align: left;">a yellow triangle icon will appear in the <strong>timeline</strong></p></li></ul><img src="https://staticfiles.gleap.io/gattachments/rUcrBqfztumcHuvCuHSqXN6E5rnccZeHTzCrScJAVGkh1bXJCyNc7e6TrncjKVwtgttNQa49fxU.png" alt="" width="273" height="89" style="width: 433px; height: auto; max-width: 100%; cursor: pointer;"><ul><li><p data-id="0c2a1aec-4d4f-4869-8938-755a381c97a8" style="text-align: left;">a yellow triangle will also appear next to the order name in the right-hand list view route panel.</p></li></ul><p data-id="46a8183d-6a8c-4f88-a48a-ec18e96390ae" style="text-align: left;"></p><img src="https://staticfiles.gleap.io/gattachments/3aBugqPgLSSCaTVLyeNPEwOC524XqwEFGu4ts1jGsZrZblRRp6tW0uzrI03Hx2gDbdejQ1JAGgj.png" alt="" width="469" height="330" style="width: 469px; height: auto; max-width: 100%; cursor: pointer;"><p data-id="c8e1a97d-a4c9-47c3-88aa-e966be060817" style="text-align: left;"></p></td></tr></tbody></table>
