API Reference / concept
GlideRecord - Client
The GlideRecord API provides methods that perform database operations.
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
API Reference / concept
The GlideRecord API provides methods that perform database operations.
Server API Reference / concept
The GlideRecordUtil script include is a utility class for working with GlideRecords.Returns the GlideRecord object for the specified configuration item (CI) using just the sys_id of the CI.Returns an array of all the fields in the specified GlideRecord.Returns a GlideRecord…
Server API Reference / concept
The scoped GlideRecord API is used for database operations.Adds a filter to return active records.Adds an encoded query to other queries that may have been set.Applies a pre-defined GlideDBFunctionBuilder object to a record.Adds a filter to return records based on a…
Server API Reference / concept
The GlideRecord API is used for database operations.Creates an instance of the GlideRecord class for the specified table.Adds a filter to return active records.Changes the domain used for the query from the user's domain to the domain of the provided GlideRecord.Adds an encoded…
Scripts / reference
GlideRecord variables (including current) are initially null in the database. Setting these back to an empty string, a space, or the JavaScript null value will not result in a return to this initial state.
Instance Security Hardening Settings / reference
The glide.record.legacy_cross_scope_access_policy_in_script property disables scope fencing allowing scoped apps to access global script interfaces. It was created as a patch to GlideRecord's cross scope access.
Access Control / reference
Use a system property to perform access control list (ACL) rule validation when server-side records (for example, tables) are accessed using GlideAjax APIs within a client script.
Instance Security Hardening Settings / reference
Use the glide.script.secure.ajaxgliderecord property to perform access control rule (ACL) validation when server-side records, such as tables, are accessed using GlideAjax APIs within a client script.
Server API Reference / concept
The OCRotaMember script include provide methods to perform maintenance operations on the On-call Member [cmn_rota_member] table.Deactivates the user's rota member records according to the deactivate date.Checks whether the cmn_rota_member record has changed.
Server API Reference / concept
The Workflow script include provides methods that interface with the Workflow engine.Sends the specified event (message) into the workflow context to pass along to the executing activities.Cancels all running workflows on this record by broadcasting the cancel event to…
Server API Reference / concept
The Messaging API provides methods to perform actions in a third-party messaging application.Sends a custom message to a third-party application in response to a messaging event.
Server API Reference / concept
The ExpenseAllocation script include is used by various cost management processes and can also be used for generating custom expense allocation records (fm_expense_allocation) from scripted expense allocation rules.Called when you create a new ExpenseAllocation object.Creates…
Server API Reference / concept
The NotifyScoped API allows you to interact with Notify calls and SMS messages using scripts.Calls the specified E.164-compliant telephone number.Creates a new conference call GlideRecord.Resumes a call after it was put in a queue (on hold).Forwards the specified call to a…
Server API Reference / concept
The Notify API allows you to interact with Notify calls and SMS messages using scripts.Calls the specified E.164-compliant telephone number.Creates a new conference call GlideRecord.Resumes a call after it was put in a queue (on hold).Forwards the specified call to a different…
Server API Reference / concept
The NotifySMS script include provides methods that enable you to send Short Message Service (SMS) messages from Notify telephone numbers to devices using either their telephone numbers or a GlideRecord that has a field that contains telephone number information.Creates an…
Server API Reference / concept
The OCRosterSpanApprovalUtil script include provides methods for the PTO approval feature.Changes the type of the roster_schedule_span to time-off from approval.Returns a URL to the on-call calendar based on the rosterSpanProposalGr.Returns a formatted GlideScheduleDateTime…
Legacy Workflow / reference
Workflow uses several Glide events.
Legacy Workflow / reference
Workflow uses several Glide events.
Server API Reference / concept
The PSBScratchpadUtil API provides methods that allow providers to share "extra" information that is outside of any other Service Exchange service, with their consumers.Returns the value of a specified scratchpad property.Returns the property names and values (name-value pairs)…
Server API Reference / concept
The CSBScratchpadUtil API allows consumers to share "extra" information that is outside of any other Service Exchange service, with their providers.Returns the value of a specified scratchpad property.Returns the property names and values (name-value pairs) of all scratchpad…
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.