# Automatic Reset of Time Condition

A time condition is a rule that sends inbound calls (calls arriving from outside your system) to different destinations depending on the current period, such as business hours, outside business hours, or holidays. A destination is wherever the call is sent, for example a specific extension, a ring group, or an auto attendant (a phone menu that callers navigate, also called an IVR, short for Interactive Voice Response).

Sometimes you need to change the active period by hand. For example, you close early for a staff meeting, so you override the schedule to outside business hours so callers reach voicemail instead of a ringing desk. This is called an override. Once applied, an override stays in effect until it is cleared.

If you do not clear the override yourself, Cloud Voice clears it for you: the system automatically resets the time condition when the next period begins. Depending on your schedule, that next period can be the start of business hours, outside business hours, or a holiday. Once the reset happens, calls follow the configured schedule again.

:::note
Automatic reset is the default behavior. An administrator can turn it on or off for the system. If it is turned off, an override you apply stays active until you clear it by hand, so remember to clear it when you are done. See [Enable or Disable Automatic Reset of Time Condition](/pbx/administrator-guide/enable-or-disable-automatic-reset-of-time-condition/).
:::

:::caution
An override is temporary, not permanent. Cloud Voice clears it at the next scheduled period boundary, which can arrive sooner than you expect. If you override late in a period, the reset may happen the same day when the schedule switches to the next period. If the change needs to last longer, plan around the next boundary or re-apply the override after it clears.
:::

The diagrams below walk through the most common scenarios so you can see exactly when an override ends and normal routing resumes.

## How to read the diagrams

Each diagram plots a timeline of periods and marks the moment an override is applied and the moment it is automatically cleared. The symbols below appear across the examples.

| Symbol | Meaning |
|--------|---------|
| ![Business hours indicator](/images/pbx/icon-business-hours.png) | Business hours |
| ![Outside business hours indicator](/images/pbx/icon-outside-business-hours.png) | Outside business hours |
| ![Time Period 1 indicator](/images/pbx/icon-time-period-1.png) | Time Period 1 |
| ![Time Period 2 indicator](/images/pbx/icon-time-period-2.png) | Time Period 2 |
| ![Holidays indicator](/images/pbx/icon-holidays.png) | Holidays |
| ![Scheduled switch indicator](/images/pbx/icon-auto-switch-time-condition.png) | Scheduled switch (the next hop of the time condition). At each period boundary in your time condition, Cloud Voice moves incoming calls to the destination you configured for that period. |
| ![Red arrow marking a manual override](/images/pbx/red-arrow-override.png) | Manual override of the time condition |
| ![Green arrow marking an automatic reset](/images/pbx/green-arrow-auto-clear.png) | Automatic reset of the time condition |

:::note
A period boundary is the time point where your schedule is set to switch from one period to the next, for example the moment business hours end and outside business hours begin. The automatic reset always lands on one of these boundaries.
:::

## Global or custom business hours

When your time condition is built on business hours and outside business hours, an override forces one of those two states. The system holds it until the next scheduled boundary, then clears it.

**Example 1: Override to business hours**

The override forces the business-hours destination. At the next period boundary, Cloud Voice clears the override and resumes the normal schedule.

![Timeline showing an override to business hours that is cleared at the next scheduled boundary](/images/pbx/example-for-global-business-hours-bus.png)

**Example 2: Override to outside business hours**

The override forces the outside-business-hours destination and is automatically reset when the next period starts.

![Timeline showing an override to outside business hours that is cleared at the next scheduled boundary](/images/pbx/example-for-global-business-hours-out.png)

## Custom time periods

When your time condition uses custom time periods (your own named blocks of time rather than the standard business-hours split), an override forces a specific period. It is cleared automatically once the next period begins.

**Example 1: Override to Time Period 2**

The override forces the destination for Time Period 2. Cloud Voice resets it at the next boundary and returns to the schedule.

![Timeline showing an override to Time Period 2 that is cleared when the next period begins](/images/pbx/example-for-custom-time-periods-2.png)

**Example 2: Override to outside business hours**

The override forces the outside-business-hours destination and is reset automatically at the start of the next period.

![Timeline showing an override to outside business hours that is cleared when the next period begins](/images/pbx/example-for-custom-time-periods-out.png)

## Holidays

When your time condition includes holidays, an override can force a holiday or non-holiday state. Cloud Voice resets it at the next holiday or non-holiday boundary, whichever comes first.

**Example: Override to non-holiday**

The override forces the non-holiday destination. At the next period boundary, the system clears the override and resumes following the schedule.

![Timeline showing an override to a non-holiday state that is cleared at the next period boundary](/images/pbx/example-for-holiday.png)

:::tip
To end an override before the next period begins, clear the time condition override manually. Otherwise, Cloud Voice keeps it active until the automatic reset. For the steps to apply or clear an override, see [Override Time Condition for Inbound Calls](/pbx/administrator-guide/override-time-condition-for-inbound-calls/).
:::
