Using schedules and calendars
Specific applications within the ServiceNow AI Platform generate graphical calendar displays based on schedule pages.
These schedule pages appear in daily, weekly, or monthly views. Currently, the applications using schedule pages include:
- Project Management
- Maintenance Schedules
- Group On-Call Rotation
- Field Service Management
Schedule pages are records that contain the scripts that determine the functionality of the graphical display.
- Because of the heavy degree of scripting involved in a schedule page, you should, for most instances, use the default schedule pages in the base platform.
- The schedule page uses a URL with a series of parameters attached to generate the graphical display.
- A schedule page controls calendar content (
cmn_schedule_page) record.
To access Schedule Pages, navigate to System Scheduler > Schedules > Schedule Pages. The Schedule Pages form provides the following fields:
| Field | Field Type | Description |
|---|---|---|
| Name | String | General name used to identity the current schedule page. |
| Schedule type | String | Schedule type is a string that is used to uniquely identity the schedule page via the " Alternatively, you can access the schedule page can by setting the "sysparm_page_sys_id" URI parameter to the unique 32 character hexadecimal system identifier of the schedule page. |
| View Type | Choice | Each view type displays different field combinations. There are two options available:- Calendars - Schedule Pages |
| Description | String | General description that provides additional information about the current schedule page. This field is not necessary. |
| Init function name | String | Note: This functionality is only used by Calendar type schedule pages. The init function name specifies the name of the JavaScript function to call inside the Client script function for calendar type schedule pages. |
| HTML | String | Note: This functionality is only used by Calendar type schedule pages. Jelly parses the HTML field, which is a scriptable section. It then injects it into the display page prior to the rest of the calendar. It can be used to pass in variables from the server and define extra fields are necessary. |
| Client script | String | The client script is a scriptable section that allows for configuring options of the schedule page display. The API is different depending on the schedule page view type. |
| Server AJAX processor | String | Note: This functionality is only used by Calendar type schedule pages. The Server AJAX processor is specific to calendar type schedule pages that is used to return a set of schedule items and spans that display. |
- Invoke the Schedule page and view a calendar
You can use the URL from arguments module, a field decoration (dictionary attributeref_contributions), or a UI Action linking toshow_schedule.doto invoke the Schedule page. - Schedule calendar
Use the Schedule calendar to create, view, and edit events.
Parent Topic:Schedules
Related topics
Create a holiday schedule for multiple regions