> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.dropboy.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# How to create days and time condtion routing rule

This guide offers a quick overview of how to create days and time condtion routing rule.
---

## Introduction Date & Time-based Rules:

Date & Time rules are one of five rules where your order is automatically forwarded to a selected option (i.e., trays, networks) when your specified conditions. if all conditions met, trigger auto-forwarding to chosen options. Let's understand these conditions and how to create a routing rule using date & time-based rules.

These fields configure the date & time: 1) **'Match timewindow on'** 2) **'Time type'** 3) **'Time frame'** 4) **'Apply on following days'** 5) **'Assign using selected time window'**

![](https://storage.crisp.chat/users/helpdesk/website/f1031fad712a6800/image_1smtjxl.png)

### Steps:

* Open the routing rule form. **Follow article for more details:** [How to open routing rule form](/en/article/how-to-open-routing-rule-form-12d3831/)

* Enter any name under **'Name'** field. **Follow article for more details:** [How to search routing rules with 'Name' filter](/en/article/how-to-search-routing-rules-with-name-filter-jn5cv/)

![](https://storage.crisp.chat/users/helpdesk/website/f1031fad712a6800/image_6ib6k5.png)

# Condition 1) Match timewindow on

* Select one option from the **'Match timewindow on'** dropdown (Options: **'Automatic'**, **'Pickup address** or **'Delivery address'**). 

![](https://storage.crisp.chat/users/helpdesk/website/f1031fad712a6800/image_1u3yxe4.png)

> **Pickup address**: means that the 'Date and time window' will only match with pickup tasks address. if it matchees then order automtically forward to chosen option.  
> **Delivery address**: means that the 'Date and time window' will only match to Delivery tasks address. if it matchees then order automtically forward to chosen option.
> **Automatic**: involves checking both pickup and delivery task addresses. If a match is found with either of these addresses, the condition becomes true. if it matchees then order automtically forward to chosen option.

# Condition 2) Time type & Condition 3) Time frame

* Select **time** from **first** and **second** time frames.

![](https://storage.crisp.chat/users/helpdesk/website/f1031fad712a6800/image_scam75.png)

* Select one option from the **'Time type'** dropdown (Options: **'Between'**, **'Before** or **'After'**).

![](https://storage.crisp.chat/users/helpdesk/website/f1031fad712a6800/image_lghgow.png)

> **Between:** means that the provided time frame should fall within the limits of the first and second time frames. If this matches with orders, the orders will be automatically forwarded.
> **Before:** means that if the order's time is less than your specified second time frame, it will be automatically forwarded.
> **After:** means that if the order's time is greater than your specified first time frame, it will be automatically forwarded.

# Condition 4) Apply on following days

* Select one or more days from the day list box.

![](https://storage.crisp.chat/users/helpdesk/website/f1031fad712a6800/image_9fa55.png)

> If your order's date matches any of the selected weekdays, the order will be automatically forwarded.

# Condition 5) Assign using selected time window

* Select one option from the **'Assign using selected time window'** dropdown (Options: **'Time window start'** or **'Time window end'**).

![](https://storage.crisp.chat/users/helpdesk/website/f1031fad712a6800/image_1i792q3.png)

**Time window start**: means that it will only compare with the 'time window start' date and time. If there's a match, the order will be forwarded automatically.
**Time window end**: means that it will only compare with the 'time window end' date and time. If there's a match, the order will be forwarded automatically.

|| You have successfully added and selected conditions for the date & time rule. Keep in mind that if any of the conditions are not met, the rule will not be effective.

* Scroll down and select the "Auto-Forwarding" option. **Follow article for more details:** [How to select auto-forwarding option while creating routing rule](/en/article/how-to-select-auto-forwarding-option-while-creating-routing-rule-1na8vp9/)

* Click on **'CREATE RULE'** button.

| **Tip:** You can include multiple rules within a single routing rule.


| Related Articles:
| [How to open routing rule form](/en/article/how-to-open-routing-rule-form-12d3831/)
| [How to create services condtion routing rule](/en/article/how-to-create-services-condtion-routing-rule-lreo0j/)
| [How to create tags condtion routing rule](/en/article/how-to-create-tags-condtion-routing-rule-c6ippk/)
| [How to create zipcode condtion routing rule](/en/article/how-to-create-zipcode-condtion-routing-rule-t2aryl/)
| [How to create cargo condtion routing rule](/en/article/how-to-create-cargo-condtion-routing-rule-jlp16l/)
| [How to select auto-forwarding option while creating routing rule](/en/article/how-to-select-auto-forwarding-option-while-creating-routing-rule-1na8vp9/)
| [How many types of routing rules sections are provided by Dropboy](/en/article/how-many-types-of-routing-rules-sections-are-provided-by-dropboy-pkw45u/)

| [What are the features of the "Routing Rules" tab? How can I read the "Routing Rules" articles sequentially](/en/article/what-are-the-features-of-the-routing-rules-tab-how-can-i-read-the-routing-rules-articles-sequentially-1clh7os/)

| **Check the app's status here.** [If you can't access Dropboy, chat or report issues](https://dropboy.crisp.watch/en/)
