Setting event policy schedules by using time frames
As an administrator, schedule event policies to run during specific time durations to process events. Time frames allow you to specify when an event policy is active. It also gives you the flexibility to control the execution of event policies. Event policies that are associated with a time frame process incoming events that arrive during the time duration specified in the policy. You can schedule different event policies to run once or multiple times for a specific time window based on your requirement.
To create a time frame
To create a time frame, perform the following steps:
- Select Configuration > Event Policies.
- Click Create.
- In Time Frame, click
.
This field lists all the active time frames in a tenant. Always active option is the default, which means that the time frame will always be active until you specify the time frame settings. In the Time frame settings dialog box, select one of the time frame schedule options that is One Time or Recurring. Specify the required settings for which the time frame should be active as described in the following table.
Field
Description and procedure
Name
Name of the time frame.
Description
Description of the time frame.
One Time
Select this option to schedule a time frame that runs only once.
Select Start and End Time
Specify when you want the time frame to begin and end by performing the following steps. The time is in the 24-hour format.
- Select the required time frame start date and click Next.
You can click the arrows to change the month and the year. - Set the time frame start time by performing the following steps. The current system time is the default.
- Move the hours hand to set the hours part of the time.
- Move the minutes hand to set the minutes part of the time.
- Select the time of the day that is A.M. or P.M.
- Click Next.
- Select the required time frame end date and click Next.
You can click the arrows to change the month and the year. - Set the time frame end time by performing the following steps. The current system time is the default.
- Repeat steps b (i) through b (iii).
- Click OK.
- Click Advanced Settings to set the time zone.
Recurring
Select this option to schedule a time frame that repeats based on a certain criteria.
Specify the following time frame settings as required:
Appointment time
Name
Description
Start Time
Specify the time frame start time.
End Time
Specify the time frame end time.
Recurrence pattern
Name
Description
Repeats
Indicates the number of times the time frame will repeat.
It has the following options:
- Daily: Select this option to repeat the time frame daily.
- Weekly: Select specific days of the week when the time frame should repeat.
- Monthly: Specify dates of the month when the time frame should repeat.
Exclude Weekends
Select this option if you do not want to run the time frame schedule on weekends.
Range of recurrence
Name
Description
Start Date
Specify the date when you want the time frame to begin.
No End Date
Select this option if you do not want the time frame to end, which means the time frame schedule executes perpetually.
End Date
Specify the date when you want the time frame to end.
End After
Specify the number of occurrences after which you want the time frame to end.
Advanced Settings
Name
Description
Time Zone
Specify the time zone details for the time frame.
The time zone that you set in the user preferences is the default.
- Select the required time frame start date and click Next.
- Click Save.
Use the time frame settings in the following image to run an event policy for a year (June 2022 to June 2023) on Mondays and Saturdays from 5:15 P.M. to 10:15 P.M.:
To associate a time frame with an event policy, see Creating-and-enabling-event-policies.
To edit a time frame
To edit a time frame that is associated with an event policy, perform the following steps:
- Select Configuration > Event Policies.
- Edit the event policy by doing one of the following actions:
- Select the policy and click Edit.
- From the Actions menu of a policy, select Edit.
- In Time Frame, select the time frame that you want to edit from the list of time frames and click
.
- In the Time frame settings dialog box, make the required updates and click Save.
Conditions of policy execution with time frames
Event policies that are associated with time frames get executed based on the following conditions:
Policy status | Time frame status | Does policy execute? |
---|---|---|
Enabled | Active | Yes |
Enabled | Inactive | No |
Disabled | Active | No |
Disabled | Inactive | No |
For events to be impacted by a time frame setting, the time frame must be active for the entire time that is specified in the policy.