Server API reference
Use server APIs in scripts to change the functionality of applications, or when you create new applications.
- AbstractDBObject - Global
The AbstractDBObject script include provides common methods for classes based on records in the database. - AbstractReconciler - Global
The AbstractReconciler script include provides methods to use as a base class to create your own Discovery reconciler. - AbstractScriptProcessor - Global
The AbstractScriptProcessor script include is a base JavaScript processor class that other JavaScript processors extend. - AbstractTimelineSchedulePage - Global
The AbstractTimelineSchedulePage script include is a helper class to facilitate working with the data displayed on timelines. - AccAgentsAPI - Scoped
The AccAgentsAPI script include enables you to perform management actions on available agents. - AccCheckDefsAPI - Scoped
The AccCheckDefsAPI script include enables managing check definitions and associated parameters. - ActivityHistoryRecord - Global
The ActivityHistoryRecord API provides methods that facilitate interacting with a WorkflowModelManager object. It is a data object that is a member of the WorkflowModelManager class. - action - Scoped, Global
The action API provides methods to handle data for URLs in a UI action script. - Agent - Global
The Agent API provides methods for getting or setting agent presence and channel availability. - AgentMetrics - Global
The AgentMetrics script include provides methods to process inbound MID Server metrics. - AgentNowHandler - Scoped
The AgentNowHandler script include provides methods that enable running check definitions on demand, checking the status of on demand executions and test check executions and for stopping background checks that were executed on demand. - APCHandler - Global
The APCHandler script include provides methods to handle SNMP classification and identification for uninterruptible power supplies, environmental monitors, and power distribution units made by APC. - ApcPduOutletReconciler - Global
The ApcPduOutletReconciler API provides methods to reconcile outlets for power distribution units. - ArrayUtil - Global
The ArrayUtil script include provides methods for working with JavaScript arrays. - AssessmentCreation - Global
The AssessmentCreation API provides methods that administrators can use to generate assessments and surveys. - AuthCredential - Scoped
The AuthCredential() API provides methods that enable you to build credentials for a REST request. - AutomationException - Global
The AutomationException script include provides generic exception wrapping for automation. - BusinessServiceManager - Global
The BusinessServiceManager API provides methods that unify service management by converting manually-created services to application services, populating application services, and adding/removing configuration items and connections. - CatalogJS - Scoped
The CatalogJS API provides methods to check and retrieve catalog-specific properties. - CatalogSearch - Scoped
The CatalogSearch API provides methods that enable you to search catalog items. - CatalogSearchAPI - Scoped, Global
CatalogSearchAPI is a script include used to fetch product catalog data from all application scopes. - CatalogItemVariable - Scoped
The CatalogItemVariable API provides methods that enable you to create and modify service catalog item variables using scripts. - CatalogClientScript - Scoped
The CatalogClientScript API provides methods that enable you to create, modify, or delete catalog client script records. - CatalogItemVariableSet - Scoped
The CatalogItemVariableSet API provides methods that enable you to create and modify service catalog item variable sets using scripts. - CatalogItemVariableSetM2M - Scoped
The CatalogItemVariableSetM2M API provides methods that enable you to create and modify service catalog item variable set many-to-many (M2Ms) using scripts. - CatCategory - Scoped
The CatCategory API provides methods that enable you to create and modify service catalog categories using scripts. - CatItem - Scoped
The CatItem API provides methods that enable you to create and modify service catalog items using scripts. - CartJS - Scoped
The CartJS API provides methods that enable you to access a user's shopping cart. - CdmQuery - Scoped
The CdmQuery script include provides methods that enable you to query the CDM data model tree. It returns a list of node objects that are specific fields/columns in the CDM Node [sn_cdm_node] table. These values are returned as properties in the object. Every object is a node in the data model. - Cell - Scoped, Global
Creates a Cell object as a cell in a table. You can use this API to format the cell and include additional blocks, such as paragraphs and images. - CertificateEncryption - Scoped
The CertificateEncryption API provides methods for encrypting certificates in scoped applications. - ChangeCollisionHelper - Global
The ChangeCollisionHelper script include provides helper methods found in the Change Management - Collision Detector (com.snc.change.collision) plugin. - ChangeSuccess - Scoped
The ChangeSuccess script include provides methods that return the Performance Analytics (PA) success scores for change requests (original change success score based on group), change models, and change types. - CheckDefinitionTestBuilder - Scoped
The CheckDefinitionTestBuilder script include provides methods that enable you to building test check requests on check definitions. - CheckInstanceTestBuilder - Scoped
The CheckInstanceTestBuilder script include provides methods that enable building test check requests on check instances. - CIActionEngine - Scoped
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. - CIData - Global
The CIData script include is a utility class that provides methods for working with configuration item (CI) data structures in JavaScript. - CIIdentification - Global
The CIIdentification script include provides methods for discovery of configuration item (CI) identification. - CIIdentifierResult - Global
The CIIdentifierResult script include provides methods that return the result returned by a configuration item identifier. - CimCIData - Global
The CimCIData script include provides a wrapper for Common Information Model (CIM) configuration item (CI) data manipulation. - CimIDSensor - Global
The CimIDSensor script include provides methods to perform identification for Common Information Model (CIM) probe results. - CimInstanceToken - Global
The CimInstanceToken script include provides methods to represent the unique query identity of a Common Information Model (CIM) instance. - CimProbe - Global
The CimProbe script include provides methods to maintain Common Information Model (CIM) probe metadata. - CimProbeResult - Global
The CimProbeResult script include provides methods to process Common Information Model (CIM) probe results. - CIRelatedList - Global
The CIRelatedList script include is a utility class that provides methods for working with configuration item (CI) related lists. - CIUtils - Global
The CIUtils script include is a utility class that provides methods for working with configuration items (CI). - ClassificationSolutionStore - Global
Enables storing and retrieving solutions. - ClassificationSolutionVersion - Global
The ClassificationSolutionVersion API is a scriptable object used in Predictive Intelligence stores. - ClassificationSolution - Global
The ClassificationSolution API is a scriptable object used in Predictive Intelligence stores. - ClassifierProbes - Global
The ClassifierProbes script include provides a classifier probe launch facility. Encapsulates an array of probe information records, initialized either from a JavaScript array or the XML serialized version. - Client - Scoped, Global
The Client API provides methods to add data to the MetricBase database, to execute transforms on the MetricBase database, and to receive the results of the transforms. - Cloud Runner TestGenerationApi – Scoped, Global
Manages test job generation to be executed in a cloud runner for Automated Test Framework (ATF). This API is part of the CloudRunnerApi script include. - Cloud Runner TestRunnerApi – Scoped, Global
Manages tests to be executed in a cloud runner for Automated Test Framework (ATF). This API is part of the CloudRunnerApi script include. - Cloud Runner TestUserApi – Scoped, Global
Manages test user jobs to be executed in a cloud runner for Automated Test Framework (ATF). This API is part of the CloudRunnerApi script include. - ClusteringSolution - Global
The ClusteringSolution API is a scriptable object used in Predictive Intelligence stores. - ClusteringSolutionStore - Global
Enables storing and retrieving solutions. - ClusteringSolutionVersion - Global
The ClusteringSolutionVersion API is a scriptable object used in Predictive Intelligence stores. - CMDBDuplicateTaskUtils - Global
The CMDBDuplicateTaskUtils script include provides methods to create a de-duplication task that contains duplicate configuration items (CIs) that are of independent type. - CMDBDuplicateTemplateUtil - Global
The CMDBDuplicateTemplateUtil script include provides methods to add and remove de-duplication tasks to/from a de-duplication template. - CMDBGroupAPI - Scoped
The CMDBGroupAPI provides methods for performing actions on Configuration Management Database (CMDB) groups. - CMDBQBScopedScriptableAPI - Scoped
Provides methods to execute Configuration Management Database (CMDB) Query Builder operations in server-side scripts. - CMDBQueryBuilderAPI - Global
Provides methods to execute Configuration Management Database (CMDB) Query Builder operations in server-side scripts. - CMDBTransformUtil - Global
The CMDBTransformUtil script include uses the Identification and Reconciliation (IRE) framework to minimize the creation of duplicate configuration items (CI). - CMDBUtil - Global
The CMDBUtil API provides utility methods for creating and managing table relationships in the Configuration Management Database (CMDB) and managing CMDB baselines. - Color - Scoped, Global
Creates a Color object used to define color attributes that you can apply to elements in a PDF; such as cells, tables, and lines. - ConnectActionResponse - Global
The ConnectActionResponse API provides a method to create a glide record. - ConnectionInfo - Scoped, Global
The ConnectionInfo API enables you to get connection attribute information through the connection and credential alias. - ConnectionInfoProvider - Scoped, Global
The ConnectionInfoProvider API provides methods to select connection information through the connection alias. - Console - Scoped, Global
The Console API provides methods to log messages to the system log, create and stop timers, create and log counters, log stack traces, and group/organize related content. - ConsolidationService - Scoped, Global
The ConsolidationService API is a script include with methods for merging and de-duplicating complex, hierarchical business data (such as contracts, quotes, line items, and entitlements) using custom logic. - Conversation - Scoped
The Conversation API enables you to create or modify Connect conversations. - CopyDynamicSchemaAPI - Scoped, Global
The CopyDynamicSchemaAPI class provides methods and extension points for duplicating dynamic schema metadata. - CostPlanBatchOperations - Global
The CostPlanBatchOperations script include provides methods that enable the creation of a large number of cost plan records for demands and projects using batch processing. Use this script include instead of GlideRecord to more efficiently create multiple cost plan records. - CriteriaEvaluator - Global
The CriteriaEvaluator script include provides methods to implement a general-purpose criteria evaluator. - CSBScratchpadUtil - Scoped
The CSBScratchpadUtil API allows consumers to share "extra" information that is outside of any other Service Exchange service, with their providers. - CSVParser - Scoped
The CSVParser API provides methods for parsing comma-separated value (CSV) formatted records into an object or an array. - CTIOperationRequest - Scoped, Global
The CTIOperationRequest script include provides methods to set and get data on the current CTIOperationRequest object. - CTIOperationResponse - Scoped, Global
The CTIOperationResponse script include provides methods to set and get data on the current CTIOperationResponse object. - Data - Scoped, Global
The Data API provides a data object that contains the results of transform performed by a sn_clotho.Client.transform() method. - DataBuilder - Scoped, Global
The DataBuilder API provides methods to create a series of data points for a metric. Use the sn_clotho.Client.put() method to save the values. - DCManager - Global
The DCManager API enables you to group data by type. - ScopedDCManager - Scoped
The ScopedDCManager API enables you to group data by type. - DatasetDefinition - Global
The DatasetDefinition API provides methods to identify a set of records including a table name, columns, and row selection criteria to use as input for ML training algorithms. Datasets don't contain the actual data. - DateTimeUtils - Global
The DateTimeUtils script include is a collection of date/time functions. - DecisionTableAPI - Scoped, Global
The DecisionTableAPI class enables you to access Decision Tables data in scoped and global server-side scripts. - DevOpsOrchestrationToolIntegrationHandler - Scoped
The DevOpsOrchestrationToolIntegrationHandler API enables processing of payloads from custom DevOps tools. - DiscoveryAPI - Scoped
The DiscoveryAPI class provides methods that launch a quick discovery of a single IPv4 address and return summaries of previously launched discovery statuses for a single configuration item (CI) or for all scanned CIs. - Document - Scoped, Global
The Document API provides methods to initialize a PDF, add content, and close the PDF. After adding content, the document can be attached to a target record. - DocumentListEntryService - Scoped, Global
The DocumentListEntryService API provides methods for maintaining document templates in a document list. - DocumentListService - Scoped, Global
The DocumentListService API provides methods for creating, deleting, and updating a document list. - DocumentReferenceService - Scoped, Global
The DocumentReferenceService API provides methods for managing document references within a target table, such as the Incidents [incident] or Knowledge [kb_knowledge] table. You can use document references to associate information with a record. - DocumentService - Scoped, Global
The DocumentService API provides methods for creating, deleting, and updating a document. - DocumentVersionService - Scoped, Global
The DocumentVersionService API provides a service for creating and deleting document versions. Each version is an element containing the document content and is provided using a single URL or attachment. An attachment can only be added in the Document Versions [ds_document_version] table UI and not with the API. - DSCScriptableAPI - Global
The DSCScriptableAPI provides methods for checking the health of your domain configuration for an instance. - DuplicateTemplate - Scoped
The DuplicateTemplate API provides methods for users to interact with de-duplication templates by enforcing a set of validations for each method. - DurationCalculator - Global
The DurationCalculator script include provides methods for calculating durations and due dates. - DynamicSchemaAPI - Global
The DynamicSchemaAPI provides methods to clear the various caches used by the dynamic schema implementation. - DynamicTranslation - Scoped
The DynamicTranslation API provides methods that translate text, in real time, into multiple languages using translation service providers. - Encoder - Global
The Encoder API provides a scriptable object used in Predictive Intelligence stores. This object converts input data into vectors of numbers, based on encoder-specific goals and configurations. Encoders can be used independently to run encodings or can be configured as part of solutions to encode text columns. - EncoderStore - Global
The EncoderStore API provides methods to store and retrieve encoders. - EncoderVersion - Global
The EncoderVersion API provides a scriptable object used in Predictive Intelligence stores. - Event - Global
The Event API provides methods that enable the setting and getting of values within an event. - EventProcessorUtilOOB - Scoped
The EventProcessorUtilOOB script include provides methods to construct and publish events on the configured message broker. - EventQueueProcessorOOB - Scoped
The EventQueueProcessorOOB script include provides methods to manage event requests on the inbound event queue (located in the Inbound Queue [sn_tmt_core_inbound_queue] table). - ExpenseAllocation - Global
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. - ExpenseLine - Global
The ExpenseLine script include is used by various cost management processes and can also be used for generating expense line (fm_expense_line) records from your own server-side scripts. - ExtractTermsFromAttachment - Global
The ExtractTermsFromAttachment script include provides methods to extract terms from an attachment. - Fetch - Scoped, Global
The Fetch API provides methods for fetching resources using request and response objects. - Fetch Headers - Scoped, Global
The Fetch Headers API allows you to retrieve, set, add to, and remove headers from a list of request or response headers. - Fetch Request - Scoped, Global
The Fetch Request API contains methods for creating or retrieving a Request object to allow applications to asynchronously request resources, such as JSON, text, or binary data, from a server, and handle the response. This API supports various HTTP methods like GET, POST, PUT, DELETE, and so on. - Fetch RequestInit - Scoped, Global
The RequestInit API provides options to configure a Fetch request. - Fetch Response - Scoped,Global
The Fetch Response API provides methods for creating a new Response object and for handling the response body created by a Fetch Request API method. - FinancialsWidgetUtil - Scoped
The FinancialsWidgetUtil script include provides methods to customize widgets in the Financials section of Project Workspace and Strategic Planning Workspace. - Findings - Scoped, Global
The Findings API provides methods for handling how an Instance Scan check produces findings. - FormInfoHeader - Global
The FormInfoHeader script include provides methods to add an HTML message as a form info message. - FlowAPI - Scoped, Global
The FlowAPI provides methods to execute actions, flows, or subflows in server-side scripts using either blocking or non-blocking methods. - FlowScriptAPI - Scoped
The FlowScriptAPI API provides a method to return the context ID of the running flow. - Flow - Scoped (deprecated)
The Flow API provides methods to run activated Workflow Studio flows. - GenericUPSAlarmsReconciler - Global
The GenericUPSAlarmsReconciler script include provides methods to obtain reconciler information for generic uninterruptible power supply (UPS) alarms. - GenericUPSBypassReconciler - Global
The GenericUPSBypassReconciler script include provides methods to obtain reconciler information for generic uninterruptible power supply (UPS) bypasses. - GenericUPSInputsReconciler - Global
The GenericUPSInputsReconciler script include provides methods to obtain reconciler information for generic uninterruptible power supply (UPS) inputs. - GenericUPSOutputsReconciler - Global
The GenericUPSOutputsReconciler script include provides methods to obtain reconciler information for generic uninterruptible power supply (UPS) outputs. - GeniusResultAnswer - Scoped
The GeniusResultAnswer API provides methods for creating an answer object in a Genius Result configuration's processor scripts. Answers created with this API define search requests or key-value pair maps that can populate Genius Result answer cards. - GeniusResultContext - Scoped
The GeniusResultContext API provides methods for retrieving search query information from the context of a Genius Result configuration. - GlideAggregate - Global
The GlideAggregate API enables creating database aggregation queries. - GlideAggregate - Scoped
The GlideAggregate API enables creating database aggregation queries. - GlideApplicationProperty - Scoped, Global
The GlideApplicationProperty API provides methods to get and set application property values for a specific domain. - GlideappCalculationHelper - Global
The GlideappCalculationHelper API is a scriptable object that provides methods that add items to an existing request or request the recalculation of the price of a request. - GlideCalendarDateTime - Scoped (deprecated)
The GlideCalendarDateTime class provides methods for performing operations on GlideCalendarDateTime objects, such as instantiating GlideCalendarDateTime objects or working with glide_date_time fields. - GlideCertificateEncryption - Global
The GlideCertificateEncryption API provides methods for encrypting certificates. - GlideConversation - Global
The GlideConversation API provides methods to access information in a Connect message. - GlideCurrencyCode - Scoped, Global
The GlideCurrencyCode API provides methods to convert between ISO 4217 alphabetic and numeric codes for a currency. - GlideCurrencyConfig - Scoped
The GlideCurrencyConfig API provides methods to retrieve various configuration information for FX Currency fields. - GlideCurrencyConverter - Scoped
The GlideCurrencyConverter API provides methods to convert one currency value to another, such as converting US dollars into European euros. - GlideCurrencyExchangeValue - Scoped
The GlideCurrencyExchangeValue API provides methods to access information related to FX Currency conversions. - GlideCurrencyFormatter - Scoped
The GlideCurrencyFormatter API provides methods to format FX Currency strings. - GlideCurrencyParser - Scoped
The GlideCurrencyParser API provides methods to parse FX Currency values to detect locale-based formatting. - GlideCurrencySymbol - Scoped, Global
The GlideCurrencySymbol API provides methods to retrieve currency symbols. - GlideCurrencyValue - Scoped
The GlideCurrencyValue API provides methods that return the currency code and original currency from an associated GlideCurrencyParser.parse() call. - GlideDate - Global
The GlideDate class provides methods for performing operations on GlideDate objects, such as instantiating GlideDate objects or working with GlideDate fields. - GlideDate - Scoped
The scoped GlideDate class provides methods for performing operations on GlideDate objects, such as instantiating GlideDate objects or working with GlideDate fields. - GlideDateTime - Global
The GlideDateTime class provides methods for performing operations on GlideDateTime objects. - GlideDateTime - Scoped
The scoped GlideDateTime class provides methods for performing operations on GlideDateTime objects. - GlideDBFunctionBuilder - Scoped, Global
The GlideDBFunctionBuilder API provides methods to build functions to perform SQL operations in the database. - GlideDBFunctionCaseBuilder - Global
The GlideDBCaseStatementBuilder API allows you to build SQL CASE statements and return values based on a series of conditions. - GlideDigest - Scoped
The scoped GlideDigest class provides methods for creating a message digest from strings or input streams using MD5, SHA1, or SHA256 hash algorithms. - GlideDuration - Scoped
The GlideDuration class provides methods for working with spans of time known as durations. - GlideDynamicAttribute - Global
The GlideDynamicAttribute API provides access to dynamic attribute metadata. - GlideDynamicAttributeStore - Global
Use the GlideDynamicAttributeStore API to create objects for working with dynamic attributes independently of a table or field. - GlideDynamicNamespace - Global
The GlideDynamicNamespace API provides access to dynamic namespace metadata. - GlideElement - Global
The GlideElement API provides a number of convenient script methods for dealing with fields and their values. GlideElement methods are available for the fields of the current glide record. - GlideElement - Scoped
The scoped GlideElement API provides a number of convenient script methods for dealing with fields and their values. Scoped GlideElement methods are available for the fields of the current glide record. - GlideElementCurrency2 - Scoped
The GlideElementCurrency2 API provides methods to perform operations on Foreign Exchange (FX) Currency fields (also known as Currency2) within the current GlideRecord. - GlideElementDescriptor - Scoped, Global
The GlideElementDescriptor API provides information about individual fields in a glide record. - GlideElementDynamicAttributeStore - Global
The GlideElementDynamicAttributeStore API provides convenient script methods for managing dynamic attributes in the current glide record. Use these methods in conjunction with the GlideRecord API to get and set defined dynamic attribute values. - GlideEmailOutbound - Scoped
The scoped GlideEmailOutbound API implements the email object for scoped applications. You can use the GlideEmailOutbound methods with the email global object available in mail scripts. The email object behaves identically for global and scoped applications. - GlideEncrypter - Global (deprecated)
The GlideEncrypter API provides methods to encrypt and decrypt strings using the Key Management Framework (KMF). - GlideEventManager - Global
The GlideEventManager API provides methods to process events. - GlideScopedEvaluator - Global
The GlideScopedEvaluator API allows you to evaluate scripts in a GlideRecord field from both scoped and global server scripts. - GlideScopedEvaluator - Scoped
The GlideScopedEvaluator API allows you to evaluate scripts in a GlideRecord field from both scoped and global server scripts. - GlideExcelParser - Scoped, Global
The GlideExcelParser API parses .xlsx formatted Excel files and access file data in scripts. - GlideFilter - Scoped, Global
The GlideFilter API enables filtering queries to determine if one or more records meet a specified set of requirements. - GlideGeoPoint - Global
The GlideGeoPoint API enables you to get and set geopoint data type values in a table. - GlideHTTPRequest - Global
The GlideHTTPRequest API provides utility methods to perform common functions with Glide HTTP requests. - GlideHTTPResponse - Global
The GlideHTTPResponse API provides utility methods to perform common functions with Glide HTTP responses. - GlideImpersonate - Global
The GlideImpersonate API enables administrators to pose as another authenticated user for testing purposes. - GlideImportLog - Scoped, Global
The GlideImportLog API provides methods to write log entries directly to the Import Log [import_log] table. - GlideImportSetRun - Scoped, Global
The GlideImportSetRun API provides methods to creates an Import Set Run record which the GlideImportSetTransformer API can consume. - GlideImportSetTable - Scoped, Global
The GlideImportSetTable API provides methods to create temporary Import Set tables. - GlideImportSetTransformer - Scoped, Global
The GlideImportSetTransformer API provides methods to create an Import Set Transformer object used to execute an Import Set Transform. - GlideImportSetTransformMap - Scoped, Global
The GlideImportSetTransformMap API provides methods to create transform maps and transform entries. - GlideJsonPath - Global
The GlideJsonPath API retrieves values from a JSON document using a query path string. - GlideJWTAPI - Scoped
Use the GlideJWT API to create a JSON Web Token (JWT) for representing claims securely between two parties on the ServiceNow AI Platform. - GlideListProperties - Global
The GlideListProperties API provides methods to create a list and set list properties. For example, you can define whether a list has a filter, breadcrumbs, and search. - GlideLocale - Scoped
The GlideLocale API provides information about display information for the local instance. - GlideMultiRecurrence - Scoped
The GlideMultiRecurrence API provides methods that return GlideDateTime objects that describe the run times for a specified scheduled job. - GlideOAuthClient - Scoped, Global
The GlideOAuthClient API provides methods for requesting and revoking OAuth refresh and access tokens. - GlideOAuthClientRequest - Scoped, Global
The GlideOAuthClientRequest API provides methods for handling OAuth client requests. - GlideOAuthClientResponse - Scoped, Global
The GlideOAuthClientResponse API provides methods for handling OAuth client responses. - GlideOAuthToken - Scoped, Global
The GlideOAuthToken API provides methods for retrieving OAuth access token and information about the access token. - GlidePluginManager - Scoped
The scoped GlidePluginManager API provides a method for determining if a plugin has been activated. - GlideQuery - Scoped, Global
The GlideQuery script include is an alternative to the GlideRecord API for performing CRUD operations on record data from server-side scripts. - GlideQueryCondition - Global
This API providesANDorORconditions that can be added to the current condition, allowing you to build complex queries. - GlideQueryCondition - Scoped
This API providesANDorORconditions that can be added to the current condition, allowing you to build complex queries. - GlideRecord - Global
The GlideRecord API is used for database operations. - GlideRecord - Scoped
The scoped GlideRecord API is used for database operations. - GlideRecordUtil - Global
The GlideRecordUtil script include is a utility class for working with GlideRecords. - GlideSchedule - Scoped
The scoped GlideSchedule API provides methods for performing operations on GlideSchedule objects, such as adding new schedule segments to a schedule, determining if a date/time is within the schedule, or setting the schedule timezone. - GlideScriptableInputStream - Scoped, Global
A GlideScriptableInputStream object cannot be instantiated directly, but is used as an opaque object which is used to connect an input stream from GlideSysAttachment.getContentStream() with other streaming APIs. - GlideScriptedExtensionPoint - Scoped
The GlideScriptedExtensionPoint API provides a method that returns the extension instances associated with a specified extension point. - GlideScriptedProcessor - Scoped
The GlideScriptedProcessor API provides a customizable URL endpoint that can execute arbitrary server-side JavaScript code and produce output such as TEXT, JSON, or HTML. ServiceNow processors are equivalent to Java servlets. - GlideSecureRandomUtil - Scoped, Global
The GlideSecureRandomUtil API provides methods for generating integers, long values, and strings. - GlideSecurityManager - Global
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). - GlideSecurityUtils - Scoped, Global
The GlideSecurityUtils API provides methods to work with URLs. - GlideServletRequest - Scoped
The GlideServletRequest API provides methods to use in processor scripts. - GlideServletResponse - Scoped
The GlideServletResponse API provides methods to use in processor scripts. - GlideSession - Global
The GlideSession API provides methods to find information about the current session. - GlideSession - Scoped
The scoped GlideSession API provides methods to find information about the current session. - GlideSPScriptable - Scoped
The GlideSPScriptable API provides methods to interact with data and perform record operations in Service Portal widgets. - GlideSPSearchAnalytics - Global
The GlideSPSearchAnalytics API provides methods to generate search analytics from custom ServiceNow search widgets. - GlideSPUtil - Global
The GlideSPUtil API provides utility methods to perform common backend functions that support a Service Portal. - GlideStringUtil - Scoped, Global
The GlideStringUtil API provides string handling methods. - GlideSysAttachment - Global
The GlideSysAttachment API provides methods for handling attachments. - GlideSysAttachment - Scoped
The GlideSysAttachment API provides methods to handle attachments. - GlideSysListControl - Scoped
The GlideSysListControl API provides methods that enable you to determine if the New or Edit buttons are displayed. - GlideSystem - Global
The GlideSystem API, which is referred to by the variable namegsin any server-side JavaScript, provides a number of convenient methods to get information about the system, the current logged in user, and date/time information. - GlideSystem - Scoped
The scoped GlideSystem API provides a number of convenient methods to obtain information about the system, the current logged in user, and other system level information. - GlideSystemRunLevel - Global
The GlideSystemRunLevel API provides methods to get and set the current system run level. - GlideTableHierarchy - Scoped
The GlideTableHierarchy API provides methods for handling information about table relationships. - GlideTextReader - Scoped
The GlideTextReader API provides the ability to read single lines from an input stream. Because an input stream is used, it is not subject to the 5MB attachment size limit. - GlideTime - Scoped
The GlideTime API provides methods for performing operations on GlideTime objects, such as instantiating GlideTime objects or working with GlideTime fields. - GlideTimeline - Global
The GlideTimeline API provides the core implementation for configuring and displaying a Glide Windowing Toolkit Timeline. - GlideTimelineItem - Global
The GlideTimelineItem API extends the abstract ScheduleItem class to define additional properties that are specific to the time line. - GlideTransformLog - Scoped, Global
The GlideTransformLog API provides methods to create a GlideTransformLog object to log messages to localhost logs. - GlideUICompatibility - Scoped
The GlideUICompatibility API provides the ability for scoped applications to define their own minimum browser versions. This is done by creating system properties for the scoped application. - GlideURI - Global
The GlideURI API provides methods to handle URI parameters in a global application. - GlideURI - Scoped
The GlideURI API provides methods to handle URI parameters in a scoped application. - GlideUser - Scoped
The GlideUser API provides methods to access information about the current user and current user roles. - GlideUser - Global
The GlideUser API provides methods to access information about the current user and current user roles. - GlideXMLUtil - Scoped, Global
The GlideXMLUtil API provides methods to remove invalid characters from an XML string and to validate an XML string. - GSLog - Scoped, Global
GSLog is a script include that simplifies script logging and debugging by implementing levels of log output, selectable by per-caller identified sys_properties values. - HermesEventPublisherOOB - Scoped
The HermesEventPublisherOOB script include provides methods to publish messages to the Hermes Messaging Service. - HistoryWalker - Scoped, Global
The HistoryWalker API uses the audit/history tables to generate a historical version of an existing record. This historical version contains all updates to all fields for the specified glide record. - HostnameJS - Global
The HostnameJS script include provides methods to format host names according to property settings. - hr_ActivitySet - Scoped
The hr_ActivitySet API handles lifecycle event activity set cases. - hr_ActivityUtils - Scoped
The hrActivityUtils script include enables you to create HR cases from a record producer. - hr_Utils - Scoped
The hr_Utils API provides basic functionality for the Human Resource (HR) application. - HttpRequestAuthedData - Scoped
The HttpRequestAuthedData() API provides methods to access and set values in a signed REST or SOAP request. - HttpRequestData - Scoped
The HttpRequestData API provides methods to build and manipulate a REST request before applying a signature and sending it to an endpoint. - IBQConfigBase API - Scoped
Script include that must be extended for Sales Customer Relationship Management Request Tracker to track the requests. This script include provides overridable methods that define how requests should be executed. - ICalUtilSNC - Global
The ICalUtilSNC script include provides functions to generate iCalendar compliant events. - IdentificationEngine - Scoped
The IdentificationEngine API uses the Identification and Reconciliation framework to minimize the creation of duplicate configuration items (CIs) and to reconcile CI attributes by only accepting information from authorized data sources when updating the Configuration Management Database (CMDB). - IdentificationEngineScriptableApi - Global
The IdentificationEngineScriptableApi uses the Identification and Reconciliation framework to minimize the creation of duplicate configuration items (CIs) and to reconcile CI attributes by only accepting information from authorized data sources when updating the Configuration Management Database (CMDB). - IDResult - Global
The IDResult script include is a container class for the result of a CI Identifier. - IEventSender - Global
The IEventSender API provides methods to send events from a MID Server to a ServiceNow instance and to query the status of the event queue. - Image - Scoped, Global
Creates an Image object representing an image and its layout insert in a PDF. Enables defining attributes such as scale, alignment, and border color. - Interaction - Scoped
The Interaction API provides methods that enable you to define the behavior for interaction records. - IPAddress - Scoped, Global
The IPAddress API provides methods that enable you to check for various states of a specified IP address, such as whether it is routable, unicast, multicast, public, or reserved. It also enables you to get the canonical (shortened/standard) and expanded forms of an IP address. - IPAddressFixup - Global
The IPAddressFixup script include provides methods that ensure that no other device has the same IP address, after a device has been successfully discovered. If any duplicates are found, the IP address field is cleared. - IPService - Global
The IPService script include provides methods that encapsulate an IP Service. - JavascriptProbe - Global
The JavascriptProbe script include provides methods for using the JavascriptProbe on the MID Server. - j2js - Global
The j2js script include enables you to convert Java objects to JavaScript objects. - JSON - Global
The JSON script include provides methods to create JSON objects from a string, and to turn JSON objects into strings. - JSON - Scoped
The JSON script include provides scoped methods to create JSON objects from a string, and to turn JSON objects into strings. - JSONParser - Global (deprecated)
The JSONParser API provides a JSON parser that does not use the JavaScript eval() function. - JSONStreamingAPI - Scoped
Build a large streaming JSON payload to use in a REST or SOAP request to send bulk data to a third-party API. You can also create the payload as a JSON string for a non-streaming option. - JSONStreamingBuilder - Scoped
Create a builder object used to build a large streaming JSON payload to use in a REST or SOAP request to send bulk data to a third-party API. You can also create the payload as a JSON string for a non-streaming option. - JSUtil - Global
The JSUtil script include provides shortcuts for common JavaScript routines. - KMFCryptoOperation - Scoped, Global
The KMFCryptoOperation class provides methods for performing cryptographic operations, including JSON Web Token (JWT) signing and verification, using the Key Management Framework (KMF) cryptographic module or a Field Encryption encryption module. - LeadAPIHelperOOB - Scoped
The LeadAPIHelperOOB script include provides helper methods called by the lead REST API to perform various functions, such as converting a set of lead records from a GlideRecord object into a JSON array or JSON object and transforming fields within a lead object. - LeadAPIProcessUtilOOB - Scoped
The LeadAPIProcessUtilOOB script include provides methods that are called by the lead REST API to retrieve lead records and their associated lead line item records. - LeadAPIValidationUtilOOB - Scoped
The LeadAPIValidationUtilOOB script include provides methods that are called by the lead REST API to validate lead records and associated lead line item records when they are created (POST) or updated (PATCH). - LeadtoCashCore - Scoped
The LeadtoCashCore script include provides methods to orchestrate a lead-to-cash workflow in the Lead to Cash Core life cycle. - Line - Scoped, Global
Creates a Line object using methods to draw a line in a PDF. - LinterCheckAstNode - Scoped, Global
The LinterCheckAstNode API provides methods for getting abstract syntax tree (AST) node details in linter checks. - logger - Global
The logger API provides inbound email actions that append messages to the email log. - LSOFParser - Global
The LSOFParser script include provides methods to parse the output of thelsofcommand:lsof -i4TCP -n -P -F pcnfT. - Message - Global
The Message Server API allows you to retrieve localized messages from the Message [sys_ui_message] table for an entry with code equal to the code parameter, key equal to the message parameter, and language equal to the language of the session (or fallback language). - Messaging - Scoped
The Messaging API provides methods to perform actions in a third-party messaging application. - MetricInfo - Scoped, Global
The MetricInfo API provides methods to check if a metric is in the MetricBase database, and if so, to report its retention policy. Retention policies are reported in minutes. - MIDHermesProducer - Global
The MIDHermesProducer API provides a method to send data from the MID Server to a Hermes topic. - MIDServer - Global
The MIDServer script include provides methods to encapsulate the notion of a MID Server. - MIDServerAjax - Global
The MIDServerAjax script include provides AJAX functionality for sending a test probe to a MID Server - MIDServerCluster - Global
The MIDServerCluster script include provides methods to find MID Server clusters for a given MID Server and reassigns the jobs if necessary. - MIDServerFileSync - Global
The MIDServerFileSync script include provides methods to check to see if there are any changes to attachments on tables that are instances of MID Server synchronized files (ecc_agent_sync_file) and, if so, notifies the MID Servers of a change. - MIDServerFinder - Global
The MIDServerFinder script include provides methods to find a list of MID Servers for specified IP addresses. - MIDServerManage - Global
The MIDServerManage script include provides methods that allow you to manage a MID Server by sending messages to start, stop, upgrade, get logs, send test probes, and send system messages. - MIDServerSelector - Global
The MIDServerSelector script include provides methods to find a MID Server based on capabilities and target IP address. - MLPredictor - Global (deprecated)
The MLPredictor API provides utility methods for Predictive Intelligence predictions. - MLSolution - Global
The MLSolution API provides methods for handling Predictive Intelligence predictions and retrieving solution objects for all capabilities: similarity, classification, and clustering). - MLSolutionFactory - Global
The MLSolutionFactory API is a factory class to get an MLSolution scriptable object. - MLSolutionResult - Global (deprecated)
The MLSolutionResult API provides methods for managing cluster information and members of a clustering solution. You can embed the results in business logic. - MLSolutionUtil - Global
The MLSolutionUtil script include provides methods for getting Predictive Intelligence predictions. - MobileDeepLinkGenerator - Global
The MobileDeepLinkGenerator script include provides methods to embed a link to a mobile app list or form applet. - MonitorMIDServer - Global
The MonitorMIDServer script include provides methods to monitor MID Servers using the heartbeat probe to check for MID Servers that are down, sends heartbeat requests, and kills old heartbeat requests. - NameValuePairs - Global
The NameValuePairs script include provides methods to convert between maps and strings representing the name/value pairs in the map. - NetwareHandler - Global
The NetwareHandler script include implements an SNMP handler for Netware OS. - Notify - Global
The Notify API allows you to interact with Notify calls and SMS messages using scripts. - NotifyScoped - Scoped
The NotifyScoped API allows you to interact with Notify calls and SMS messages using scripts. - NotifyAction - Global
The NotifyAction API allows you to define actions to send to a telephony provider. - NotifyConferenceUtil - Scoped, Global
The NotifyConferenceUtil API provides methods to manage Notify conference calls and SMS messages for various telephony service providers, such as Zoom and Webex. - NotifyJsTelephonyDriver - Global
The NotifyJsTelephonyDriver API provides methods that you can use to obtain information about the capabilities of the associated telephony driver. - NotifyNow (Legacy) - Global
The legacy NotifyNow API provides functionality for sending emails, sending SMS messages, and setting up conference calls. - NotifyPhoneNumber - Global
The NotifyPhoneNumber API allows you to query information about a Notify phone number. - NotifyPhoneNumber - Scoped
The NotifyPhoneNumber API allows you to query information about a Notify phone number. - NotifySMS - Global
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. - NotifyUtil - Global
The NotifyUtil script include provides utility methods to use when interacting with Notify calls and SMS messages using server-side scripts. - NumberFormatter - Scoped, Global
The NumberFormatter API includes methods that return numbers formatted according to the language of the current user. - OAuthUtil - Global
The OAuthUtil script include modifies request parameters and parses the token response during runtime. - OCRosterSpanApprovalUtil - Global
The OCRosterSpanApprovalUtil script include provides methods for the PTO approval feature. - OCRotation - Global
The OCRotation script include provides methods to build a data structure that is used to display a calendar. - OCRotationV2 - Global
The OCRotationV2 script include is an extension of OCRotation script include, which is used by Fullcalendar.io and the DHTMLX On-Call Calendar. - OCRotaICalendarSNC - Global
The OCRotaICalendarSNC script include provides iCal formatted events for the a specific user's rotation. - OCRotaICalendar - Global
The OCRotaICalendar script include is an extension of the OCRotaICalendarSNC script include. - OCRotaMember - Global
The OCRotaMember script include provide methods to perform maintenance operations on the On-call Member [cmn_rota_member] table. - OCSeriesEventGenerator - Global
The OCSeriesEventGenerator script include provide methods to generate the repeating VEVENTS for a user's iCalendar. - OCTimer - Global
The OCTimer script include provides methods to track the length of time it takes for a function to complete. - OnCallContactPreferenceUtil - Global
The OnCallContactPreferenceUtil script include provides methods for handling contact preferences. - OnCallContactPrefTemplate - Global
The OnCallContactPrefTemplate script include provides methods to apply contact preference templates to escalation sets. - OnCallEscalationTemplateSNC - Global
The OnCallEscalationTemplateSNC script include provides methods to apply escalation policy templates to escalation sets. - OnCallRotation - Global
The OnCallRotation script include provides methods to manage on-call schedules. - OpenMessageBusEventPublisherOOB - Scoped
The OpenMessageBusEventPublisherOOB script include provides a method for sending messages to the spoke selector, which sends the messages to the configured REST proxy. - Optional - Scoped, Global
The Optional API interacts with a single record returned by the GlideQuery, Stream, or GlideRecord APIs, even when it does not exist. Write scripts that are less likely to result in an error by handling null or undefined query results. - OrderGuide - Scoped
The OrderGuide API enables you to initialize and view order guide details. - OrderUtil - Scoped
The OrderUtil script include enables you to view and retrieve order details. - PADomainUtils - Global
The PADomainUtils API enables you to copy Performance Analytics records between different domains on the same instance. - Paragraph - Scoped, Global
Creates a Paragraph object representing a block of text in a PDF. - PAScorecard - Scoped
The PAScorecard API enables you to fetch data about indicators and their associated records, such as breakdowns. - PASnapshot - Scoped
The PASnapshot API enables you to query information about Performance Analytics snapshots. Snapshots are the lists of records (sys_ids) that are collected at the time that the scores for those records are collected. A snapshot is made only for automated indicators with Collect records selected. - PDAutomationProvider - Scoped, Global
The PDAutomationProvider API enables inserting an optional activity into a process while it's executing. - PDFGenerationAPI - Scoped, Global
The PDFGenerationAPI provides support for PDF conversion and handling PDF fields. - PdfMergeSignRequestor - Scoped, Global
The PdfMergeSignRequestor API provides methods to add an image representing a signature to a PDF document. - PdfPage - Scoped, Global
Creates a PdfPage object representing a PDF page and its attributes; such as size, width, and color. - PersonalAuthAPI - Scoped
The PersonalAuthAPI provides methods that enable you to manage access/refresh tokens for personal authentication credentials. - PlaybookExperience - Scoped
The PlaybookExperience API provides methods for handling playbook executions. - PolarisUI - Scoped
The PolarisUI API provides methods for enabling Next Experience on direct UI pages. - PredictabilityEstimate - Global
The PredictabilityEstimate API is a scriptable object used in Predictive Intelligence stores. This object provides estimation of how predictable fields of a dataset can be, and which features can be useful for predicting those fields. - PredictabilityEstimateStore - Global
Enables storing and retrieving predictability estimates. - PredictabilityEstimateVersion - Global
The PredictabilityEstimateVersion API is a scriptable object used in Predictive Intelligence stores. - PreferenceDestination - Scoped, Global
The PreferenceDestination API updates user notification preferences. - Preferences - Scoped, Global
The Preferences API gets notification destinations for a user. - ProactiveTriggerAPI - Scoped
The ProactiveTriggerAPI enables you to create server-side triggers that send context-specific messages to a specified user. - ProbeHandlerCim - Global
The ProbeHandlerCim script include provides methods to configures a Common Information Model (CIM) probe. - ProbeHandlerMulti - Global
The ProbeHandlerMulti script include is a probe handler for multiprobes. - ProbeHandlerSNMP - Global
The ProbeHandlerSNMP script include is a discovery probe handler for SNMP probes, invoked when an SNMP probe is about to be created. - ProbeHandlerWMI - Global
The ProbeHandlerWMI script include is the discovery probe handler for Windows Management Instrumentation (WMI) probes. - ProcessMiningForExternalData - Scoped, Global
The ProcessMiningForExternalData API contains a method that marks an external audit record for processing. - ProcessMiningIntegrationAPI - Scoped
The ProcessMiningIntegrationAPI script include provides methods to manage process mining projects and retrieve findings and breakdowns. - Producer - Scoped (deprecated)
The Producer API provides methods that enable you to push data from a ServiceNow instance to a Kafka topic. - ProducerV2 - Scoped
The ProducerV2 API provides methods to publish messages from your ServiceNow instance to a Kafka topic. - ProductInstance - Scoped, Global
The ProductInstance API provides methods to generate a product instance identifier (PID), retrieve PID configuration data, and determine if a model category is a product instance. - PSBScratchpadUtil - Scoped
The PSBScratchpadUtil API provides methods that allow providers to share "extra" information that is outside of any other Service Exchange service, with their consumers. - Queue - Global
The Queue API (Advanced Work Assignment) provides methods to route a document to a queue. - Queue - Scoped
The Queue API provides methods that allow you to retrieve or join a Connect Support chat queue. - QuickRanges - Global
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. - RecordToHTML - Global
The RecordToHTML script include is a utility class to turn a record into HTML. - RegressionSolution - Global
The RegressionSolution API is a scriptable object used in Predictive Intelligence stores. - RegressionSolutionStore - Global
Enables storing and retrieving solutions. - RegressionSolutionVersion - Global
The RegressionSolutionVersion API is a scriptable object used in Predictive Intelligence stores. - RemedialActionEngine - Scoped
The RemedialActionEngine API provides methods for working with remedial actions. - RemoteTableCacheManager - Scoped
The RemoteTableCacheManager API provides a method to flush the cache for a specified remote table. - RenderProperties - Global
The RenderProperties API provides methods to obtain information about the current page and is available in Jelly scripts and in UI-action conditions and scripts. - RenderProperties - Scoped
The RenderProperties API provides methods to obtain information about the current page and is available in Jelly scripts and in UI-action conditions and scripts. - ReportCiStatusOutputJS - Scoped
The ReportCiStatusOutputJS API provides methods that return specific object properties for the DiscoveryAPI reportCiIpAddressStatus method and then converts the information into a JSON string. - RequestAuthAPI - Scoped
The RequestAuthAPI provides methods to apply a signature to a REST request. - ResponseTemplate - Scoped, Global
The ResponseTemplate script include provides methods for managing response templates. - RESTAPIRequest - Scoped, Global
The RESTAPIRequest API provides methods that allow you to access scripted REST API request details in scripts. - RESTAPIRequestBody - Scoped, Global
The RESTAPIRequestBody API provides methods that allow you to access the body content of a scripted REST API request in scripts. - RESTAPIResponse - Scoped, Global
The RESTAPIResponse API provides methods that allow you to build a RESTful response to a scripted REST API request. - RESTAPIResponseStream - Scoped, Global
The RESTAPIResponseStream API provides methods that allow you to write directly to the scripted REST API response stream. - RESTMessageV2 - Scoped, Global
The RESTMessageV2 API provides methods that allow you to send outbound REST messages using JavaScript. - RESTResponseV2 - Scoped, Global
The RESTResponseV2 API provides methods that allow you to use the data returned by an outbound REST message in JavaScript code. - RoundingInterval - Global
The RoundingInterval script include provides methods that handle all the details of rounding intervals for CPU speed and RAM size. - RTETransformer - Scoped
The RTETransformer API provides a method to transform and store an array of messages into a record in the associated ServiceNow instance based on a provided extract, transform, and load (ETL) definition. - sb - Scoped, Global
The sb script include provides methods that enable you to perform operations on Service Exchange configuration records. - SCIM2Client - Scoped
The SCIM2Client API provides methods that call the System for Cross-domain Identity Management (SCIM) Provider (server role) to create, update, or delete data in a service provider (SP). - SCIM2ClientUtil - Scoped
The SCIM2ClientUtil API provides utility methods to obtain the unique identifiers of external provider systems and then use that information when calling the SCIM2Client API. - ScopedCacheManager - Scoped
The ScopedCacheManager API provides methods for retrieving, setting, and flushing cache data for scoped applications. - ScriptableDataStream - Scoped, Global
The ScriptableDataStream API provides methods to interact with a stream of data. - ScriptableFlowRunner - Scoped
Creates a builder object used to define parameters for flow, subflow, and action execution. You can specify a flow to execute in a particular domain. Start the flow, subflow, or action execution directly from the builder and view the results in a ScriptableFlowRunnerResult object. - ScriptableFlowRunnerResult - Scoped
Captures the result of using ScriptableFlowRunner to execute a flow, subflow, or action. Includes data such as the context ID, domain, and any outputs from the flow execution. - ScriptableUriMatcher - Scoped, Global
Use the ScriptableUriMatcher API to verify URI matches. - SegmentHandle API - Scoped
Methods for handling a single instance of a segment, such as a header or item. This class is defined in the SegmentHandler script include. - SegmentHandler API - Scoped
Script include providing a chainable API for building an IDoc payload for a specific operation. - SentimentAnalyser - Scoped
The SentimentAnalyser script include provides methods to perform sentiment analysis on a string value. - SerialNumberManager - Global
The SerialNumberManager script include provides methods to manage the serial numbers for discovery devices. - ServiceRegistryQuery - Global
The ServiceRegistryQuery script include provides methods to map Shazzam service registry query results against a port probe. Child classes provide specifics on mapping. - ShazzamLaunch - Global
The ShazzamLaunch script include provides methods to handle the details of launching a Shazzam probe for a given discovery. - ShazzamResult - Global
The ShazzamResult script include provides methods to encapsulate a Shazzam result. - ShazzamScanner - Global
The ShazzamScanner script include provides methods to encapsulate a Shazzam scanner. - SimilaritySolution - Global
The SimilaritySolution API is a scriptable object used in Predictive Intelligence stores. - SimilaritySolutionStore - Global
Enables storing and retrieving solutions. - SimilaritySolutionVersion - Global
The SimilaritySolutionVersion API is a scriptable object used in Predictive Intelligence stores. - SkillDeterminationUtils - Scoped
The SkillDeterminationUtils script include provides utility methods to get or set work item skill data. - SLARepair - Global
The SLARepair script include provides methods that delete the existing SLAs and then recreates them from each task's history. - SLPServiceRegistryQuery - Global
The SLPServiceRegistryQuery script include provides methods to map Shazzam! SLP query results to port probes. - SMSPreferenceHandlerSNC - Scoped, Global
The SMSPreferenceHandler script include provides methods to manage short message service (SMS) configurations. - sn_erp_integration API - Scoped, Global
Script include providing a chainable API for interacting with Zero Copy Connector for ERP (Enterprise Resource Planning) models. - SNEventSenderProvider - Global
The SNEventSenderProvider API provides a method to instantiate an IEventSender instance. - SNMPGatherDocParts - Global
The SNMPGatherDocParts script include provides methods to handle the gathering of parts of an SNMP response document for JavaScript SNMP sensors. - SNMPNetworkInterfaces - Global
The SNMPNetworkInterfaces script include provides methods to create network interfaces for JavaScript SNMP sensors. - SNMPResponse - Global
The SNMPResponse script include provides methods to wrap an SNMP payload response instance with methods to safely and easily retrieve SNMP singleton fields or tables. - SOAPMessageV2 - Scoped, Global
The SOAPMessageV2 API provides methods to send an outbound SOAP message using JavaScript. - SOAPResponseV2 - Scoped, Global
The SOAPResponseV2 API provides methods that use the data returned by an outbound SOAP message in JavaScript code. - SPScriptedFacet - Scoped
Defines facet items, filters, or mapped queries for a facets object. - SPScriptedFacetService - Scoped
Generates a multi-choice or single-choice facets object for an advanced search source. - SPSEOUtilsSNC - Global
The SPSEOUtilsSNC script include provides utility methods that return human-readable URLs for a specific page, or for the current page, based on the transaction request. - SPWidgetAccessControl - Global
The SPWidgetAccessControl script include provides methods that allow administrators to check whether a provided table is granted public access to a widget and is securely accessed by an intended audience. - StandardCredentialsProvider - Scoped, Global
The StandardCredentialsProvider API provides methods to retrieve credential information. - StartDiscovery - Global
The StartDiscovery script include provides methods to start discovery jobs. - StateManagementScriptableApi - Global
The StateManagementScriptableApi provides a set of methods for manipulating configuration item (CI) operational states and applying CI actions. - Style - Scoped, Global
Creates a style for defining properties such font size, border, and alignment. You can apply the same style to multiple objects simultaneously. - Stream - Scoped, Global
The Stream API provides methods to interact with a stream of items such as records. For example, you can use the forEach() method to update the state of each record in a stream returned by the GlideQuery API. - Subflow - Scoped (deprecated)
The Subflow API provides methods to run published Workflow Studio subflows. - SummaryTableWriter - Global
The SummaryTableWriter script include enables the creation of summary sets for reports that can be generated with standard queries and trending. - SVGToPDFConversionAPI - Scoped, Global
The SVGToPDFConversionAPI provides methods that enable the adding of an SVG to a PDF and converting an SVG to PDF. - SystemDocument - Scoped, Global
The SystemDocument API provides methods for setting fields of a record in the Documents [ds_document] table. - SystemDocumentList - Scoped, Global
The SystemDocumentList API provides methods for setting the record fields in the Document Lists [ds_document_lists] table. - SystemDocumentListEntry - Scoped, Global
The SystemDocumentListEntry API provides methods for setting the record fields in the Document List Entries [ds_document_list_entry] table. - SystemDocumentVersion - Scoped, Global
The SystemDocumentVersion API provides methods for setting the values of a document's source version in the Versions [ds_document_version] table. - Table - Scoped, Global
Creates a Table object to add to a PDF document. Defines the data to use in each cell and sets styles, margins, and alignment. - TableUtils - Global
The TableUtils script include provides shortcuts for accessing table related information. - TaskStateUtil - Global
The TaskStateUtil script include provides methods for working with task-type table state attributes. - TemplatePrinter - Scoped
The TemplatePrinter API provides methods to handle printing from a mail script to the email message. - TimelineSpan - Global
The TimelineSpan API provides methods to define a set of properties that describe the characteristics and interactive behavior of an element rendered within a time line item. - TMFTopicEventAPIUtilOOB - Scoped
TheTMFTopicEventAPIUtilOOBscript include contains functions to handle Event Notification Management Open API requests that are triggered by external trigger definitions to create, update, and delete events in the Event [em_event] table. - TopicAPIUtilsOOB - Scoped
The TopicAPIUtilsOOB script include provides methods that are used when processing the Event Management Topic Open API endpoint. - TopicSubscriptionUtilOOB - Scoped
The TopicSubscriptionUtilOOB script include provides methods to query and manipulate records in the Topic subscription [sn_api_notif_mgmt_topic_subscription] table. This class operates at the service layer and interacts with the Data Access Object (DAO) class. - TopicUtilOOB - Scoped
TheTopicUtilOOBscript include contains functions that enable you to query and manipulate records in the Topic [sn_api_notif_mgmt_topic] table. This class operates at the service layer that interacts with the Data Access Object (DAO) class. - Transformer - Scoped, Global
The Transformer API provides methods to parse and transform structured JSON or XML source content into structured key-value pair output, using a defined set of rules. - Transformer - Scoped, Global
The Transformer API manipulates time-series data to prepare the data for evaluation and analysis. - TransformerDefinition - Scoped, Global
The TransformerDefinition API provides methods to instantiate and manage the TransformerDefinition object, which associates a transformation rules list and a record path. - TransformerRuleList - Scoped, Global
The TransformerRuleList API enables you to create a list of rules for transforming various types of JSON and XML data into name-value pair output. - TransformPart - Scoped, Global
The TransformPart API provides methods to specify details of the transform to be done. - TransformResult - Scoped, Global
The TransformResult API provides methods that return the result of a transformation run on time-series data. - TroubleTicketNotificationUtilOOB - Scoped
The TroubleTicketNotificationUtilOOB script include provides methods used to define and generate the TMF-compliant payloads for trouble ticket notification events. - UniversalRequestUtilsSNC - Scoped
The UniversalRequestUtilsSNC API enables handling universal request life cycles. Provided as a script include record. - UniversalTaskUtils - Scoped, Global
The UniversalTaskUtils script include provides methods for managing universal tasks. - UPSHandler - Global
The UPSHandler script include provides methods to handle SNMP classification and identification for uninterruptible power supplies (UPSs). - UriMatcher - Scoped
Provides a method to check if a URI matches specified criteria for scheme, host, path, fragments, and presence of query parameters. - UriMatcherResponse - Scoped
Provides methods to return information about whether a URI matches specified criteria for scheme, host, path, fragments, and presence of query parameters. - UserCriteria - Scoped
The UserCriteria API provides methods to create, modify, and delete user criteria records using scripts. - UserSkillAnalyzer - Global
The UserSkillAnalyzer API provides methods to analyze user skills against skills required to complete work items. - UserSkillRanking - Global
The UserSkillRanking API provides methods to configure options for choosing the right user and getting a sorted list of qualified users based on number of matching skills and skill-level gap. - v_query – Scoped, Global
The v_query API provides methods to obtain information about a scriptable object that represents a query running against a remote table. - v_record - Scoped, Global
The v_record API enables you to sets an exception or error message on a remote table record. Remote tables allow you to retrieve data from external sources or from another instance with REST or SOAP services. - v_table – Scoped, Global
The v_table API provides methods to add rows to a remote table through a scriptable object. - VMUtils - Global
The VMUtils script include provides methods for discovery and provisioning of virtual machines. - VoiceTranscriptObject - Scoped
The VoiceTranscriptObject scriptable API provides methods to save third-party voice conversation transcript data to a table within a ServiceNow instance. - WalkWorkflow - Global
The WalkWorkflow script include provides methods to walk a workflow and return a list of successors for each activity along with a shortest path order that indicates the activity depth in the workflow. - WFActivityHandler - Global
The WFActivityHandler script include is the base class for all workflow activities. - WindowsOSNameHelper - Global
The WindowsOSNameHelper script include provides methods to handle the formatting of Windows OS names. - Workflow - Global
The Workflow script include provides methods that interface with the Workflow engine. - Workflow - Scoped
The scoped Workflow API provides methods that can be used in an activity definition script. - WorkflowDuration - Global
The WorkflowDuration script include provides methods to calculates the duration (in seconds) based on the variables of a workflow activity. It is an interface between Workflow Timer() and DurationCalculator(). - WorkflowModelManager - Global
The WorkflowModelManager script include provides methods to query the workflow model, to step backwards and forwards between specified workflow history items, and to query the history for activity and transition-specific information. - WorkflowModelManagerAjax - Global
The WorkflowModelManagerAjax script include provides an AjaxProcessor wrapper for the WorkflowModelManager script include. This class derives from AbstractAjaxProcessor. - WorkflowScheduler - Global
The WorkflowScheduler script include provides a method to start a workflow. - WorkflowTimeline - Global
The WorkflowTimeline script include provides methods to generate a view that shows a workflow context on the timeline. - XMLDocument2 - Scoped, Global
The XMLDocument2 API is a JavaScript object wrapper for parsing and extracting XML data from an XML string. - XMLNode - Scoped, Global
The XMLNode API provides methods to query values from XML nodes. XMLNodes are extracted from XMLDocument2 objects, which contain XML strings. - XMLNodeIterator - Scoped
The XMLNodeIterator API provides methods to iterate through a node of a XML document. - XMLStreamingAPI - Scoped
Builds a large streaming XML payload for use in a REST or SOAP request to send bulk data to a third-party API. You can also create the payload as an XML string for a non-streaming option. - XMLStreamingBuilder - Scoped
Creates a builder object to build a large XML payload for use in a REST or SOAP request to send bulk data to a third-party API. You can also create the payload as an XML string for a non-streaming option. - XMLUtilJS - Global
The XMLUtilJS script include provides XML utility methods for JavaScript to be used with Discovery scripts.
Parent Topic:API reference