Mobile / reference
Data source script examples
Use data source scripts to map input values, descriptive elements, and input actions. Alternatively create a dedicated data source for each of these elements.
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
Mobile / reference
Use data source scripts to map input values, descriptive elements, and input actions. Alternatively create a dedicated data source for each of these elements.
Server API Reference / concept
The ScopedCacheManager API provides methods for retrieving, setting, and flushing cache data for scoped applications.Flushes an entire cache or a single entry from a cache.Gets a value from a cache.Gets cache entry details including byte size, object type, and entry…
ERP Integration Framework / concept
View external records from a data fabric table in lists and forms the same way you view records in a physical table.
Expense Line / task
Scripted allocations define custom allocation amounts and targets by executing a script.
Server API Reference / concept
The logger API provides inbound email actions that append messages to the email log.Appends the specified message to the email log.Appends the specified error message to the email log file.Appends the specified warning message to the email log file.
Impact / reference
Refer to the Proactive Code Check (PCC) scan suite matrix for details on the checks performed during a PCC scan.
System Import Sets / reference
Several predefined variables are available in the Source script field.
Server API Reference / concept
The FinancialsWidgetUtil script include provides methods to customize widgets in the Financials section of Project Workspace and Strategic Planning Workspace.Instantiates a FinancialsWidgetUtil object.Returns the actual cost for any planning items and work items linked to an…
Server API Reference / concept
The IPAddressFixup script include provides methods that ensure that no other device has the same IP address, after a device has been successfully discovered.
System Import Sets / reference
Multiple JavaScript objects are available in the Scheduled Data Import Pre script and Post script fields.
Scripts / reference
Processors have access to dedicated API classes, objects, and methods.
Platform user interface / reference
The Script field on the Map Page form allows the use of attributes or custom code to define map characteristics, such as marker appearance, display information, and more.
Scripts / concept
A business rule script specifies the actions that the business rule takes. Scripts commonly include predefined global variables to reference items in your system, such as the current record. Global variables are available to all business rules.
Field Service Manager Workforce / task
Support flexible work types by allowing agents to start traveling before their scheduled work hours. For example, you may want to add travel time outside of an agent's scheduled work hours in case bad weather suddenly increases travel time.
Vocabulary
Each row maps a canonical term to its known synonyms — including abbreviations, common misspellings, and spelling variants (US/British). Synonyms are separated by vertical bars ('|').
Server API Reference / concept
The CatalogJS API provides methods to check and retrieve catalog-specific properties.Creates an instance of the catalog class for the specified glide record object.Creates an instance of the Catalog class with the specified sys_id.Determines whether a user can view the current…
UI Builder / concept
Now Code Editor is a rich-text editor like interface that supports Cascading Style Sheets (CSS), Hypertext Markup Language (HTML), JavaScript, Extensible Markup Language (XML), and JavaScript Object Notation (JSON).
Vulnerability Response / concept
On the Vulnerability Integration form, the integration script is a reference to a script include that extends the VulnerabilityIntegrationBase script include.
Platform administration / task
Store transient attributes and their values on a record.
Server API Reference / concept
The ProactiveTriggerAPI enables you to create server-side triggers that send context-specific messages to a specified user.Creates a server-side Proactive Triggers event.Executes the specified Proactive Triggers API request.Sets the trigger record on which to apply the…
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.