Server API Reference / concept
WorkflowDuration - Global
The WorkflowDuration script include provides methods to calculates the duration (in seconds) based on the variables of a workflow activity.
THE SERVICENOW DOCUMENTATION LIBRARY
Search the documentation here. No installation, database download, or account needed.
Source: ServiceNow’s public documentation · Australia release · refreshed daily when the sync worker is running.
51,657 documents indexed · Last published Oct 30, 2026 at 06:29 UTC
Server API Reference / concept
The WorkflowDuration script include provides methods to calculates the duration (in seconds) based on the variables of a workflow activity.
Server API Reference / concept
The GlideElementDynamicAttributeStore API provides convenient script methods for managing dynamic attributes in the current glide record.
Server API Reference / concept
The SLARepair script include provides methods that delete the existing SLAs and then recreates them from each task's history.Repair the task SLAs associated with the passed-in filter and source table.Repair the task SLAs associated with the passed in GlideRecord.Repair the task…
Server API Reference / concept
The action API provides methods to handle data for URLs in a UI action script.Gets a GlideURI object to determine the user view.Gets the URL of the return page in view after a UI action is complete.Gets the value of a URL parameter.Opens a page with a GlideRecord in the user…
Server API Reference / concept
The GlideSecurityManager API provides methods that enable you to retrieve a SecurityManager object and to check if the current user has access rights, both table-level and field-level, to a specified GlideRecord table based on the configured Access Control Rules (ACLs).Returns…
Scripts / reference
Debugging business rules can be achieved with resources available in the ServiceNow product.
Workflow Studio / reference
Stores one or more Sys ID references to records in a specific table. The Records data format is also known as a Glide List since it stores a list of GlideRecord Sys ID values.
API reference
--- title: JSUtil - Global description: The JSUtil script include provides shortcuts for common JavaScript routines.Checks if item is null or is undefined.Escape ampersands commonly used to define URL attributes.Escapes invalid XML characters such as "< > &".Returns the value…
Scripts / reference
The ServiceNow Glide classes expose JavaScript APIs that enable you to conveniently work with tables using scripts.
Server API Reference / concept
The GlideSPUtil API provides utility methods to perform common backend functions that support a Service Portal.Instantiates a GlideSPUtil object.Considers ‘id’ query parameter to identify the portal page (pageGR) and uses query string of the current transaction to call…
System Import Sets / reference
Transformation events occur during the process of transforming an import set table onto a table.
Server API Reference / concept
The NotifyJsTelephonyDriver API provides methods that you can use to obtain information about the capabilities of the associated telephony driver.Calls a specified telephone number.Returns a list of the capabilities of the telephony driver.Returns the maximum number of…
Server API Reference / concept
The Transformer API manipulates time-series data to prepare the data for evaluation and analysis.Create a Transformer object.Run the transform.Specifies the field to use to group the data.Specify the metric field to be used in the transform.
Server API Reference / concept
The GlideElement API provides a number of convenient script methods for dealing with fields and their values.
Scripts / concept
Service catalog order guides allow customers to make a single service catalog request that can generate several ordered items.
Time Configuration / reference
You can specify a script include that calculates range restrictions and processes parent updates in a timeline page.
Server API Reference / concept
The OnCallRotation script include provides methods to manage on-call schedules.Creates an instance of the OnCallRotation class.Add the current escalation member to the list of notified users so that the API knows who has been contacted.
Server API Reference / concept
The OCRotaICalendarSNC script include provides iCal formatted events for the a specific user's rotation.Records in the cmn_rota_resp_cache table that have a From date prior to today.Returns list of AJAXScheduleItems for the user's on-call.Creates a VEVENT based on the…
Server API Reference / concept
The CIActionEngine API provides methods that enable you to execute any action on a configuration item (CI), to check the authorization of a user before executing an action, and to get the status and action outputs of any action execution request.Executes any action on a CI with…
Scripts / concept
Script includes are used to store JavaScript that runs on the server.Script includes have a name, description, and, script. They also specify whether they are active or not, and whether they can be called from a client script.
The same documentation is available through the public REST API.
GET /api/docs/search?q=GlideRecord&limit=20 GET /api/docs/document?path=… GET /api/docs/:id?revision=…
Search returns document paths, IDs, snippets, and an index revision. Read by path for a stable reference; numeric IDs should be used with the returned revision. Document bodies are Markdown.