<h2>Using schedules and calendars</h2><br/><div style="overflow-x:auto"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"><head><meta content="text/html; charset=UTF-8" /><meta name="copyright" content="(C) Copyright 2025" /><meta name="DC.rights.owner" content="(C) Copyright 2025" /><meta name="generator" content="DITA-OT" /><meta name="DC.type" content="reference" /><meta name="DC.title" content="Using schedules and calendars" /><meta name="abstract" content="Specific applications within the Now Platform generate graphical calendar displays based on schedule pages." /><meta name="description" content="Specific applications within the Now Platform generate graphical calendar displays based on schedule pages." /><meta name="DC.subject" content="Calendars, creating" /><meta name="keywords" content="Calendars, creating" /><meta name="DC.relation" scheme="URI" content="../../../administer/time/concept/c_UseSchedules.html" /><meta name="DC.relation" scheme="URI" content="../../../administer/general/concept/intro-now-platform-landing.html" /><meta name="DC.relation" scheme="URI" content="../../../administer/general/concept/config-now-platform-core-features.html" /><meta name="DC.relation" scheme="URI" content="../../../administer/time/time-configuration-landing.html" /><meta name="DC.relation" scheme="URI" content="../../../administer/time/exploring-time-configuration.html" /><meta name="DC.relation" scheme="URI" content="../../../administer/time/reference/r_DefaultSchedules.html" /><meta name="DC.relation" scheme="URI" content="../../../administer/time/concept/c_Holidays.html" /><meta name="DC.relation" scheme="URI" content="../../../administer/time/task/t_CreateAHolidaySchedMultiRegions.html" /><meta name="DC.relation" scheme="URI" content="../../../administer/time/concept/c_ParentAndChildSchedules.html" /><meta name="DC.relation" scheme="URI" content="../../../administer/time/task/t_DefineASchedule.html" /><meta name="DC.relation" scheme="URI" content="../../../administer/time/task/t_FifthInstanceOfADayOfTheWeek.html" /><meta name="DC.relation" scheme="URI" content="../../../administer/time/task/t_RepeatAMonthlySchedule.html" /><meta name="DC.relation" scheme="URI" content="../../../administer/time/concept/domain-support-for-schedules.html" /><meta name="DC.relation" scheme="URI" content="../../../administer/time/concept/c_GenCalViewsFromSchedPages.html" /><meta name="DC.relation" scheme="URI" content="../../../administer/time/concept/schedule-calendar.html" /><meta name="DC.creator" content="ServiceNow" /><meta name="DC.date.created" content="2023-08-03" /><meta name="DC.date.modified" content="2023-08-03" /><meta name="DC.format" content="XHTML" /><meta name="DC.identifier" content="r_CreateCalendarsWithSchedulePages" /><link rel="stylesheet" type="text/css" href="../../../CSS/commonltr.css" /><title>Using schedules and calendars</title></head><body id="r_CreateCalendarsWithSchedulePages"> <div class="breadcrumb"><a class="link" href="../../../administer/general/concept/intro-now-platform-landing.html" title="As a platform administrator, you have the power of the Now Platform at your fingertips. The Now Platform is an application platform as a service that automates business processes across the enterprise.">Administer the Now Platform</a> > <a class="link" href="../../../administer/general/concept/config-now-platform-core-features.html" title="The Now Platform provides for a multitude of customization options to your applications. Customize your UI, handle user and data administration, and localize your instance for time zones, currencies, and more.">Configure Now Platform Core Features</a> > <a class="link" href="../../../administer/time/time-configuration-landing.html" title="A standard feature of the Now Platform, ServiceNow's time configuration system handles scheduling across your entire enterprise, enabling you to manage projects efficiently, track and schedule events, and more.">Time configuration</a> > <a class="link" href="../../../administer/time/exploring-time-configuration.html" title="Time configuration helps you easily handle any necessary timing or scheduling aspects of your online enterprise.">Exploring time configuration</a> > </div> <h1 class="title topictitle1" id="ariaid-title1">Using schedules and calendars</h1> <div class="body refbody"><p class="shortdesc">Specific applications within the <span class="ph">Now Platform</span> generate graphical calendar displays based on schedule pages.</p> <div class="section"> <div class="p">These schedule pages appear in daily, weekly, or monthly views. Currently, the applications using schedule pages include: <ul class="ul" id="r_CreateCalendarsWithSchedulePages__ul_nxz_bs4_r4"><li class="li">Project Management</li><li class="li">Maintenance Schedules</li><li class="li">Group On-Call Rotation</li><li class="li"><span class="ph">Field Service Management</span></li></ul> </div> <div class="p">Schedule pages are records that contain the scripts that determine the functionality of the graphical display. <ul class="ul" id="r_CreateCalendarsWithSchedulePages__ul_h1d_kvv_kjb"><li class="li">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.</li><li class="li">The schedule page uses a URL with a series of parameters attached to generate the graphical display.</li><li class="li">A schedule page controls calendar content (<code class="ph codeph">cmn_schedule_page</code>) record.</li></ul> </div> <p class="p">To access Schedule Pages, navigate to <span class="ph uicontrol">System Scheduler > Schedules > Schedule Pages</span>. The Schedule Pages form provides the following fields:</p> <div class="p"> <div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="r_CreateCalendarsWithSchedulePages__table_g1z_rs4_r4" class="table" frame="border" border="1" rules="all"><colgroup><col /><col /><col /></colgroup><thead class="thead" style="text-align:left;"><tr class="row"><th class="entry cellrowborder" style="vertical-align:top;" id="d245187e104">Field</th><th class="entry cellrowborder" style="vertical-align:top;" id="d245187e107">Field Type</th><th class="entry cellrowborder" style="vertical-align:top;" id="d245187e110">Description</th></tr></thead><tbody class="tbody"><tr class="row"><td class="entry cellrowborder" style="vertical-align:top;" headers="d245187e104 ">Name</td><td class="entry cellrowborder" style="vertical-align:top;" headers="d245187e107 ">String</td><td class="entry cellrowborder" style="vertical-align:top;" headers="d245187e110 ">General name used to identity the current schedule page.</td></tr><tr class="row"><td class="entry cellrowborder" style="vertical-align:top;" headers="d245187e104 ">Schedule type</td><td class="entry cellrowborder" style="vertical-align:top;" headers="d245187e107 ">String</td><td class="entry cellrowborder" style="vertical-align:top;" headers="d245187e110 ">Schedule type is a string that is used to uniquely identity the schedule page via the "<code class="ph codeph">sysparm_page_schedule_type</code>" URI parameter. For example, a schedule page could be accessed as follows: <p class="p"><span class="ph uicontrol">/show_schedule_page.do?sysparm_page_schedule_type=gantt_chart&sysparm_timeline_task_id=d530bf907f0000015ce594fd929cf6a4</span></p> <p class="p">Alternatively, you can access the schedule page can by setting the "<span class="ph uicontrol">sysparm_page_sys_id</span>" URI parameter to the unique 32 character hexadecimal system identifier of the schedule page.</p> </td></tr><tr class="row"><td class="entry cellrowborder" style="vertical-align:top;" headers="d245187e104 ">View Type</td><td class="entry cellrowborder" style="vertical-align:top;" headers="d245187e107 ">Choice</td><td class="entry cellrowborder" style="vertical-align:top;" headers="d245187e110 ">Each view type displays different field combinations. There are two options available:<ul class="ul" id="r_CreateCalendarsWithSchedulePages__ul_t2c_mt4_r4"><li class="li"><span class="ph uicontrol">Calendars</span></li><li class="li"><a class="xref" href="../script/server-api/concept/c_SchedulePages.html" target="_blank" rel="noopener noreferrer">Schedule Pages</a></li></ul> </td></tr><tr class="row"><td class="entry cellrowborder" style="vertical-align:top;" headers="d245187e104 ">Description</td><td class="entry cellrowborder" style="vertical-align:top;" headers="d245187e107 ">String</td><td class="entry cellrowborder" style="vertical-align:top;" headers="d245187e110 ">General description that provides additional information about the current schedule page. This field is not necessary.</td></tr><tr class="row"><td class="entry cellrowborder" style="vertical-align:top;" headers="d245187e104 ">Init function name</td><td class="entry cellrowborder" style="vertical-align:top;" headers="d245187e107 ">String</td><td class="entry cellrowborder" style="vertical-align:top;" headers="d245187e110 "><div class="note"><span class="notetitle">Note:</span> This functionality is only used by <span class="ph uicontrol">Calendar</span> type schedule pages.</div> The init function name specifies the name of the JavaScript function to call inside the <span class="ph uicontrol">Client script</span> function for calendar type schedule pages.</td></tr><tr class="row"><td class="entry cellrowborder" style="vertical-align:top;" headers="d245187e104 ">HTML</td><td class="entry cellrowborder" style="vertical-align:top;" headers="d245187e107 ">String</td><td class="entry cellrowborder" style="vertical-align:top;" headers="d245187e110 "><div class="note"><span class="notetitle">Note:</span> This functionality is only used by <span class="ph uicontrol">Calendar</span> type schedule pages.</div> 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.</td></tr><tr class="row"><td class="entry cellrowborder" style="vertical-align:top;" headers="d245187e104 ">Client script</td><td class="entry cellrowborder" style="vertical-align:top;" headers="d245187e107 ">String</td><td class="entry cellrowborder" style="vertical-align:top;" headers="d245187e110 ">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.</td></tr><tr class="row"><td class="entry cellrowborder" style="vertical-align:top;" headers="d245187e104 ">Server AJAX processor</td><td class="entry cellrowborder" style="vertical-align:top;" headers="d245187e107 ">String</td><td class="entry cellrowborder" style="vertical-align:top;" headers="d245187e110 "><div class="note"><span class="notetitle">Note:</span> This functionality is only used by <span class="ph uicontrol">Calendar</span> type schedule pages.</div> 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.</td></tr></tbody></table> </div> </div> </div> </div> <div class="related-links"> <ul class="ullinks"><li class="link ulchildlink"><strong><a href="../../../administer/time/concept/c_GenCalViewsFromSchedPages.html">Invoke the Schedule page and view a calendar</a></strong><br /> You can use the URL from arguments module, a field decoration (dictionary attribute <code class="ph codeph">ref_contributions</code>), or a UI Action linking to <code class="ph codeph">show_schedule.do</code>to invoke the Schedule page.</li><li class="link ulchildlink"><strong><a href="../../../administer/time/concept/schedule-calendar.html">Schedule calendar</a></strong><br /> Use the Schedule calendar to create, view, and edit events.</li></ul> <div class="familylinks"> <div class="parentlink"><strong>Parent Topic:</strong> <a class="link" href="../../../administer/time/concept/c_UseSchedules.html" title="Use schedules to specify when service level agreements or inactivity monitors are active, or to specify when on-call rotations should take effect. Schedules are rules that include or exclude time for various actions or tasks.">Schedules</a></div> </div> <div class="linklist relinfo relconcepts"><strong>Related concepts</strong><br /> <ul class="linklist"><li class="linklist"><a class="link" href="../../../administer/time/concept/c_Holidays.html" title="You can define each individual holiday as a schedule entry to create exceptions to existing schedules.">Holidays</a></li><li class="linklist"><a class="link" href="../../../administer/time/concept/c_ParentAndChildSchedules.html" title="Schedules can have one of two parent-child relationships with other schedules.">Parent and child schedules</a></li><li class="linklist"><a class="link" href="../../../administer/time/concept/domain-support-for-schedules.html" title="Domain separation is supported in schedules. Domain separation enables you to separate data, processes, and administrative tasks into logical groupings called domains. You can control several aspects of this separation, including which users can see and access data. Activate the Domain Support [com.glide.domain] plugin to enable the domain separation functionality for schedules.">Domain support and schedules</a></li></ul></div> <div class="linklist relinfo reltasks"><strong>Related tasks</strong><br /> <ul class="linklist"><li class="linklist"><a class="link" href="../../../administer/time/task/t_CreateAHolidaySchedMultiRegions.html" title="You can create holiday schedules for multiple regions that follow the same work schedule but have different holidays.">Create a holiday schedule for multiple regions</a></li><li class="linklist"><a class="link" href="../../../administer/time/task/t_DefineASchedule.html" title="You configure schedules using schedule and schedule entry records.">Define a schedule</a></li><li class="linklist"><a class="link" href="../../../administer/time/task/t_FifthInstanceOfADayOfTheWeek.html" title="You can select a date that computes to the fifth instance of a weekday for a date near the end of a month for a repeating monthly schedule,">Schedule for the fifth instance of a week date</a></li><li class="linklist"><a class="link" href="../../../administer/time/task/t_RepeatAMonthlySchedule.html" title="Repeat a monthly schedule to reduce the amount of time required to define schedules and to provide consistency in scheduling.">Repeat a monthly schedule</a></li></ul></div> <div class="linklist relinfo relref"><strong>Related reference</strong><br /> <ul class="linklist"><li class="linklist"><a class="link" href="../../../administer/time/reference/r_DefaultSchedules.html" title="Default schedules are available in a base system.">Default schedules</a></li></ul></div> </div></body></html></div>