You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/azure-app-configuration/howto-timewindow-filter.md
+16-10Lines changed: 16 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,33 +21,39 @@ In this article, you learn how to add and configure a time window filter for you
21
21
22
22
1. Create a feature flag named *Beta* in the **Feature Manager** menu of your App Configuration store and move to the right end of the feature flag you want to modify, then select the **More actions** ellipsis (**...**) action and **Edit**. For more information about how to add and edit a feature flag, see [Manage feature flags](./manage-feature-flags.md).
23
23
24
-
1. In the **Edit** pane that opens, check the **Enable feature flag** checkbox if it isn't already enabled. Then check the **Use feature filter** checkbox and select **Create**.
24
+
1. In the **Edit** pane that opens, check the **Enable feature flag** checkbox if it's currently unchecked,then check the **Use feature filter** checkbox and select **Create**.
25
25
26
-
:::image type="content" source="media/feature-filters/edit-a-feature-flag.png" alt-text="Screenshot of the Azure portal showing how to edit a feature flag.":::
26
+
:::image type="content" source="media/time-window-filters/edit-a-feature-flag.png" alt-text="Screenshot of the Azure portal showing how to edit a feature flag.":::
27
27
28
-
1. The pane **Create a new filter** opens. Under **Filter type**, select the**Time window filter** in the dropdown.
28
+
1. The **Create a new filter**pane opens on the side. Under **Filter type**, select **Time window filter** in the dropdown.
29
29
30
-
:::image type="content" source="media/feature-filters/add-timewindow-filter.png" alt-text="Screenshot of the Azure portal showing time window feature filter configuration.":::
30
+
:::image type="content" source="media/time-window-filters/add-timewindow-filter.png" alt-text="Screenshot of the Azure portal showing time window feature filter configuration.":::
31
31
32
-
1. A time window filter includes a start time and/or an end time. The start time indicates when the feature flag is activated, and the end time indicates when the flag is deactivated. Both **Start time** and **End time** checkboxes are checked by default. Enter a start time a few minutes ahead of your current time and enter an end time.
32
+
1. A time window filter includes a start time and/or an end time. Both **Start time** and **End time** checkboxes are checked by default.
33
+
- Setting a start time allows you to enable the feature flag on a specific date and time. A time window filter with no start time is active straight away.
34
+
- Setting an end time allows you to disable the feature flag at a specific date and time. A time window filter with no end time remains active until you deactivate it.
33
35
34
-
> [!NOTE]
35
-
> If you don't want the feature flag to automatically deactivate, uncheck the **End time** box. However, both start time and end time must be set to enable feature recurrence.
36
+
Uncheck the end time and enter a start time a few minutes ahead of your current time to simply create a time window which begins shortly and never ends.
36
37
37
38
1. A time zone is selected by default, based on your browser's current time zone. Optionally select another time zone.
38
39
39
40
## Configure recurrence
40
41
41
-
1. Select the **Enable recurrence** checkbox to set up a recurring schedule for the feature flag. This allows you to automate the activation and deactivation of the feature flag based on a regular schedule, such as during periods of low or high traffic. Choose a daily or weekly frequency, the specific days, and the expiration time.
42
+
Recurrence allows you to define a repeating time window, ensuring that the feature flag is automatically activated and deactivated according to your specified schedule, such as during periods of low or high traffic.
43
+
44
+
1. Select the **Enable recurrence** checkbox to set up a recurring schedule for the feature flag. Choose a daily or weekly frequency, the specific days, and the expiration time.
42
45
43
-
:::image type="content" source="media/feature-filters/add-timewindow-filter-recurrence.png" alt-text="Screenshot of the Azure portal showing feature filter recurrence.":::
46
+
:::image type="content" source="media/time-window-filters/add-timewindow-filter-recurrence.png" alt-text="Screenshot of the Azure portal showing feature filter recurrence.":::
47
+
48
+
> [!NOTE]
49
+
> Both start time and end time must be set to enable feature recurrence.
44
50
45
51
1. Select **Add** to save the configuration of the time window filter and return to the **Edit feature flag** screen.
46
52
47
53
1. The time window filter is now listed in the feature filter details, under **Feature filters**. Select **Apply** to save the feature flag with the new feature filter.
48
54
49
55
> [!div class="mx-imgBorder"]
50
-
> 
56
+
> 
51
57
52
58
Now, you successfully added a time window filter to a feature flag.
0 commit comments