Scripts / reference
Using the JavaScript syntax editor
The syntax editor provides editing functions to support editing JavaScript scripts.
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
Scripts / reference
The syntax editor provides editing functions to support editing JavaScript scripts.
Universal Request for HR Service Delivery / task
Universal request is not automatically created when a fulfiller or employee creates a department ticket from channels other than the Service Portal or Virtual Agent topics.
UI Builder / task
Add and edit client scripts in UI Builder so that you can update the client state through events. You can bind these scripts to any component by using an event handler.
Server API Reference / concept
The DateTimeUtils script include is a collection of date/time functions.Converts Microsoft AD integer8 DateTime format into GlideDateTime format.Convert milliseconds to a GlideDateTime object
Servicenow platform / reference
Description of the field values for the Recipients List form.
Security Center / reference
Learn about the checks available in the default Access Controls Auditor Suites, what criteria they evaluate, and how they can be used to improve the security of your instance.
Platform administration / reference
The ServiceNow Syslog probe uses the MID Server to deliver log messages from a ServiceNow instance to another machine, such as a dedicated log server, using the syslog protocol over an IP network.
Server API Reference / concept
The QuickRanges script include provides methods to generate IP network, range, and address entries from a convenient comma-separated input field using conventional Classless Inter-Domain Range (CIDR) network notation, hyphenated range entries, or individual IP addresses.Creates…
Customer service management / task
Leverage the fix script to add and manage the Type field in relationship tables. This script simplifies data mapping and enhances record consistency across the base system.
Scripts / concept
A schedule page is a record that contains a collection of scripts that allow for custom generation of a calendar or timeline display.To access schedule pages, navigate to System Scheduler Schedules Schedule Pages .A Timeline Schedule Page is a specific record that contains…
Security Incident Response / task
Use the script editor to format field values on the security incident during the mapping step.
Authentication / task
Create knowledge-based answers for the preconfigured security questions to confirm the user's identity.
Server API Reference / concept
The ProbeHandlerCim script include provides methods to configures a Common Information Model (CIM) probe.Returns a string containing the CIM fields to fetchReturns the CIM name space.Returns a hash map of the parameters added by this probe handler.Runs the probe.Sets the probe…
UI Builder / task
Build custom controllers to use across experiences. Easily connect reusable data, scripts, and events to your page and set up inputs, outputs, and events.
Customer service management / reference
Create the recipients list for a targeted communications that can include internal users, customer, accounts, contacts, and consumers. You can create the recipient list using the methods of user import, dynamic lists, or scripting.
Server API Reference / concept
The OpenMessageBusEventPublisherOOB script include provides a method for sending messages to the spoke selector, which sends the messages to the configured REST proxy.Sends the passed message to a custom message platform's REST proxy using the spoke selector.
Expense Line / reference
Several types of components are installed with the Expense Line plugin.Tables are added with activation of Expense Line.Roles are added with activation of Expense Line.Script includes are added with activation of Expense Line.Client scripts are added with activation of Expense…
Integration Hub / reference
Several types of components are installed with the HL7 FHIR Spoke, including Workflow Studio actions, a Connection & Credential Alias and configuration template, script includes, and application menu modules. The spoke installs no custom tables or roles.
AI Search / task
Create a scripted extension point to handle embedding generation errors that occur when custom embedding models generate semantic vectors. Using extension point enables you to create a primary ticket type as per the extension point definition.
Employee service management / concept
The base system uses the automatic case assignment feature to assign an HR case to an agent. It attempts to assign an agent with the least number of cases assigned, has the skills required by the case, and matches the location of the subject person.
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.