--- title: Schedule Recurrence component setup description: The Schedule Recurrence enables you to automate repetitive, or recurring, tasks by configuring their frequency, exceptions to their occurrence, and overrides. This component also enables you to use custom patterns for such events.Properties in the Schedule Recurrence component have preset configuration values. You can accept these values or override them manually.If you have chosen a preset containing events, data handlers for those events are pre-selected by the controller, and no manual configuration is required. If the component has events that aren't included in the preset, you must add data handlers manually to configure those events. locale: en-US canonical_url: https://www.servicenow.com/docs/r/application-development/ui-builder/schedule-recurrence-component-uib-setup.html release: brazil product: UI Builder classification: ui-builder topic_type: task last_updated: "2026-09-10" reading_time_minutes: 10 breadcrumb: [UIB Setup Information, UI Builder, Builder library, Developing your application, Classic app development, Building applications] --- # Schedule Recurrence component setup The Schedule Recurrence enables you to automate repetitive, or recurring, tasks by configuring their frequency, exceptions to their occurrence, and overrides. This component also enables you to use custom patterns for such events. ## Before you begin This component contains a preset configuration. Presets automatically configure properties and event handlers for a component, making the component ready to work when you add it to a page. You can apply one preset to a single instance of a component on a page. For more information, see [Automatically configure components using presets](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/application-development/ui-builder/presets.md). A preset connects to a controller, which acts as a data resource for the component. Controllers provide the configuration data and event binding the component needs to function in your experience. For more information see [Bind data to UI pages using controllers](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/application-development/ui-builder/controllers.md). This task assumes you have placed the component on the page and are ready to configure the properties and events. For instructions on accessing and using features in UI Builder, see [Customize UI Builder pages using components](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/application-development/ui-builder/work-components.md). **Note:** This document describes the latest component functionality. Go to the store to make sure you have the latest version of the component. **Role required**: admin or ui\_builder\_admin ## Procedure 1. Define a label for Schedule Recurrence that differentiates it from other components in the content tree. A descriptive label makes finding the component easier in a large list of components. For instructions on using the content tree, see [Manage UI pages and page variants](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/application-development/ui-builder/work-pages.md). 2. Select the Schedule Recurrence component using one of these methods: - Click anywhere within the component. - Select the Action bar label you created for your component in the content tree. The preset selection panel appears in the pane on the right. 3. Either select **None** to configure the component properties manually, or select one of the available presets to use pre-configured properties and events for the component. When you select the first preset on a page, a configuration panel appears with instructions for configuring the required controller for that preset. For more information, see [Select a component preset](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/application-development/ui-builder/presets.md) 4. Supply the data that connects a preset to its controller and select **Use**. UI Builder automatically configures any other presets in the page to use the same controller with the same configuration. For more information, see [Add a controller](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/application-development/ui-builder/controllers.md). **Parent Topic:**[UIB Setup Information](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/application-development/ui-builder/uib-setup-information.md) ## Schedule Recurrence component properties Properties in the Schedule Recurrence component have preset configuration values. You can accept these values or override them manually. Presets are intended to suit a specific use case. However, you can override a property that has a preset value with a custom configuration if necessary for your design. For details on overriding and resetting presets, see [Override a component preset](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/application-development/ui-builder/presets.md). **Important:** Preset values that you override aren't updated automatically when you upgrade the instance. ### Available presets - **__Bind Recurrence Schedule__** This preset interacts with the global schedules available in the platform. This preset requires the `cmnSchedule` controller. **Caution:** This preset interacts with the `cm_schedule`, `cmn_schedule_span`, and `cmn_other_schedule` tables to perform operations. Ensure that you have read, write, and execute permissions for the tables. Properties included in this preset are: - All Day - Available time zones - create - Date format - Days in week - Disable skip dates - Title - Expand advance settings - First day of week - From time - Month type - Exceptions - Skip dates - Repeat count - Repeat type - Repeat until - Time zone - Series end - Start date - Time format - To date - To time - Validations - Year type The following events correspond to this preset: - Handled events: - CREATE\_SCHEDULE\_RECURRENCE - DELETE\_SCHEDULE\_RECURRENCE - Dispatched events: - CREATE\_SCHEDULE\_RECURRENCE\_SUCCESS - ON\_DELETE\_SCHEDULE\_RECURRENCE ### Properties
| Label \[property\] | Description |
|---|---|
| Title\[eventTitle\] | Title of the recurring event. |
| Date format\[dateFormat\] | Sets the format for all date fields in the component like **Start date** and **End date**.Available options: - **yyyy-MM-dd** - **MM-dd-yyyy** - **dd/MM/yyyy** - **dd-MM-yyyy** - **dd.MM.yyyy** Default: **dd-MM-yyyy** |
| Start date\[startDate\] | Sets the start date for the recurring event. If not specified, the component uses the current date. |
| To date\[toDate\] | Date on which the recurring event ends. Available when **All Day** is set to **true**. |
| All Day\[allDay\] | To mark the duration of the event as an all-day event, set to **true**. **Note:** Enabling this property enables the **To date** property and disables the **From time** and **To time** properties. Default: **false** |
| Time format\[timeFormat\] | Sets the format for all time fields in the component like **From time** and **To time**. Supports all DGS \(Directorate General of Shipping\) formats.Available options: - **HH:mm** - **HH:mm a** - **hh:mm** - **hh:mm a** Default: **hh:mm a** |
| From time\[fromTime\] | Time at which the recurring event starts. If not specified, the component uses the nearest upcoming half hour. |
| To time\[toTime\] | Time at which the recurring event ends. If not specified, the component uses one hour after the **From time**. |
| Available time zones\[availableTimezones\] | List of time zones available to the user when configuring a recurring event as a JSON object. **Note:** - If adding more time zones, ensure that you use the DGS-recognised ID for the time zone. - Floating time zone shows the same time slot in the user's time zone, instead of adjusting the time based on time differences. For example, if the user configures an event to occur at 10:00 AM PST, then Floating time zone schedules the event to occur at 10:00 AM in the end user's time zone. |
| Time zone\[selectedTimezone\] | Sets the time zone to display when the component loads. The user can select other time zones from the available options based on the **Available time zones** property's configuration.Default: <local time zone> |
| Repeat type\[repeatType\] | Sets the frequency of the event.Available options are: - **Never** - **Daily** - **Weekly** - **Monthly** - **Yearly** Default: **Never** |
| Repeat count\[repeatCount\] | Sets the number of times the event must repeat. Available when **Repeat type** is set to any value other than **Never**.Default: **1** |
| Repeat until\[repeatUntil\] | Sets the last date for the event to repeat. Available when **Repeat type** is set to any value other than **Never**. |
| Days in week\[daysInWeek\] | Available when **Repeat type** is **Weekly**. An array with the days in which the event occurs. |
| Month type\[monthType\] | Available when **Repeat type** is **Monthly**. Sets whether the user selects the date or day on which the event recurs. Available options are: - **Date**: Date on which the event recurs. - **Day**: Day on which the event recurs, like second Tuesday every month. Default: **Day** |
| Year type\[yearType\] | Available when **Repeat type** is **Yearly**. Sets whether the user selects the date or day on which the event recurs.Available options: - **Date**: Date on which the event recurs - **Day**: Day on which the event recurs Default: **Date** |
| Label \[property\] | Description |
|---|---|
| Disable skip dates\[disableSkipDate\] | To disable the **Skip dates** feature, set to **true**. Enabling this property ignores the **Skip dates** configuration.Default: **false** |
| Skip dates\[recurrenceSkipDates\] | Array with the dates on which to skip the event. Configure this property with the date format specified in the **Date format** property.Default: \[\] |
| Exceptions\[recurrenceExceptions\] | JSON object array with the exception rules for the skip dates. Exceptions specified here are applied to the skip date rule. For example, if a skip date happens to be 3rd April and the same date is specified in the exceptions, the component adds the recurring event on \(doesn't skip\) 3rd April.Object properties: - `allDay`: Boolean - `eventTitle`: String - `daysInWeek`: String - `fromTime`: String - `monthType`: String - `repeatCount`: Number - `repeatType`: String - `repeatUntil`: String - `startDate`: String - `toDate`: String - `toTime`: String - `yearType`: String Default: \[\] **Tip:** The attributes in this object correspond to the properties in Schedule recurrence. Refer to their descriptions for information about their configuration. |
| Validations\[validationMessages\] | JSON object array with the configuration for validation rules.Object properties: - `header`: Heading text for the validation rule. - `message`: Body text for the validation rule. - `type`: The type of message to show. Available options are: - `critical` - `high` - `info` - `low` - `moderate` - `positive` - `warning` Default: \[\] |
| First day of Week\[firstDayOfWeek\] | First day of the week in the calendar.Default: **Monday** |
| Series end\[seriesEndFields\] | Array with the configuration of the options for when the event series can end. You can modify the array to remove options or add removed options but not add unrecognized options.Object properties: - `never`: Enables the user to specify that the recurring event series never ends. - `after`: Enables the user to select number of occurrences after which the series ends. - `on`: Enables the user to specify the date on which the series ends \(last date for the series\). Default: ```json [ "never", "after", "on" ] ``` |
| Expand advance settings\[expandAdvancedSettings\] | To expand the advanced settings on component load, set to **true**.Default: **false** |
| Event | Description |
|---|---|
| EVENT\_RECURRENCE\#EVENTS\_SAVE | Triggered when save button is clicked inside recurrence component.Payload: - `event`: Object - `skipDates`: Array - `exceptions`: Array |
| EVENT\_RECURRENCE\#EVENTS\_CANCEL | Triggered when cancel button is clicked inside recurrence component. It doesn't have any payload. |