Developer Guides
markdown/api-reference/developer-guides · 97 files
markdown/api-reference/developer-guides · 97 files
| Name | Size |
|---|---|
Client GlideList API in the Workspace Experience UI Developer Guide add-api-glide.md Add a custom button to the Agent Workspace Lists page that returns list information in the current view. Define the information to return by adding client GlideList API methods to an action assignment. | 3.8 KB |
Alarm Management Open API Developer Guide alarm-mgmt_dev-guide.md Use the Alarm Management Open API to create and update data in the Events [em_event] table. | 7.3 KB |
AP Invoice API Developer Guide apInvoice-dev-guide.md This developer guide describes how to define custom invoice fields that aren’t provided by default with the AP Invoice API for Accounts Payable Invoice Processing. Instructions are also provided for setting authentication when using cXML as the payload. | 9.8 KB |
Run UI Test Script Developer Guide c_run_ui_test_script.md The Run UI Test Script test step runs a client-side test script in the browser to drive and verify the user interface with no server-side execution needed. Use this step to automate multi-step UI journeys on both classic and Now Experience pages, like navigating, filling fields, clicking, impersonating users, uploading attachments, and asserting page state. | 6.4 KB |
Customizing TSOM connector behavior with extension points customize-TSOM-connector-dev-guide.md Learn how to use extension points to extend ServiceNow Telecommunications Service Operations Management (TSOM) connector behavior without modifying any default code. | 62.7 KB |
Developer guides developer-guides.md These developer guides can help you integrate your applications with the ServiceNow AI Platform. | 6.0 KB |
Event Notification Management Open API Developer Guide event-mgmt-notif_dev-guide.md Use the Event Notification Management Open API to create, update, and delete event records in the Events [em_event] table. | 9.7 KB |
Create outbound Order Management notifications using the open message bus eventMgmtNotif-use-open-mssg-bus.md Learn how to produce an outbound notification from a ServiceNow instance using the open message bus. Customers can consume the details of the notification from the message bus in their external system. | 3.3 KB |
GlideGeoPoint Developer Guide geopoint-dev-guide.md The GlideGeoPoint developer guide contains information about how to compute distances between latitude and longitude values (geopoints), return locations within given geopoint and radius values, and use additional functionality provided by supported GlideGeoPoint API functions. | 10.8 KB |
Add a default push registration mobsdk-and-add-default-push-reg.md Register the push notification so that all users of your application receive the push notifications by default. | 1.3 KB |
Add a push application record mobsdk-and-add-push-app.md You must enter your Google Firebase Cloud Messaging server key in your push application record to use push notifications in a Mobile SDK application that leverages Virtual Agent and push notifications. | 1.5 KB |
Add a push notification message content record mobsdk-and-add-push-msg-content.md The push notification message content record contains the location users are directed to when they tap on a notification, as well as the appearance and layout of the notification. | 2.6 KB |
Add a push notification message mobsdk-and-add-push-notif-msg.md Configure the message displayed to users when they receive their push notification. | 1.7 KB |
Pass NowChatConfiguration to modify the behavior of NowChat mobsdk-and-chat_options.md You can pass an optional NowChatConfiguration parameter when starting a chat session to modify some of the behavior of NowChat. | 3.7 KB |
Use NowUIColoring to theme NowWebTheme and NowChatTheme mobsdk-and-color-theming.md The NowUIColoring interface contains all the colors used by all NowSDK modules. | 3.4 KB |
Configure return results data mobsdk-and-config_results_returned.md Within the Mobile SDK, when interacting with data from a ServiceNow instance through a REST endpoint, you can configure what data is passed back in the return results. | 5.8 KB |
Configure certificate and create an OAuth Entity mobsdk-and-config-certificate.md You must configure your ServiceNow instance to accept and exchange a JSON Web Token (JWT) for an OAuth access token. To enable this functionality you must install a certificate that matches the JWT provider’s private key on the ServiceNow instance that you will use as the JWT Token consumer and create an OAuth Entity on that instance. | 3.0 KB |
Configure guest user access mobsdk-and-config-guest-access.md To enable SDK services to be accessible by unauthenticated users, you must configure the Mobile SDK on your ServiceNow instance to allow guest user access. A guest user can view public web pages hosted in an instance using NowWeb, have a conversation as a guest using NowChat, access public data on the instance using NowTableService and NowGraphQLService, and access custom API services configured for unauthenticated users using NowAPIService. | 1.9 KB |
Configure your project mobsdk-and-config-project.md Before writing any application that leverages the Mobile SDK for Android, you must configure your project to use the SDK. | 947 B |
Display web pages hosted on your ServiceNow instance mobsdk-and-display-web-pages.md You can display web pages hosted within your ServiceNow instance in your native Android application. | 4.7 KB |
Download and install the Mobile SDK library mobsdk-and-down-install-sdk.md Before you can create mobile applications that interact with your ServiceNow instance, you must first download and install the ServiceNow Mobile SDK Android library. | 4.8 KB |
Get started with Mobile SDK - Android mobsdk-and-get-started.md You must complete the tasks outlined in this section to prepare your development environment to support writing Android applications that integrate with the ServiceNow Mobile SDK. | 2.0 KB |
Implement Virtual and Live Agent chat mobsdk-and-imp-chat.md The Mobile SDK enables you to easily implement Virtual and Live Agent chat services within your Android application. | 4.1 KB |
Initialize the NowSDK in your application mobsdk-and-init-nowsdk-in-app.md In order to use the Mobile SDK in your application, you need to perform SDK initialization, authorization, and logging. | 3.0 KB |
Install and configure the Mobile SDK scoped application mobsdk-and-install_config-sdk_plugin.md Before writing any application that leverages the Mobile SDK, you must install and configure the Mobile SDK scoped application. | 6.6 KB |
Interact with table data in a ServiceNow instance mobsdk-and-interact_data_instance.md The Mobile SDK enables you to interact with data in tables that reside on your ServiceNow instance. You can interact with this data through the ServiceNow REST Table API using the NowTableService() API that directly calls the REST interface, or through the NowGraphQLService() API that executes a specified GraphQL query against the REST GraphQL API. | 6.7 KB |
Interact with the public REST API on a ServiceNow instance mobsdk-and-interact-rest_api.md The Mobile SDK provides functionality that enables Android applications to call the public REST API on a ServiceNow instance. | 3.5 KB |
Modify the push notification mobsdk-and-mod-push-not.md Modify the Virtual Agent Message Push Notification record to include your application. This record is used to trigger notifications to the Virtual Agent. All applications that will push notifications to the Virtual Agent must be configured in this record. | 1.7 KB |
NowSDK architecture mobsdk-and-nowsdk-arch.md The NowSDK is the top-level entity of the Mobile SDK class framework. | 6.9 KB |
Embed an AI voice agent with NowVoice mobsdk-and-nowvoice.md Use the NowVoice module to embed a real-time AI voice agent session into your Android application. | 9.7 KB |
Mobile SDK Developer Guide - Android mobsdk-and-overview.md The ServiceNow Mobile SDK enables you to leverage the functionality and resources of the ServiceNow platform within your standalone mobile Android applications. | 2.0 KB |
Paginate return results record sets mobsdk-and-paginate_return_records.md Within the Mobile SDK, when interacting with data from a ServiceNow instance through a REST endpoint using the NowTableService, you can create a Paginator object that enables you to iterate over the records in the return results. | 2.9 KB |
Configure push notifications mobsdk-and-push-notification.md Push notifications enable the sending of unsolicited messages (notifications) from a ServiceNow instance to a specific registered user and an application that leverages the ServiceNow Mobile SDK framework. | 1.1 KB |
Retrieve attachments and attachment metadata mobsdk-and-retrieve_attach_metadata.md The NowAttachmentService API enables you to perform CRUD operations on attachments and retrieve attachment metadata from your ServiceNow instance. | 5.7 KB |
Retrieve the Firebase push server key mobsdk-and-retrieve-firebase-key.md You must retrieve your unique Google Firebase push server key from your Firebase account so that you can associate it to your Mobile SDK applications that leverage push notifications. | 1.8 KB |
Setting up push notifications in your Android application mobsdk-and-setup-push-app.md In addition to the tasks that you must perform on your ServiceNow instance to configure a push notification, you must also include specific code in your Android application. | 6.2 KB |
Setting up push notifications on your ServiceNow instance mobsdk-and-setup-push-instance.md For each Mobile SDK application that incorporates the Virtual Agent service and leverages push notifications, you must complete the following configuration process on your ServiceNow instance. | 1.4 KB |
Configure field write options mobsdk-and-write_options.md Within the Mobile SDK, when writing data to a ServiceNow instance through a REST endpoint, you can define field write options. | 1.4 KB |
Configure guest user access mobsdk-config-guest-access.md To enable SDK services to be accessible by unauthenticated users, you must configure the Mobile SDK on your ServiceNow instance to allow guest user access. A guest user can view public web pages hosted in an instance using NowWeb, have a conversation as a guest using NowChat, access public data on the instance using NowTableService and NowGraphQLService, and access custom API services configured for unauthenticated users using NowAPIService. | 1.9 KB |
Add a push certificate record mobsdk-ios-add_push_cert.md After generating your iOS push certificate, you must save the push certificate record to your instance. The push certificate is stored in the X.509 Certificate [sys_certificate] table. | 2.6 KB |
Add a default push registration mobsdk-ios-add-default-push-reg.md Register the push notification so that all users of your application receive the push notifications by default. | 1.3 KB |
Add a push application record mobsdk-ios-add-push-app.md You must create a push application record and enter your Apple Push Notification certificate in that record to use push notifications in a Mobile SDK application that leverages Virtual Agent and push notifications. | 1.5 KB |
Add a push notification message content record mobsdk-ios-add-push-msg-content.md The push notification message content record contains the location users are directed to when they tap on a notification, as well as the appearance and layout of the notification. | 2.6 KB |
Add a push notification message mobsdk-ios-add-push-notif-msg.md Configure the message displayed to users when they receive their push notification. | 1.7 KB |
Archive your application for publishing mobsdk-ios-archiving-app.md It is important to disable rebuild from bitcode when archiving your application for publication for release. | 997 B |
Configure return results data mobsdk-ios-config_results_returned.md Within the Mobile SDK, when interacting with data from a ServiceNow instance through a REST endpoint, you can configure what data is passed back in the return results. | 7.6 KB |
Configure certificate and create an OAuth Entity mobsdk-ios-config-certificate.md You must configure your ServiceNow instance to accept and exchange a JSON Web Token (JWT) for an OAuth access token. To enable this functionality you must install a certificate that matches the JWT provider’s private key on the ServiceNow instance that you will use as the JWT Token consumer and create an OAuth Entity on that instance. | 3.0 KB |
Configure your project mobsdk-ios-config-project.md Before writing any application that leverages the Mobile SDK for iOS, you must configure your project to use the SDK. | 2.3 KB |
Display web pages hosted on your ServiceNow instance mobsdk-ios-display-web-pages.md You can display web pages hosted within your ServiceNow instance in your native iOS application. | 5.7 KB |
Download and install the Mobile SDK libraries mobsdk-ios-down-install-sdk-libs.md Before you are able to create mobile applications that interact with your ServiceNow instance, you must first download and install the ServiceNow Mobile SDK libraries. | 2.8 KB |
Get started with Mobile SDK - iOS mobsdk-ios-get-started.md You must complete the tasks outlined in this section to prepare your development environment to support writing iOS applications that integrate with the ServiceNow Mobile SDK. | 2.2 KB |
Implement Virtual and Live Agent chat mobsdk-ios-imp-chat.md The Mobile SDK enables you to easily implement Virtual and Live Agent chat services within your iOS application. | 3.2 KB |
Initialize the NowSDK in your application mobsdk-ios-init-nowsdk-in-app.md To access the functionality provided by the NowSDK, you must first initialize the NowSDK in your application. | 4.0 KB |
Install and configure the Mobile SDK scoped application mobsdk-ios-install_config-sdk_plugin.md Before writing any application that leverages the Mobile SDK, you must install and configure the Mobile SDK scoped application. | 6.6 KB |
Interact with table data in a ServiceNow instance mobsdk-ios-interact_data_instance.md The Mobile SDK enables you to interact with data in tables that reside on your ServiceNow instance. You can interact with this data through the ServiceNow REST Table API using the NowTableService() API that directly calls the REST interface, or through the NowGraphQLService() API that executes a specified GraphQL query against the REST GraphQL API. | 8.5 KB |
Interact with the public REST API on a ServiceNow instance mobsdk-ios-interact-rest_api.md The Mobile SDK provides functionality that enables iOS applications to call the public REST API on a ServiceNow instance. | 1.2 KB |
Modify the push notification mobsdk-ios-mod-push-not.md Modify the Virtual Agent Message Push Notification record to include your application. This record is used to trigger notifications to the Virtual Agent. All applications that will push notifications to the Virtual Agent must be configured in this record. | 1.7 KB |
NowSDK architecture mobsdk-ios-nowsdk-arch.md The NowSDK is the top-level entity of the Mobile SDK class framework. | 5.9 KB |
Embed an AI voice agent with NowVoice mobsdk-ios-nowvoice.md Use the NowVoice module to embed a real-time AI voice agent session into your iOS application. | 12.3 KB |
Mobile SDK Developer Guide - iOS mobsdk-ios-overview.md The ServiceNow Mobile SDK enables you to leverage the functionality and resources of the ServiceNow platform within your standalone mobile iOS applications. | 1.9 KB |
Paginate return results record sets mobsdk-ios-paginate_return_records.md Within the Mobile SDK, when interacting with data from a ServiceNow instance through a REST endpoint using the NowTableService, you can create a Paginator object that enables you to iterate over the records in the return results. | 4.2 KB |
Passing context variables to Live Agent and Virtual Agent chat mobsdk-ios-pass-con-variables.md You can pass chat context variables when starting a chat session by passing the contextData parameter. | 4.9 KB |
Configure push notifications mobsdk-ios-push-notification.md Push notifications enable the sending of unsolicited messages (notifications) from a ServiceNow instance to a specific registered user and an application that leverages the ServiceNow Mobile SDK framework. | 1.1 KB |
Retrieve attachments and attachment metadata mobsdk-ios-retrieve_attach_metadata.md The NowAttachmentService API enables you to perform CRUD operations on attachments and retrieve attachment metadata from your ServiceNow instance. | 5.1 KB |
Generate and retrieve an iOS push certificate mobsdk-ios-retrieve-apple-cert.md You must retrieve your unique iOS push certificate from your Apple Developer account so that you can associate it to your Mobile SDK applications that leverage push notifications. | 2.2 KB |
Setting up push notifications in your iOS application mobsdk-ios-setup-push-app.md In addition to the tasks that you must perform on your ServiceNow instance to configure a push notification, you must also include specific code in your iOS application. | 5.1 KB |
Setting up push notifications on your ServiceNow instance mobsdk-ios-setup-push-instance.md For each Mobile SDK application that incorporates the Virtual Agent service and leverages push notifications, you must complete the following configuration process on your ServiceNow instance. | 1.4 KB |
Transform data mobsdk-ios-transform_data.md The NowData framework provides the ability to easily transform data into records. | 1.5 KB |
Use NowUIColoring to create themes mobsdk-ios-use_nowUIcoloring.md Use NowUIColoring to create themes with NowWebThemeable, NowChatThemeable, and NowVoiceThemeable. The NowUIColoring interface contains all the colors used by all NowSDK modules. | 2.8 KB |
Work with coders and Codable models mobsdk-ios-work-coder-codable_mod.md The iOS implementation of the Mobile SDK provides the additional functionality of coders and Codable models. | 2.3 KB |
Configure field write options mobsdk-ios-write_options.md Within the Mobile SDK, when writing data to a ServiceNow instance through a REST endpoint, you can define field write options. | 1.4 KB |
Configure tables to work with guests modsdk-and-config-guests.md If you want guest users to be able to interact with data within a table on your ServiceNow instance, you must configure the table to be guest accessible. | 2.9 KB |
Add a business rule for a new Order Management event orderMgmt-add-business-rule.md Learn how to configure business rules on a ServiceNow instance to recognize new Order Management events and push them into the notification system. | 3.1 KB |
Add a business rule for a new trouble ticket event prd_evt_not-dev_gd-add_bus_rule.md When adding a new trouble ticket event to your implementation, you must add a business rule to your ServiceNow instance. | 2.5 KB |
Configure trouble ticket notifications using the Producer Event Notification Framework prd_evt_not-dev_gd-cfg_trbl_tkt_not.md The base implementation of trouble ticket notification includes a set of trouble ticket events to demonstrate the capabilities of the system. | 2.5 KB |
Generate the payload for a new trouble ticket event prd_evt_not-dev_gd-gen_evt_pay.md When adding a trouble ticket event to your implementation, you must create a function that generates the required TMF-compliant payload for that event type. In addition, you must add that function to the case statement that directs the logic to this function when processing this type of event record. | 4.8 KB |
Modify a trouble ticket event payload prd_evt_not-dev_gd-mod-evt-pay.md The base trouble ticket event notification implementation provides multiple default trouble ticket event type examples. You may need to alter the payloads for these events within your implementation to meet your actual needs. You may also need to configure the payload for any new trouble ticket events that you add to your implementation. | 3.1 KB |
Configure the Producer Event Notification Framework to use the Hermes Messaging Service prod_evt_not-dev_gd-cfg_herm_bus.md If you are using the Hermes Messaging Service in your instance, you must configure the Producer Event Notification Framework for the Kafka message-bus. | 7.2 KB |
Configure the Producer Event Notification Framework to use the Open Message Bus prod_evt_not-dev_gd-cfg_open_bus.md If you have deployed or plan to deploy the Open Message Bus in your instance, you must configure the Producer Event Notification Framework for this message-bus. You can deploy this message-bus for both cloud and on-premise instances. | 4.3 KB |
Override Event Management Topic Open API functionality prod_evt_not-dev_gd-over_evt_top.md The Event Management Topic Open API enables you to save topic records in the Topic [sn_api_notif_mgmt_topic] table after validating the topic payload. | 5.1 KB |
Producer Event Notification Framework developer guide prod_evt_not-dev_guide-overview.md The Producer Event Notification Framework for Telecommunications, Media, and Technology enables the external distribution of events, such as trouble tickets, using a message-bus implemented in your network. | 6.0 KB |
Product Order Open API Developer Guide product-order_dev-guide.md Use the Product Order Open API to create, update, and retrieve product order information. | 7.6 KB |
UI Test Script examples r_run_ui_test_script_examples.md Reference example scripts to use in a Run UI Test Script step. | 7.4 KB |
expect — assertions r_run_ui_test_script_expect.md The expect API makes assertions about elements or values in a Run UI Test Script step. Pass a DOM element for element-specific matchers, or pass any other value for value matchers. | 3.1 KB |
Script helper functions r_run_ui_test_script_helpers.md A Run UI Test Script step provides 4 global helper functions for polling, scoping queries, and reading data from other parts of the test: waitFor, within, steps, and params. | 3.9 KB |
Element predicates r_run_ui_test_script_predicates.md Element predicates are synchronous Boolean checks available in a Run UI Test Script step. Use them inside .find() or .filter() callbacks to pick one element from a list based on its state. | 2.2 KB |
screen — DOM queries r_run_ui_test_script_screen.md The screen API is the primary interface for finding elements on the page tested by a Run UI Test Script step. All query methods pierce shadow roots automatically, so they work with Now Experience components as well as classic Jelly and UI16 pages. | 4.0 KB |
sn_atf — utility APIs r_run_ui_test_script_sn_atf.md The sn_atf API provides utility methods for a Run UI Test Script step: navigation, page evaluation, impersonation, file uploads, and shadow-DOM utilities. | 5.8 KB |
Troubleshooting r_run_ui_test_script_troubleshooting.md Resolve common issues with the Run UI Test Script step, including reference errors, elements that aren't found, step timeouts, comparison failures, and impersonation failures. | 4.3 KB |
user — user interactions r_run_ui_test_script_user.md The user API simulates realistic user interactions in a Run UI Test Script step. Each interaction fires the same events a real browser user produces, such as focus, input, change, blur, and keyboard events, so that client scripts and reactive frameworks respond correctly. | 2.4 KB |
Run the UI Test Script r_run_ui_test_script.md Learn how to use the Run UI Test Script step to navigate to records, fill fields, click buttons, impersonate users, upload attachments, and assert UI state on classic and Now Experience pages. | 4.2 KB |
Resource Inventory Open API Developer Guide resource-inventory-dev-guide.md Use the Resource Inventory Open API to create, retrieve, update, and delete resources such as interface cards, logical and physical connections, network sites, and more. | 2.7 KB |
ScopedCacheManager API Developer Guide scoped-caches.md Scoped caches allow customers to store custom data in memory for faster access, and define when it becomes invalidated. This can be useful when working with data takes longer to obtainthat from scratch, such as the results of a query across multiple tables. Use the ScopedCacheManager API to retrieve, set, and flush cache data for scoped applications. | 4.0 KB |
Service Order Open API Developer Guide service-order_dev-guide.md Use the Service Order Open API to create, update, and retrieve service order information. | 7.5 KB |
Synthetic Monitoring Developer Guide synth-monitor_dev-guide.md Use Synthetic Monitoring APIs create multiple synthetic monitors in a single operation. | 20.2 KB |
Trouble Ticket Open API Developer Guide trouble-ticket_dev-guide.md Use the Trouble Ticket Open API to manage ticket information between external ticketing systems and the ServiceNow AI Platform. This API creates, updates, and retrieves data from the Case [sn_customerservice_case] and Incident [incident] tables. | 9.8 KB |
Writing resilient tests: Query Selection and Debugging writing-reslient-ATF-tests.md Resilient automated tests are built by querying components semantically, through ARIA roles and accessible names, rather than relying on implementation details that teams can change at any time. | 3.7 KB |