ServiceNow Connection

ServiceNow Connection

This documentation is based on version 21.0.8091 of the connector.

Getting Started

Connecting to ServiceNow

Establishing a Connection shows how to authenticate to ServiceNow and configure any necessary connection properties in a JDBC URL. You can also configure driver capabilities through the available Connection properties, from data modeling to firewall traversal. The Advanced Settings section shows how to set up more advanced configurations and troubleshoot connection errors.

Connecting to JDBC Data Sources

The JDBC Driver for ServiceNow provides full support for integration into Java applications, including Eclipse, NetBeans, IntelliJ IDEA, and many other Integrated Development Environments, as well as J2EE applications running on a Java server such as Tomcat. You can find JSP, console, and swing demos in the installation folder.

Java Version Support

To deploy the driver JAR file, you must have Java Development Kit (JDK) 1.6 or higher installed on your system.

ServiceNow Version Support

The driver models ServiceNow APIs as bidirectional tables. The SOAP API is used to resolve the metadata from ServiceNow. The REST API is then used to work with data.

See Also

Establishing a Connection

Creating a JDBC Data Source

You can create a JDBC data source to connect from your Java application. Creating a JDBC data source based on the JDBC Driver for ServiceNow consists of three basic steps:

  • Add the driver JAR file to the classpath. The JAR file is located in the lib subfolder of the installation directory. Note that the .lic file must be located in the same folder as the JAR file.
  • Provide the driver class. For example:
    cdata.jdbc.servicenow.ServiceNowDriver
  • Provide the JDBC URL. For example:
    jdbc:servicenow:InitiateOAuth=GETANDREFRESH;OAuthClientId=MyClientId;OAuthClientSecret=MyClientSecret;User=MyUser;Password=MyPassword;Url=https://MyInstance12345.service-now.com/;
    
    or
    
    jdbc:cdata:servicenow:InitiateOAuth=GETANDREFRESH;OAuthClientId=MyClientId;OAuthClientSecret=MyClientSecret;User=MyUser;Password=MyPassword;Url=https://MyInstance12345.service-now.com/;

    The second format above can be used whenever there is a conflict in your application between drivers using the same URL format to ensure you are using the driver. The URL must start with either "jdbc:servicenow:" or "jdbc:cdata:servicenow:" and can include any of the connection properties in name-value pairs separated with semicolons.

Connecting to ServiceNow

Before you can connect to data, you will need to ensure the authenticating user has the following permissions assigned at minimum, required for listing metadata. Before you can do this, the administrator of the account must elevate their role by navigating to User menu -> Elevate Roles -> check the security_admin box -> OK. For the tables listed below, the user must have both row-level permission, such as sys_db_object, as well as field-level permission, such as sys_db_object.*. For additional tables which the user wishes to access, they must have at least row-level permission.

The connection property URL is a required property on all connections.

READ sys_db_object

Access to sys_db_object is required to connect to data. You can enable access to this as follows:

  1. Navigate to the System Security -> Access Controls (ACL). Select New to create an access control object.
  2. For Type, select record.
  3. For Operation, select read.
  4. For Name, select Table [sys_db_object] in the first drop-down and --None-- in the second drop-down.
  5. In the Requires role section, double-click the text box that says Insert a new row.... Search for and select your desired role.
  6. Click Submit to create the ACL object.
  7. Assign the role which has the created ACL to the authenticating user. To do this, navigate to User Administration -> Users -> Select authenticating user -> Roles -> Edit... -> add your role from collection.

READ sys_glide_object

Access to the sys_glide_object is required for certain ServiceNow table metadata. You can enable access to this by repeating the above procedure, but instead selecting Field class [sys_glide_object] for the ACL's name.

READ sys_dictionary

Access to sys_dictionary is required to retrieve schema information from ServiceNow. You can enable access to this by navigating to User Administration -> Users -> Select authenticating user -> Roles -> Edit... -> add "personalize_dictionary" role from collection.

Authenticating to ServiceNow

Authenticate using Basic Authentication

In order to authenticate using Basic Authentication you will need to provide your ServiceNow User and Password.

After setting the following connection properties, you are ready to connect:

  1. AuthScheme: Set this to BASIC.
  2. User: Set this to your username.
  3. Password: Set this to your password.
  4. URL: Set this to the base URL of your ServiceNow instance site. For example: https://MyInstance12345.service-now.com/.
  5. InitiateOAuth: Set this to OFF to avoid entering the OAuth Authorization process.

Using OAuth

ServiceNow uses the OAuth 2.0 authentication standard. To authenticate using OAuth, you will need to register an OAuth app with ServiceNow to obtain the OAuthClientId and OAuthClientSecret. In addition to the OAuth values, you will need to specify the URL, User, and Password.

For more information about connecting via OAuth authentication, refer to our Using OAuth Authentication guide.

Authenticating with ADFS

Set the AuthScheme to ADFS. The following connection properties need to be set:

  • User: Set this to the ADFS user.
  • Password: Set this to ADFS password for the user.
  • SSOLoginURL: Set this to the login URL used by the SSO provider.

The following SSOProperties are needed to authenticate to ADFS:

  • RelyingParty: This attribute is the value of the Relying Party Identifier on the ADFS server for ServiceNow.

Below is an example connection string:

AuthScheme=ADFS;User=username;Password=password;SSOLoginURL='https://sts.company.com';SSOProperties='RelyingParty=https://saml.service-now.com';Url=https://MyInstance12345.service-now.com/;

ADFS Integrated

The ADFS Integrated flow indicates you are connecting with the currently logged in Windows user credentials. To use the ADFS Integrated flow, simply do not specify the User and Password, but otherwise follow the same steps in the ADFS guide above.

Authenticating with Okta

Set the AuthScheme to Okta. The following connection properties are used to connect to Okta:

  • User: Set this to the Okta user.
  • Password: Set this to Okta password for the user.
  • SSOLoginURL: Set this to the login URL used by the SSO provider.

The following SSOProperties are needed to authenticate to Okta:

  • APIToken (optional): Set this to the API Token that the customer created from the Okta org. It should be used when authenticating a user via a trusted application or proxy that overrides OKTA client request context.
  • MFAType (optional): Set this only in case you have configured MFA flow. Currently we support only the follwoing types: OktaVerify,Email and SMS.
  • MFAPassCode (optional): Set this only in case you have configured MFA flow. If this is set to empty/invalid the driver will initially issue a MFA challenge which will trigger the platform to send you an one-time password on your device or email, based on the configured MFA type. You need to re-issue another connection where the retrieved one-time password value is passed to MFAPassCode connection property.

The following is an example connection string:

AuthScheme=Okta;SSOLoginURL='https://example.okta.com/home/appType/0bg4ivz6cJRZgCz5d6/46';User=oktaUserName;Password=oktaPassword;Url=https://MyInstance12345.service-now.com/;

Authenticating with OneLogin

Set the AuthScheme to OneLogin. The following connection properties are used to connect to OneLogin:

  • User: Set this to the OneLogin user.
  • Password: Set this to OneLogin password for the user.

The following SSOProperties are needed to authenticate to OneLogin:

  • OAuthClientId: Set to the OAuthClientId, which can be obtained by selecting Developers > API Credentials > Credential > ClientId.
  • OAuthClientSecret: Set to the OAuthClientSecret, which can be obtained by selecting Developers > API Credentials > Credential > ClientSecret.
  • Subdomain: Set to the subdomain of the OneLogin user accessing the SSO app. For example, if your OneLogin URL is splinkly.onelogin.com, enter splinkly as the subdomain value.
  • AppId: Set to the ID of the SSO app.
  • Region (optional): Set to the region your OneLogin account resides in. The OneLogin API operates in multiple regions and this property is used to find the correct domain. It can take one of the following values:
    • US (default)
    • EU

The following is an example connection string: The following connection string uses an API key to connect to OneLogin:

AuthScheme=OneLogin;User=OneLoginUserName;Password=OneLoginPassword;SSOProperties='OAuthClientID=3fc8394584f153ce3b7924d9cd4f686443a52b;OAuthClientSecret=ca9257fd5cc3277abb5818cea28c06fe9b3b285d73d06;Subdomain=OneLoginSubDomain;AppId=1433920';Url=https://MyInstance12345.service-now.com/;

Authenticating with PingFederate

Set the AuthScheme to PingFederate. The following connection properties need to be set:

  • User: Set this to the PingFederate user.
  • Password: Set this to PingFederate password for the user.
  • SSOLoginURL: Set this to the login URL used by the SSO provider.

The following SSOProperties are needed to authenticate to PingFederate:

  • AuthScheme (optional): The authorization scheme to be used for the IdP endpoint. The allowed values for this IdP are None or Basic.

Additionally, you can use the following SSOProperties to configure mutual SSL authentication for SSOLoginURL, the WS-Trust STS endpoint:

  • SSLClientCert
  • SSLClientCertType
  • SSLClientCertSubject
  • SSLClientCertPassword

Below is an example connection string:

AuthScheme=PingFederate;URL='https://dev103586.service-now.com';SSOLoginUrl='https://mycustomserver.com:9033/idp/sts.wst';User=admin;Password=PassValue123;

Building the JDBC URL

Building the JDBC URL

Connection strings provide information about a data source and how to connect to that data source. The driver comes with a connection string builder that makes it easier to create and manage the contents of connection strings.

After downloading and installing the driver, double-click the .jar file in the lib folder. You can also manually run the .jar file, as shown in the following examples.

From Windows:

java -jar 'C:\Program Files\ JDBC Driver for ServiceNow 2021\lib\cdata.jdbc.servicenow.jar'

From macOS:

java -jar cdata.jdbc.servicenow.jar

Running the .jar file opens the Connection Properties dialog box. You can use this dialog box to build and test a connection string. Click Test Connection to test and validate the entered connection properties. Click Copy to Clipboard to copy the connection string for use within the application where the JDBC driver is being used. See the help documentation for more information about the connection string options.

Using OAuth Authentication

OAuth requires the authenticating user to interact with ServiceNow using the browser. The driver facilitates this in various ways as described below.

Custom Credentials

You need to register an app to obtain the OAuthClientId and OAuthClientSecret.

Web Applications

You need to create an OAuth app to use in the web flow. See Creating a Custom OAuth App for the procedure.

Desktop Applications

You need to create an OAuth app. See Creating a Custom OAuth App for the procedure.

Headless Machines

In the headless OAuth flow, users need to authenticate via a browser on another machine. You need to create a custom OAuth app. See Creating a Custom OAuth App for the procedure.

Creating a Custom OAuth App

See Creating a Custom OAuth App for the procedure.

Custom Credentials

OAuth requires the authenticating user to interact with ServiceNow using the browser. The driver facilitates this in various ways as described below.

Authenticate to ServiceNow from a Desktop Application or Web Application

Authenticate to ServiceNow using the OAuth PASSWORD grant

After setting the following connection properties, you are ready to connect:

  • OAuthGrantType: Set this to PASSWORD.
  • AuthScheme: Set this to OAUTH.
  • InitiateOAuth: Set this to GETANDREFRESH for a Desktop Application and REFRESH for a Web Application. You can use InitiateOAuth to avoid repeating the OAuth exchange and manually setting the OAuthAccessToken connection property.
  • OAuthClientId: Set this to the Client ID in your app settings.
  • OAuthClientSecret: Set this to the Client Secret in your app settings.
  • User: Set this to your username.
  • Password: Set this to your password.
  • URL: Set this to the base URL of your ServiceNow instance site. For example: https://MyInstance12345.service-now.com/.

When you connect the driver then completes the OAuth process:

  1. Extracts the access token from the response and authenticates requests.
  2. Refreshes the access token when it expires.
  3. Saves OAuth values in OAuthSettingsLocation to be persisted across connections.

Authenticate to ServiceNow using the OAuth CODE grant

To obtain the access token and refresh token, when connecting via a web application, or if the driver is not authorized to open a browser window, you need to exchange temporary verification values for the access token. In another machine do the following:

  1. OAuthGrantType: Set this to CODE.
  2. OAuthClientId: Set this to the Client ID in your app settings.
  3. OAuthClientSecret: Set this to the Client Secret in your app settings.
  4. URL: Set this to the base URL of your ServiceNow instance site. For example: https://MyInstance12345.service-now.com/.
  5. Call GetOAuthAuthorizationURL, for example, EXEC GetOAuthAuthorizationURL CallbackURL = 'http://localhost:33333'. The CallbackURL must match the Redirect URI you have set in your Custom OAuth App. The stored procedure* returns the URL to the OAuth endpoint.
  6. Log in and authorize the application. You are redirected back to the callback URL. The callback URL contains the verifier code in the query string parameter named "code". Extract the verifier code and call GetOAuthAccessToken, for example, EXEC GetOAuthAccessToken CallbackURL = 'http://localhost:33333', Authmode = 'WEB', Verifier = 'KG1tAuc13DlyLUk7VcqvfkrICtLEMnWgcNMAv20kj4Qum_X47kx1MGUjaF8qFBTR36vSgZlc1_kjLAYq1D9ixg'.

To connect to data, set the following connection properties:

  • OAuthGrantType: Set this to CODE.
  • OAuthClientId: Set this to the Client ID in your app settings.
  • OAuthClientSecret: Set this to the Client Secret in your app settings.
  • URL: Set this to the base URL of your ServiceNow instance site. For example: https://MyInstance12345.service-now.com/.
  • OAuthAccessToken: Set this to the value that you got from calling GetOAuthAccessToken.

To make the driver automatically refresh the access token when it expires, set InitiateOAuth to REFRESH and set OAuthRefreshToken. Alternatively, set InitiateOAuth to OFF and call the RefreshOAuthAccessToken stored procedure* when the access token expires. Given a refresh token as input, the procedure returns a valid OAuth access token.

Headless Machines

Using OAuth on a Headless Machine

The following sections show how to authenticate a headless server or another machine on which the driver cannot open a browser. You can authenticate with a user account or with a service account.
Note: Authenticating with the OAuth Password grant on a headless machine is the same process as explained in Custom Credentials

Authenticate with a User Account

To authenticate with a user account, you need to authenticate from another machine. Authentication is a two-step process.
  1. Instead of installing the driver on another machine, you can follow the steps below to obtain the OAuthVerifier value. Or, you can install the driver on another machine and transfer the OAuth authentication values, after you authenticate through the usual browser-based flow.
  2. You can then configure the driver to automatically refresh the access token from the headless machine.
You can follow the headless OAuth authentication flow using the OAuth credentials from Creating a Custom OAuth App.

Obtain a Verifier Code

Set the following properties on the headless machine:

  • OAuthGrantType: Set this to CODE.
  • InitiateOAuth: Set this to OFF.
  • OAuthClientId: Set this to the Client ID in your app settings.
  • OAuthClientSecret: Set this to the Client Secret in your app settings.
  • URL: Set this to the base URL of your ServiceNow instance site.

You can then follow the steps below to authenticate from another machine and obtain the OAuthVerifier connection property.

  1. Call the GetOAuthAuthorizationURL stored procedure* with the CallbackURL input parameter set to the exact Redirect URI you specified in your app settings.
  2. Open the returned URL in a browser. Log in and grant permissions to the driver. You are then redirected to the callback URL, which contains the verifier code.
  3. Save the value of the verifier code. You will set this in the OAuthVerifier connection property.

On the headless machine, set the following connection properties to obtain the OAuth authentication values:

  • OAuthClientId: Set this to the consumer key in your app settings.
  • OAuthClientSecret: Set this to the consumer secret in your app settings.
  • OAuthVerifier: Set this to the verifier code.
  • OAuthSettingsLocation: Set this to persist the encrypted OAuth authentication values to the specified file.
  • InitiateOAuth: Set this to REFRESH.
  • OAuthGrantType: Set this to CODE.
  • URL: Set this to the base URL of your ServiceNow instance site.

After the OAuth settings file is generated, set the following properties to connect to data:

  • OAuthClientId: Set this to the consumer key in your app settings.
  • OAuthClientSecret: Set this to the consumer secret in your app settings.
  • OAuthSettingsLocation: Set this to the file containing the encrypted OAuth authentication values. Make sure this file gives read and write permissions to the provider to enable the automatic refreshing of the access token.
  • InitiateOAuth: Set this to REFRESH.
  • OAuthGrantType: Set this to CODE.
  • URL: Set this to the base URL of your ServiceNow instance site.

Transfer OAuth Settings

Follow the steps below to install the driver on another machine, authenticate, and then transfer the resulting OAuth values.

On a second machine, install the driver and connect with the following properties set:

  • OAuthSettingsLocation: Set this to a writable text file.
  • InitiateOAuth: Set this to GETANDREFRESH.
  • OAuthClientId: Set this to the client ID assigned when you registered your app.
  • OAuthClientSecret: Set this to the client secret assigned when you registered your app.
  • CallbackURL: Set this to the Redirect URL in your app settings.
  • URL: Set this to the base URL of your ServiceNow instance site.
  • OAuthGrantType: Set this to CODE.

Test the connection to authenticate. The resulting authentication values are written, encrypted, to the path specified by OAuthSettingsLocation. Once you have successfully tested the connection, copy the OAuth settings file to your headless machine. On the headless machine, set the following connection properties to connect to data:

  • InitiateOAuth: Set this to REFRESH.
  • OAuthClientId: Set this to the consumer key in your app settings.
  • OAuthClientSecret: Set this to the consumer secret in your app settings.
  • OAuthSettingsLocation: Set this to the path to your OAuth settings file. Make sure this file gives read and write permissions to the driver to enable the automatic refreshing of the access token.
  • URL: Set this to the base URL of your ServiceNow instance site.
  • OAuthGrantType: Set this to CODE.

Creating a Custom OAuth App

You can follow the procedure below to register an app and obtain the OAuth client credentials, the OAuthClientId and OAuthClientSecret. Note that you will need to activate the OAuth plugin for your instance if it is not active already.

  1. Log in to your ServiceNow instance.
  2. In the Navigator, click System OAuth -> Application Registry.
  3. Click New and then click Create an OAuth API Endpoint for External Clients.
  4. Select the Active check box, enter a name for the app, and set a Client Secret or leave this blank to have one generated automatically.
  5. Enter a value in the Redirect URL box. If you are making a desktop application, set the Redirect URL to http://localhost:33333 or a different port number of your choice. If you are making a web application, set the Redirect URL to a page on your Web app you want the user to be returned to after they have authorized your application.
  6. After clicking submit, you may navigate back to the newly created app to take note of the OAuthClientId, OAuthClientSecret, and CallbackURL values.

Advanced Features

This section details a selection of advanced features of the driver

User Defined Views

The driver allows you to define virtual tables whose contents are decided by a pre-configured query. See User Defined Views for an overview of creating and configuring custom views.

SSL Configuration

Use SSL Configuration to adjust how certificate negotiations are handled by the driver. You can specify a specific certificate for use in SSL.

Firewall and Proxy

Configure the driver for compliance with Firewall and Proxy, including Windows proxies and HTTP proxies. You can also set up tunnel connections.

JDBC Remoting

You can use JDBC Remoting to connect to the driver from remote machines.

Caching Data

Caching Data enables faster access to data and reduces the number of API calls, improving performance. You can cache automatically or explicitly.

Logging

See Logging for an overview of configuration settings that can be used to refine logging.

User Defined Views

The JDBC Driver for ServiceNow allows you to define a virtual table whose contents are decided by a pre-configured query. These are called User Defined Views and are useful in situations where you cannot directly control the query being issued to the driver e.g. when using the driver from a tool. The User Defined Views can be used to define predicates that are always applied no matter what. If additional predicates are specified in the query to the view, then they are combined with the query already defined as part of the view.

For example, a User Defined View called UserViews.RCustomers that only lists customers in a particular city might look like:
SELECT * FROM Customers WHERE City = 'Raleigh';
The query to the driver could be:
SELECT * FROM UserViews.RCustomers WHERE Status = 'Active';
Resulting in the effective query to the source:
SELECT * FROM Customers WHERE City = 'Raleigh' AND Status = 'Active';
That is a very simple example of a query to a User Defined View that is effectively a combination of the view query and the view definition. It is possible to compose these queries in much more complex patterns. All SQL operations are allowed in both queries and are combined as appropriate.

Defining Views Using a Configuration File

User Defined Views are defined in a JSON-formatted configuration file called UserDefinedViews.json in the Location folder. The driver will automatically detect the views if a file called UserDefinedViews.json is found in the Location folder.

It is also possible to have multiple view definitions and control them using the UserDefinedViews connection property. If the UserDefinedViews property is specified, only the views defined in this file are seen by the driver.

This User Defined View configuration file is formatted as follows:
  • Each root element defines the name of a view.
  • Each root element contains a child element, called query, which contains the custom SQL query for the view.

For example:

{
	"MyView": {
		"query": "SELECT * FROM incident WHERE MyColumn = 'value'"
	},
	"MyView2": {
		"query": "SELECT * FROM MyTable WHERE Id IN (1,2,3)"
	}
}

Defining Views Using DDL Statements

The driver is also capable of creating and altering the schema via DDL Statements such as CREATE LOCAL VIEW, ALTER LOCAL VIEW, and DROP LOCAL VIEW.

Create a View

To create a new view using DDL statements, provide the view name and query as follows:

CREATE LOCAL VIEW [MyViewName] AS SELECT * FROM Customers LIMIT 20;

The view is created in the JSON configuration file and will now be discoverable.

Alter a View

To alter an existing view, provide the name of an existing view alongside the new query you would like to use instead.

ALTER LOCAL VIEW [MyViewName] AS SELECT * FROM Customers WHERE TimeModified > '3/1/2020';

The view will be updated in the JSON configuration file.

Drop a View

To drop an existing view, provide the name of an existing schema alongside the new query you would like to use instead.

DROP LOCAL VIEW [MyViewName]

The view will be removed from the JSON configuration file and can no longer be queried.

Schema for User Defined Views

User Defined Views are exposed in the UserViews schema by default. This is done to avoid the name of the view from clashing with an actual entity in the data model. It is possible to change the name of the schema used for UserViews. This is done by setting the UserViewsSchemaName property.

SSL Configuration

Customizing the SSL Configuration

By default, the driver attempts to negotiate SSL/TLS by checking the server's certificate against the system's trusted certificate store.

To specify another certificate, see the SSLServerCert property for the available formats to do so.

Firewall and Proxy

Connecting Through a Firewall or Proxy

HTTP Proxies

To connect through the Windows system proxy, you do not need to set any additional connection properties. To connect to other proxies, set ProxyAutoDetect to false.

In addition, to authenticate to an HTTP proxy, set ProxyAuthScheme, ProxyUser, and ProxyPassword, in addition to ProxyServer and ProxyPort.

Other Proxies

Set the following properties:

  • To use a proxy-based firewall, set FirewallType, FirewallServer, and FirewallPort.
  • To tunnel the connection, set FirewallType to TUNNEL.
  • To authenticate, specify FirewallUser and FirewallPassword.
  • To authenticate to a SOCKS proxy, additionally set FirewallType to SOCKS5.

JDBC Remoting

The JDBC remoting feature allows you to connect to the JDBC driver from remote machines. The remoting feature is a daemon process that listens for database queries and responds to them. The driver supports the MySQL protocol for remoting.

JDBC remoting will allow any MySQL or SQL Server client (ODBC drivers, programming languages like PHP, Perl, Python, tools like MySQL workbench, and many other applications) to easily connect to ServiceNow.

Configuring the Driver for Remoting

Remoting can be configured through either a Command Line Interface or an INI-formatted configuration file.

Remoting via CLI

The MySQL daemon can be started directly from the command line. This can be accomplish by invoking the JAR and specifying the necessary CLI Options.

Remoting with a Configuration File

If you prefer not to provide every configuration property directly in the command line, a Configuration File can be defined, which will explicitly list all properties. Once defined, the daemon can be started with a single reference to this file in the CLI.

CLI Options

You can start the MySQL daemon from the command line, as shown below:

java -jar cdata.jdbc.servicenow.jar [ options ]
The following command-line options are available:

OptionDescription
-h, --helpDisplay help for available options and exit.
-f, --config-fileThe configuration file for the daemon.
-u, --userThe user allowed to connect. Use a configuration file to configure multiple users. If a user is specified on the command line, then only that user is given access.
-p, --passwordThe password for the user specified with the user option. If both user and password are set on the command line, the users section in the config file is ignored.
-d, --databaseThe database that clients will use to connect. If multiple databases are specified in the config file, connections are allowed to only the database specified on the command line.
-c, --connectionThe connection string used to connect to the data source being surfaced. If no connection string is specified on the command line, the connection string is read from the config file.
-P, --portThe port number to use to listen for TCP/IP connections. The default port is 3306.
-m, --max-connectionsThe maximum number of allowed TCP/IP connections. The default value is 25 connections.
--session-timeoutThe session timeout time in seconds. The default timeout is 20 seconds.
-t, --protocolThe protocol used for remoting. The default value is MySQL.
-g, --logfileThe full path of the log file.
-F, --logrotationschemeThe interval at which to truncate the logs. The options are 1 (daily in the format [MyFileName]_2016_3_21.txt), 2 (weekly in the format [MyFileName]_Week_5.txt, where 5 is the fifth week in the year), and 3 (monthly in the format [MyFileName]_2016_3_21.txt).
-v, --verbosityThe verbosity of the log. 1 is informational. Levels up to 5 add the following subsequent details: (2) HTTP headers, (3) the HTTP body, (4) transport-level communication including SSL, and (5) interface commands and other data source communication.
--testThe database to test the connection with. If this property is not specified, the default database is used.
--ssl-certThe path to the SSL certificate.
--ssl-subjectThe subject of the SSL certificate.
--ssl-passwordThe password of the SSL certificate.
-n, --nodeidDisplays the NodeId of this machine.
-l, --licenseInstalls the license on this machine. This option will prompt you for the type of license and other details.

Options specified on the command line take precedence over options specified in the config file. You can pass in command-line options to specify a restricted subset of the options allowed in the Configuration File.

Configuration File

You can save configuration settings for MySQL remoting in a config file. The file must be structured in the INI file format. Specify this file with the -f command-line option. The config file can have the following sections:

[mysqld]

In the mysqld section, use the following properties to configure the MySQL daemon:

NameDescription
portThe port number to use to listen for TCP/IP connections. The default port is 3306.
max-connectionsThe maximum number of allowed TCP/IP connections. 25 is the default.
session-timeoutThe session timeout time in seconds. The default timeout is 20 seconds.
logfileThe full path of the log file.
verbosityThe verbosity of the log. 1 is informational. Levels up to 5 add the following subsequent details: (2) HTTP headers, (3) the HTTP body, (4) transport-level communication including SSL, and (5) interface commands and other data source communication.
logrotationschemeThe interval at which to truncate the logs. The options are 1 (daily in the format [MyFileName]_2016_3_21.txt), 2 (weekly in the format [MyFileName]_Week_5.txt, where 5 is the fifth week in the year), and 3 (monthly in the format [MyFileName]_2016_3_21.txt).

The default is 2.

ssl-certThe path to the SSL certificate.
ssl-subjectThe subject of the SSL certificate.
ssl-passwordThe password of the SSL certificate.

[databases]

In the databases section, define keys that map the MySQL database or the SQL Server catalog to ServiceNow connection strings. Clients connect to the MySQL database or the SQL Server catalog defined here. To connect to ServiceNow, the driver uses the connection string that corresponds to this key.

[databases]
ServiceNow = "InitiateOAuth=GETANDREFRESH;OAuthClientId=MyClientId;OAuthClientSecret=MyClientSecret;User=MyUser;Password=MyPassword;Url=https://MyInstance12345.service-now.com/;"

[users]

In the users section, define the usernames and passwords of the users of the server. If the acl section is not defined, all users have access to all databases.

[mysql_vars]

In the mysql_vars section, define system variables for the MySQL server. The standard variables are supported. Below are several examples:

NameDescription
version_commentThis value is hard-coded as JDBC Driver for ServiceNow (MySQL Remoting).
character_set_clientThe character_set used in statements sent by the client.

[acl]

In the acl section, allow users to access ServiceNow databases. Databases must be defined in the databases section. Users must be defined in the users section. Use commas to separate users authorized to access the specified database.

Example Config File

Below is an example config file. The example includes all properties required to configure the server. It also shows how to configure access control for several users and ServiceNow instances.

[mysqld]
port = 3306
max-connections = 25
session-timeout = 20
logfile = ServiceNowRemotingLog.txt
verbosity = 2
ssl-cert = ".JDBC.ServiceNow.Remoting.pfx"
ssl-subject = <subject>
ssl-password = <password>

[databases]
ServiceNow = "InitiateOAuth=GETANDREFRESH;OAuthClientId=MyClientId;OAuthClientSecret=MyClientSecret;User=MyUser;Password=MyPassword;Url=https://MyInstance12345.service-now.com/;"
ServiceNow_ReadOnly = "InitiateOAuth=GETANDREFRESH;OAuthClientId=MyClientId;OAuthClientSecret=MyClientSecret;User=MyUser;Password=MyPassword;Url=https://MyInstance12345.service-now.com/;ReadOnly=True"

[users]
root = <password>
test = <password>

[mysql_vars]
version_comment =  " JDBC Driver for ServiceNow (MySQL Remoting)"

[acl]
ServiceNow = root
ServiceNow_ReadOnly = root, test

You can further restrict the allowed options by passing in options on the command line. See CLI Options for more information.

Caching Data

Caching Data

Caching data provides several benefits, including faster access to data and reducing the number of API calls, which improve performance. The connector supports a simple caching model where multiple connections can also share the cache over time. You can enable and configure caching features by setting the necessary connection properties.

Contents

The sections in this chapter detail the driver's caching functionality and link to the corresponding connection properties, as well as SQL statements.

Configuring the Cache Connection

Configuring the Cache Connection describes the properties that you can set when configuring the cache database.

Caching Metadata

Caching Metadata describes the CacheMetadata property. This property determines whether or not to cache the table metadata to a file store.

Automatically Caching Data

Automatically Caching Data describes how the driver automatically refreshes the cache when the AutoCache property is set.

Explicitly Caching Data

Explicitly Caching Data describes how you can decide what data is stored in the cache and when it is updated.

Data Type Mapping

Data Type Mapping shows the mappings between the data types configured in the schema and the data types in the database.

Configuring the Cache Connection

Configuring the Caching Database

This section describes the properties for caching data to the persistent store of your choice.

CacheLocation

The CacheLocation property species the path to a file-system-based database. When caching is enabled, a file-system-based database is used by default. If CacheLocation is not specified, this database is stored at the path in Location. If neither of these connection properties are specified, the driver uses a platform-dependent default location.

CacheConnection

The CacheConnection property specifies a database driver and the connection string to the caching database.

CacheDriver

The CacheDriver property specifies a database driver and the connection string to the caching database.

Caching Metadata

This section describes how to enable caching metadata and how to update the metadata cache.

Before being able to query data, the connector requires relevant metadata to be retrieved. By default, metadata is cached in memory and shared across connections. But if you want to persist across processes, or if metadata requests are expensive, the solution is to cache the metadata to disk.

Enable Caching Metadata

To enable caching of metadata, set CacheMetadata = true and see Configuring the Cache Connection for instructions on how to configure your connection string. The driver caches the metadata the first time it is needed and uses the metadata cache for subsequent requests.

Update the Metadata Cache

Because metadata is cached, changes to metadata on the live source, for example, adding or removing a column or attribute, are not automatically reflected in the metadata cache. To get updates to the live metadata, you need to delete or drop the cached data.

Cache Metadata from Code

The following code can be used to build the metadata cache. This is especially useful when using the Object-Relational Mapping Framework (for example, Hibernate).

Connection conn = DriverManager.getConnection("jdbc:servicenow:Cache Location=C:\cdata.servicenow.db;AutoCache=True;InitiateOAuth=GETANDREFRESH;OAuthClientId=MyClientId;OAuthClientSecret=MyClientSecret;User=MyUser;Password=MyPassword;Url=https://MyInstance12345.service-now.com/;");
DatabaseMetaData table_meta = conn.getMetaData();

ResultSet rs=table_meta.getTables(null, null, "%", null); 

while (rs.next()) {
  String tableName = rs.getString("TABLE_NAME");
  System.out.println("Cached metadata for table: "+tableName);
  ResultSet cols = table_meta.getColumns(null, null, tableName, null);
  while(rs.next()){
  }
}
System.out.println();
System.out.println("All tables cached.");
conn.close();

Automatically Caching Data

Automatically caching data is useful when you do not want to rebuild the cache for each query. When you query data for the first time, the driver automatically initializes and builds a cache in the background. When AutoCache = true, the driver uses the cache for subsequent query executions, resulting in faster response times.

If replication is enabled, the data is generated once and then copied to local and cloud data stores. With incremental updates, the driver achieves a performance advantage over dropping the cached tables and retrieving the entire table again on every refresh. With iterative updates, the driver only performs the query from the last time that the date was refreshed. If replication is not enabled, updates to the cache require downloading the entire data set.

Configuring Automatic Caching

To automatically update the cache and return results from the local cache, set the following connection string properties:

  • AutoCache: This property automatically updates the cache when the value is set to true.
  • CacheTolerance: This property ensures that the data retrieved from the database is the most current version. The default value is 600 seconds (10 minutes). The driver checks with the data source for newer records after the tolerance interval has expired. Otherwise, it returns the data directly from the cache.

Caching the incident Table

The following example caches the incident table in the file specified by the CacheLocation property of the connection string.

String connectionString = "jdbc:servicenow:Cache Location=C:\cache.db;" +
                          "AutoCache=true;" +
                          "InitiateOAuth=GETANDREFRESH;OAuthClientId=MyClientId;OAuthClientSecret=MyClientSecret;User=MyUser;Password=MyPassword;Url=https://MyInstance12345.service-now.com/;";
Connection connection = DriverManager.getConnection(connectionString);
Statement stat = connection.createStatement();
boolean ret = stat.execute("SELECT sys_id, priority FROM incident WHERE category = 'request'");
ResultSet rs=stat.getResultSet();
while(rs.next()){
  System.out.println("Read and cached the row with sys_id "+rs.getString("sys_id"));
}
connection.close();

Common Use Case

A common use for automatically caching data is to improve driver performance when making repeated requests to a live data source, such as building a report or creating a visualization. With auto caching enabled, repeated requests to the same data may be executed in a short period of time, but within an allowable tolerance (CacheTolerance) of what is considered "live" data.

Explicitly Caching Data

With explicit caching (AutoCache = false), you decide exactly what data is cached and when to query the cache instead of the live data. Explicit caching gives you full control over the cache contents by using CACHE Statements. This section describes some strategies to use the caching features offered by the driver.

Creating the Cache

To load data in the cache, issue the following statement.

CACHE SELECT * FROM tableName WHERE ...

Once the statement is issued, any matching data in tableName is loaded into the corresponding table.

Updating the Cache

This section describes two ways to update the cache.

Updating with the SELECT Statement

The following example shows a statement that can update modified rows and add missing rows in the cached table. However, this statement does not delete extra rows that are already in the cache. This statement only merges the new rows or updates the existing rows.

String cmd = "CACHE SELECT * FROM incident WHERE category = 'request'", connection";
stat.execute(cmd);
connection.close();

Updating with the TRUNCATE Statement

The following example shows a statement that can update modified rows and add missing rows in the cached table. This statement can also delete rows in the cache table that are not present in the live data source.

String cmd = "CACHE WITH TRUNCATE SELECT * FROM incident WHERE category = 'request'";
stat.execute(cmd);
connection.close();

Query the Data in Online or Offline Mode

This section describes how to query the data in online or offline mode.

Online: Select Cached Tables

You can use the tableName#CACHE syntax to explicitly execute queries to the cache while still online, as shown in the following example.

SELECT * FROM incident#CACHE

Offline: Select Cached Tables

With Offline = true, SELECT statements always execute against the local cache database, regardless of whether you explicitly specify the cached table or not. Modification of the cache is disabled in Offline mode to prevent accidentally updating only the cached data. Executing a DELETE/UPDATE/INSERT statement while in Offline mode results in an exception.

The following example selects from the local cache but not the live data source because Offline = true.

Connection connection = DriverManager.getConnection("jdbc:servicenow:InitiateOAuth=GETANDREFRESH;OAuthClientId=MyClientId;OAuthClientSecret=MyClientSecret;User=MyUser;Password=MyPassword;Url=https://MyInstance12345.service-now.com/;Offline=true;Cache Location=C:\cache.db;");
Statement stat = connection.createStatement();
String query = "SELECT * FROM incident WHERE category='request' ORDER BY priority ASC";
stat.execute(query);
connection.close();

Delete Data from the Cache

You can delete data from the cache by building a direct connection to the database. Note that the driver does not support manually deleting data from the cache.

Common Use Case

A common use for caching is to have an application always query the cached data and only update the cache at set intervals, such as once every day or every two hours. There are two ways in which this can be implemented:

  • AutoCache = false and Offline = false. All queries issued by the application explicitly reference the tableName#CACHE table. When the cache needs to be updated, the application executes a tableName#CACHE ... statement to bring the cached data up to date.
  • Offline = true. Caching is transparent to the application. All queries are executed against the table as normal, so most application code does not need to be aware that caching is done. To update the cached data, simply create a separate connection with Offline = false and execute a tableName#CACHE ... statement.

Data Type Mapping

The driver maps types from the data source to the corresponding data type available in the chosen cache database. The following table shows the mappings between the data types configured in the schema and the data types in the database. Some schema types have synonyms which are all listed in the Schema column.

Data Type Mapping

Note: String columns can map to different data types depending on their length.

Schema .NET JDBC SQL Server Derby MySQL Oracle SQLite Access
int, integer, int32 Int32 int int INTEGER INT NUMBER integer LONG
smallint, short, int16 Int16 short smallint SMALLINT SMALLINT NUMBER integer SHORT
double, float, real Double double float DOUBLE DOUBLE NUMBER double DOUBLE
date DateTime java.sql.Date date DATE DATE DATE date DATETIME
datetime, timestamp DateTime java.sql.Date datetime TIMESTAMP DATETIME TIMESTAMP datetime DATETIME
time, timespan TimeSpan java.sql.Time time TIME TIME TIMESTAMP datetime DATETIME
string, varchar String java.lang.String If length > 4000: nvarchar(max), Otherwise: nvarchar(length)If length > 32672: LONG VARCHAR, Otherwise VARCHAR(length)If length > 255: LONGTEXT, Otherwise: VARCHAR(length)If length > 4000: CLOB, Otherwise: VARCHAR2(length)nvarchar(length)If length > 255: LONGTEXT, Otherwise: VARCHAR(length)
long, int64, bigint Int64 long bigint BIGINT BIGINT NUMBER bigint LONG
boolean, bool Boolean boolean tinyint SMALLINT BIT NUMBER tinyint BIT
decimal, numeric Decimal java.math.BigDecimal decimal DECIMAL DECIMAL DECIMAL decimal CURRENCY
uuid Guid java.util.UUID nvarchar(length) VARCHAR(length)VARCHAR(length) VARCHAR2(length)nvarchar(length) VARCHAR(length)
binary, varbinary, longvarbinary byte[] byte[] binary(1000) or varbinary(max) after SQL Server 2000, image otherwise BLOB LONGBLOB BLOB BLOB LONGBINARY

Using JDBC

This section provides a walk-through of writing data access code to ServiceNow in JDBC.

See Data Model for more information on the available API objects and how to query them with SQL. See SQL Compliance for the SQL syntax.

Connecting from Code

See Establishing a Connection for the prerequisite information you need to deploy the driver and configure the connection to ServiceNow. Connecting from Code shows how to connect with the DriverManager or ServiceNowDataSource classes.

Executing SQL

Use the Statement and PreparedStatement classes to execute SQL to ServiceNow:

  • See Executing Statements to execute Statements and iterate over the returned ResultSets.
  • See Using Prepared Statements to execute parameterized statements. The PreparedStatement class provides a means to efficiently execute queries more than once and to mitigate SQL injection attacks.

Executing Stored Procedures

You can execute stored procedures* as parameterized statements (with the CallableStatement class) or SQL statements (with the EXECUTE syntax): see Calling Stored Procedures.

Connection Pooling

Instantiate pooled connections with ServiceNowDataSource objects: see Connection Pooling to create and configure the pool.

Installed Files

The JDBC Driver for ServiceNow ships the following files, located in the lib subfolder of the installation directory:

  • cdata.jdbc.servicenow.jar: Pure Java Type 4/5 JDBC Driver, compiled with JDK 1.6.
  • cdata.jdbc.servicenow.lic: This is the license file and must be placed in same folder as the JAR.
  • cdata.jdbc.servicenow.remoting.ini: This is the configuration file for JDBC Remoting.

Connecting from Code

This section describes how to connect with the JDBC DriverManager or ServiceNowDataSource interfaces.

Connecting with the DriverManager

When connecting with the DriverManager class, the JDBC Driver for ServiceNow follows the JDBC convention: First, load the ServiceNow driver class. Then, make a connection.

Load the Driver

The following step is optional per the JDBC 4.0 specification.
Class.forName("cdata.jdbc.servicenow.ServiceNowDriver");

Establish a Connection

Provide the connection string with the getConnection method of the static DriverManager class. Start the connection string with "jdbc:servicenow:". A typical connection string is the following:

Connection conn = DriverManager.getConnection("jdbc:servicenow:InitiateOAuth=GETANDREFRESH;OAuthClientId=MyClientId;OAuthClientSecret=MyClientSecret;User=MyUser;Password=MyPassword;Url=https://MyInstance12345.service-now.com/;");
Alternatively, you can prepare the connection options using a Properties object. Pass the Properties object to the DriverManager.
Properties prop = new Properties();
prop.setProperty("InitiateOAuth","GETANDREFRESH");
prop.setProperty("OAuthClientId","MyClientId");
prop.setProperty("OAuthClientSecret","MyClientSecret");
prop.setProperty("User","MyUser");
prop.setProperty("Password","MyPassword");
prop.setProperty("Url","https://MyInstance12345.service-now.com/");

Connection conn = DriverManager.getConnection("jdbc:servicenow:",prop);

Connecting with the ServiceNowDataSource Class

You can use the ServiceNowDataSource class to create pooled connections, as shown in the following example. See Connection Pooling for more information.

The following example instantiates a pooled Connection object:

ServiceNowDataSource ds = new ServiceNowDataSource("cdata.jdbc.servicenow.ServiceNowDriver", "jdbc:servicenow:UseConnectionPooling=true;InitiateOAuth=GETANDREFRESH;OAuthClientId=MyClientId;OAuthClientSecret=MyClientSecret;User=MyUser;Password=MyPassword;Url=https://MyInstance12345.service-now.com/;"); 
Connection conn = ds.getConnection();

Executing Statements

After Connecting from Code, you can execute SQL statements with the Statement class. See Using Prepared Statements to execute parameterized statements.

Select

To execute SQL statements that return data, use the Statement class' generic execute method or the executeQuery method. To return the results of a query, call the getResultSet method of the Statement.

The following example calls the execute method and iterates over the results returned:

Statement stat = conn.createStatement();
boolean ret = stat.execute("SELECT sys_id, priority FROM incident");
if (ret) {
  ResultSet rs=stat.getResultSet();
  while(rs.next()) {
    for(int i=1;i<=rs.getMetaData().getColumnCount();i++) {
      System.out.println(rs.getMetaData().getColumnName(i) +"="+rs.getString(i));
    }
  }
}

Insert

To execute an insert, use the generic execute method or the executeUpdate method of the Statement class. For example:

Statement stat = conn.createStatement();
int count = stat.executeUpdate("INSERT INTO incident (sys_id, priority) VALUES ('sys_id','priority')");

Update

To execute an update, use the generic execute method or the executeUpdate method of the Statement class. You can call the getUpdateCount method to obtain the count of affected rows. Or, call the executeUpdate method; this method returns the row count. For example:

Statement stat = conn.createStatement();
stat.execute("UPDATE incident SET sys_id = 'XXX' , priority = 'YYY' WHERE sys_id = 'S'");
int count = stat.getUpdateCount();

Delete

To execute a delete, use the generic execute method or the executeUpdate method of the Statement class. You can call the getUpdateCount method to obtain the count of affected rows. Or, call the executeUpdate method; this method returns the row count. For example:

Statement stat = conn.createStatement();
stat.execute("DELETE FROM incident WHERE sys_id = 'S'");
int count = stat.getUpdateCount();

Using Prepared Statements

The PreparedStatement object represents a precompiled SQL statement. A PreparedStatement can be used multiple times and mitigates SQL injection attacks. A PreparedStatement can be a SELECT, INSERT, UPDATE, or DELETE statement.

To execute a prepared statement, you can use the generic execute method of the Statement class. This section describes how to execute a prepared statement.

  1. Instantiate a PreparedStatement object with the prepareStatement method of the Connection class.

    See Connecting from Code to create the connection.

  2. Declare parameters by calling the PreparedStatement's corresponding setter method. Note that the parameter indices start from one.
  3. Call the PreparedStatement's execute method to execute the statement.
  4. Call the PreparedStatement's getResultSet method to pull the results into a ResultSet object.
  5. Call ResultSet.next to iterate over the result set. Use the ResultSetMetaData class to obtain column information about the result set. To instantiate a ResultSetMetaData object, call the ResultSet's getMetaData method.

Select

The following example shows how to execute a SELECT prepared statement:

String query = "SELECT * FROM incident WHERE sys_id=? AND priority=?";
PreparedStatement pstmt = conn.prepareStatement(query);
pstmt.setString(1, "XXX");
pstmt.setString(2, "YYY");
boolean ret = pstmt.execute();
if (ret) {
  ResultSet rs=pstmt.getResultSet();
  while(rs.next()) {
    for(int i=1;i<=rs.getMetaData().getColumnCount();i++) {
      System.out.println(rs.getMetaData().getColumnName(i) +"="+rs.getString(i));
    }
  }
} 

Insert

To execute an insert, you can use the generic execute method or the executeUpdate method, as shown in the following example.

String query = "INSERT INTO incident (sys_id, priority) VALUES (?,?)";
PreparedStatement pstmt = conn.prepareStatement(query);
pstmt.setString(1, "XXX");
pstmt.setString(2, "YYY");
int count = pstmt.executeUpdate();

Update

To execute an update, you can use the generic execute method or the executeUpdate method, as shown in the following example. The executeUpdate method returns the affected rows. Or, call getUpdateCount.

String query = "UPDATE incident SET priority = ? WHERE sys_id=?";
PreparedStatement pstmt = conn.prepareStatement(query);
pstmt.setString(1, "XXX");
pstmt.setString(2, "YYY");
int count = pstmt.executeUpdate();
System.out.println("Affected rows: "+count);

Delete

To execute a delete, you can use the generic execute method or the executeUpdate method, as shown in the following example. The executeUpdate method returns the affected rows. Or, call getUpdateCount.

String query = "DELETE FROM incident WHERE sys_id = ?";
PreparedStatement pstmt = conn.prepareStatement(query);
pstmt.setString(1, "XXX");
int count = pstmt.executeUpdate();
System.out.println("Affected rows: "+count);

Connection Pooling

The driver implements a standard JDBC connection pool. Set UseConnectionPooling to enable the pool. The following sections show how to configure and use them.

Working with Pooled Connections

Just as you would interact with a non-pooled connection, you use standard JDBC objects to get and close connections. But, in this case, the Connection object retrieved is a handle for the physical connection owned by the connection pool. When the connection is closed, instead of the connection being destroyed, the handle is returned to the pool, where it is available for the next connection request.

You must explicitly close the connection for it to be returned to the pool.

Configuring the Connection Pool

In addition to UseConnectionPooling, set the following connection properties to control the connection pool:

  • PoolMaxSize: Define the maximum number of connections that can be open at any given time.
  • PoolIdleTimeout: Set a limit to how long connections can remain open and idle. If this limit is exceeded, the connection is returned to the pool.
  • PoolWaitTime: Set a limit to how long new connection requests should wait for a connection to become available. If this limit is exceeded, the request throws an error. By default, connection requests wait forever for a connection to become available.

Connection Pooling with ServiceNowDataSource

To use the default method for pooling connections, instantiate the ServiceNowDataSource with UseConnectionPooling:

ServiceNowDataSource servicenowDataSource = new ServiceNowDataSource();
servicenowDataSource.setURL("jdbc:servicenow:UseConnectionPooling=true;InitiateOAuth=GETANDREFRESH;OAuthClientId=MyClientId;OAuthClientSecret=MyClientSecret;User=MyUser;Password=MyPassword;Url=https://MyInstance12345.service-now.com/;");

JDBC Connection Pooling

If you would like to establish a pooled connection using the the JDBC ConnectionPoolDataSource interface, instantiate the ServiceNowConnectionPoolDataSource with UseConnectionPooling:

ServiceNowConnectionPoolDataSource servicenowPoolDataSource = new ServiceNowConnectionPoolDataSource();
servicenowPoolDataSource.setURL("jdbc:servicenow:UseConnectionPooling=true;InitiateOAuth=GETANDREFRESH;OAuthClientId=MyClientId;OAuthClientSecret=MyClientSecret;User=MyUser;Password=MyPassword;Url=https://MyInstance12345.service-now.com/;");

Closing the Connection Pool

On JRE 1.3 or higher, the connection pool itself automatically closes when the application stops running. You can manually close the connection pool by invoking the close method of the DataSource object.

JNDI

Connection Pooling with JNDI

The Java Naming and Directory Service (JNDI) is an API which allows distributed application to look up services. JNDI can be used to easily set up connection pools.

To set up a connection pool using JNDI, you will need to initialize the JNDI File System Service Provider, as shown in the example code below. To run the example, you need to add the fscontext.jar and providerutil.jar files to your classpath. You can download these files from the Oracle Java Archive: Under the Java SE section, select Java Platform Technologies > Java Naming and Directory Interface.

Hashtable env = new Hashtable();
env.put(Context.INITIAL_CONTEXT_FACTORY,
    "com.sun.jndi.fscontext.RefFSContextFactory");
env.put(Context.PROVIDER_URL, "file:///tmp");

Context ctx = new InitialContext(env); 
DataSource ds = null;
Connection conn = null;
The following code registers the ServiceNowDataSource with the JNDI naming service, gets an instance of the DataSource from the service, and creates pooled connections from that instance.
try {
  ServiceNowConnectionPoolDataSource servicenowDataSource = new ServiceNowConnectionPoolDataSource();
  servicenowDataSource.setURL("jdbc:servicenow:UseConnectionPooling=true;InitiateOAuth=GETANDREFRESH;OAuthClientId=MyClientId;OAuthClientSecret=MyClientSecret;User=MyUser;Password=MyPassword;Url=https://MyInstance12345.service-now.com/;");
  ctx.bind("jdbc/servicenow", servicenowDataSource);
  ds = (DataSource) ctx.lookup("jdbc/servicenow");

  conn = ds.getConnection();
  Statement stat = conn.createStatement();
  boolean ret = stat.execute("SELECT 1");
  ResultSet rs=stat.getResultSet(); 
} catch(Exception ex) { } finally {
  if(conn != null) conn.close();
}

Calling Stored Procedures

Use CallableStatement objects to execute parameterized stored procedure* calls. Use Statement objects to execute stored procedures* as SQL statements with the EXEC syntax.

Using Callable Statement Objects

You can use the generic execute method of the CallableStatement class to execute any stored procedure* as a parameterized query.

To return the stored procedure's results, call getResultSet. To return a count of updated rows, call getUpdateCount.

The following example shows how to execute the RefreshOAuthAccessToken stored procedure:

CallableStatement cstmt = conn.prepareCall("RefreshOAuthAccessToken");
cstmt.setString("OAuthAccessToken", "OAuthAccessToken");
boolean ret = cstmt.execute();   
if (!ret) {
  int count=cstmt.getUpdateCount();
  if (count!=-1) {
    System.out.println("Affected rows: "+count);
  }
}
else {
  ResultSet rs=cstmt.getResultSet();
  while(rs.next()){
    for(int i=1;i<=rs.getMetaData().getColumnCount();i++) {
      System.out.println(rs.getMetaData().getColumnName(i) +"="+rs.getString(i));
    }
  }
}

Using Statement Objects

You can use the execute method of the Statement class to execute any stored procedure* as an SQL statement.

To return the stored procedure's results, call getResultSet. To return a count of updated rows, call getUpdateCount.

The following example shows how to execute the RefreshOAuthAccessToken stored procedure: (See EXECUTE Statements for more on the syntax.)

Statement stmt = conn.createStatement();
boolean ret = stmt.execute("EXEC RefreshOAuthAccessToken OAuthAccessToken = 'OAuthAccessToken'");

if (!ret) {
  int count=stmt.getUpdateCount();
  if (count!=-1) {
    System.out.println("Affected rows: "+count);
  }
}
else {
  ResultSet rs=stmt.getResultSet();
  while(rs.next()) {
    for(int i=1;i<=rs.getMetaData().getColumnCount();i++) {
      System.out.println(rs.getMetaData().getColumnName(i) +"="+rs.getString(i));
    }
  }
}

Using from Tools

The JDBC Driver for ServiceNow provides the standard JDBC connection process in analytics tools and other applications.

JDBC Integration Quickstarts

The JDBC Driver for ServiceNow provides the standard JDBC connection process in applications ranging from business intelligence tools to IDEs. The following sections show how to create and start querying ServiceNow JDBC data sources, walking through data access in JDBC from several popular database tools.

Complete List of ServiceNow Integration Quickstarts

See ServiceNow integration guides for information on connecting from other applications.

DbVisualizer

This section shows how to establish a connection to data in DbVisualizer, use the table editor to edit and save data, and execute SQL.

Add the JDBC Driver for ServiceNow

Complete the following steps to add the driver .jar file in a driver definition:

  1. In DbVisualizer, select Tools > Driver Manager and then select Driver > Create Driver.
  2. Enter a name for the driver.
  3. Enter the following in the URL Format box:
    jdbc:servicenow:
  4. In the Driver JAR Files section, click the folder icon and browse to the driver .jar file, cdata.jdbc.servicenow.jar. By default, this is located in the lib subfolder of the installation directory. Note that the .lic file in this folder must be located in the same folder as the .jar file.
  5. In the Driver Class menu, select the ServiceNowDriver class, cdata.jdbc.servicenow.ServiceNowDriver.

Create a Database Connection for ServiceNow

Complete the following steps to select the ServiceNow driver and build the JDBC URL to create the JDBC data source:

  1. In the main DbVisualizer window, select Tools > Connection Wizard.

  2. Enter an alias for the connection.
  3. Select the driver definition you created.
  4. In the following fields, enter the JDBC URL and provide authentication.

    See Establishing a Connection for a guide.

  5. Database URL: Enter the full JDBC URL. The syntax of the JDBC URL is jdbc:servicenow: followed by the connection properties in a semicolon-separated list of name-value pairs. A typical connection string is below:
    jdbc:servicenow:InitiateOAuth=GETANDREFRESH;OAuthClientId=MyClientId;OAuthClientSecret=MyClientSecret;User=MyUser;Password=MyPassword;Url=https://MyInstance12345.service-now.com/;

  6. Database UserId: Enter the username for authentication to ServiceNow, if needed.
  7. Database Password: Enter the password for authentication to ServiceNow, if needed.
Note: After you successfully create a database connection for ServiceNow you should set the "Database Type" property to "Generic".

Discover Schemas and Query ServiceNow Data

In the main DbVisualizer window, click Connect on the Connection tab for the newly created connection. You can then browse data and execute SQL in the following ways:

  • To access the available tables, from the Databases tab, expand the nodes for the connection, database, schema, and table or view.
  • To browse through table data and metadata, right-click a table and click Open in New Tab.
  • To execute SQL queries, select SQL Commander > New SQL Commander. Select the Database Connection, Database, and Schema from the available menus.

See Data Model for information on querying specific tables. See SQL Compliance for more information on the SQL syntax.

DBeaver

This section describes how to connect to ServiceNow following the standard JDBC connection process in DBeaver: Add the driver JAR, provide the driver class name, and provide any ServiceNow-specific parameters in the JDBC URL.

Add the JDBC Driver for ServiceNow

Complete the following steps to add the driver .jar file:

  1. Open the DBeaver application and, in the Database menu, select the Driver Manager option. Click New to open the Create New Driver form.
  2. In the Driver Name box, enter a user-friendly name for the driver.
  3. To add the .jar file, click Add File on the Libraries tab. Select the cdata.jdbc.servicenow.jar file, located in the lib subfolder of the installation directory.

    Note that the.lic file must be located in the same folder as the .jar file.

  4. Click Find Class, and in the list select, "cdata.jdbc.servicenow.ServiceNowDriver".
  5. In the URL Template field, enter jdbc:servicenow:.

Create the JDBC Data Source

Complete the following steps to select the ServiceNow driver and build the JDBC URL to create the JDBC data source:

  1. In the main DBeaver window, click Database > New Connection.
  2. Select the driver definition you created in the dialog that is displayed.
  3. On the next page of the wizard, click the Driver Properties tab.
  4. Enter any connection properties required to connect to ServiceNow.

    Here is a typical connection string:

    jdbc:servicenow:InitiateOAuth=GETANDREFRESH;OAuthClientId=MyClientId;OAuthClientSecret=MyClientSecret;User=MyUser;Password=MyPassword;Url=https://MyInstance12345.service-now.com/;
    See Establishing a Connection for a connection and authentication guide.

  5. Finish creating the connection with the default settings or configure advanced network settings -- proxy, firewall, and SSH.

Discover Schemas and Query ServiceNow Data

Complete the following steps to query information from the tables exposed by the connection:

  1. Expand the node for the connection to access the database metadata.
  2. Browse the table metadata and edit the table data by right-clicking a Table and then clicking Edit Table.

To execute an SQL query, select SQL Editor > New SQL Editor and select the ServiceNow connection you created. You can then enter queries using code completion.

SQuirreL SQL

This section describes how to create a JDBC data source for ServiceNow data and execute queries.

Add the JDBC Driver for ServiceNow

Complete the following steps to add the driver .jar file:

  1. In the Drivers pane, click the plus icon to open the Add Driver wizard.
  2. In the Name box, enter a user-friendly name for the driver; for example, JDBC Driver for ServiceNow.
  3. In the Example URL box, enter jdbc:servicenow:
  4. In the Extra Class Path tab, click Add.
  5. In the file explorer that opens, select the .jar file for the driver, located in the lib subfolder of the installation directory.
  6. Click List Drivers to populate the Class Name menu with the class name for the driver, cdata.jdbc.servicenow.ServiceNowDriver.

Create the JDBC Data Source

Complete the following steps to select the ServiceNow driver you created and build the JDBC URL to create the JDBC data source:

  1. In the Aliases pane, click the plus icon.
  2. In the Add Alias wizard that opens, provide values for the following fields:
    • Name: Enter a name for the alias; for example, ServiceNow Source.
    • Driver: Select the driver definition you created.
    • URL: Enter jdbc:servicenow:
    • User Name: If needed, enter a user name for authentication, which is added to the JDBC URL.
    • Password: If needed, enter a password for authentication, which is added to the JDBC URL.
  3. If you want to define any additional properties, add them to the JDBC URL in a semicolon-separated list. The following is a typical connection string:
    jdbc:servicenow:InitiateOAuth=GETANDREFRESH;OAuthClientId=MyClientId;OAuthClientSecret=MyClientSecret;User=MyUser;Password=MyPassword;Url=https://MyInstance12345.service-now.com/;
    See Establishing a Connection for a connection and authentication guide.

Or, follow these steps to add the properties in the Driver Properties dialog:
  1. Select the Use Driver Properties check box.
  2. In the Specify column, select the check boxes for the required connection properties and specify the corresponding values.
  3. In the dialog that appears after you click OK, click Connect to test the connection.

Discover Schemas and Query ServiceNow Data

To connect to the data source, right-click the alias on the Aliases pane and then click Connect. After the metadata has loaded, a new tab for the ServiceNow data source is displayed. On the Objects subtab, you can discover schema information, such as the available tables and views.

To view table data and metadata, select the table on the Objects tab. Access the table data on the Content tab.

To execute an SQL query, enter the query on the SQL tab and then click Run SQL (the runner icon).

Tableau

This section describes how to connect and start querying data from Tableau.

Add the JDBC Driver for ServiceNow

Note: Before starting Tableau on Windows, make sure that you have placed the .jar file in the C:\Program Files\Tableau\Drivers folder. Before starting Tableau on macOS, make sure that you have placed the .jar file in the ~/Library/Tableau/Drivers folder.

To add the driver .jar file:

  1. Start Tableau.
  2. Under To a Server, select More.
  3. Select Other Databases (JDBC).
  4. Enter the JDBC connection string in the URL field. See Building the JDBC URL for ServiceNow below for more information.
  5. Select Sign in.

Building the JDBC URL for ServiceNow

Connection strings provide information about a data source and how to connect to that data source. The driver comes with a connection string builder that makes it easier to create and manage the contents of connection strings.

After downloading and installing the driver, double-click the .jar file in the lib folder. You can also manually run the .jar file, as shown in the following examples.

From Windows:

java -jar 'C:\Program Files\ JDBC Driver for ServiceNow 2021\lib\cdata.jdbc.servicenow.jar'

From macOS:

java -jar cdata.jdbc.servicenow.jar

Running the .jar file opens the Connection Properties dialog box. You can use this dialog box to build and test a connection string. Click Test Connection to test and validate the entered connection properties. Click Copy to Clipboard to copy the connection string for use within the application where the JDBC driver is being used. See the help documentation for more information about the connection string options.

Discover Schemas and Query Data

To query data:

  1. Select from the Database pull-down menu.
  2. Select Odata from the Schema pull-down menu.
  3. Drag the table onto the join area. You can include multiple tables.
  4. Select Update Now or Automatically Update. Update Now lets you preview the first 10,000 rows of the data source (or enter the number of rows you want to see in the Rows text box). Automatically Update automatically reflects the changes in the preview area.
  5. In the Connection menu, select the Live option, so that you skip loading a copy of the data into Tableau and instead work on real-time data.
  6. Click the tab for your worksheet. Columns are listed as Dimensions and Measures, depending on the data type.

Schema Discovery

The driver supports schema discovery using JDBC classes or using SQL queries to the available system tables. The JDBC classes enable access to schema information, connection property information, and information on the columns returned.

Through SQL queries to the available System Tables, you can access schema and connection property information as well as information on data source functionality and statistics on update operations.

Using JDBC Interfaces

You can use JDBC interfaces to access schema information, connection property metadata, and result set metadata. The driver implements the standard interfaces as defined in the JDBC 4.0 specification.

Retrieving Schema Information

The DatabaseMetaData class provides information on the following:

Retrieving Connection Property Information

The Driver class, returned by DriverManager, provides information about Connection Properties.

Retrieving Result Set Column Information

The ResultSetMetaData class provides information about the columns returned in Result Sets.

Using SQL

You can query the System Tables to access any metadata surfaced through the driver.

Tables

You can use the getTables method of the DatabaseMetaData interface to retrieve a list of tables:

String connectionString = "jdbc:servicenow:InitiateOAuth=GETANDREFRESH;OAuthClientId=MyClientId;OAuthClientSecret=MyClientSecret;User=MyUser;Password=MyPassword;Url=https://MyInstance12345.service-now.com/;";

Connection conn = DriverManager.getConnection(connectionString);
DatabaseMetaData table_meta = conn.getMetaData();
ResultSet rs=table_meta.getTables(null, null, "%", null);  
while(rs.next()){
  System.out.println(rs.getString("TABLE_NAME"));
}
The getTables method returns the following columns:

Column NameData TypeDescription
TABLE_CATStringThe table catalog.
TABLE_SCHEMStringThe table schema.
TABLE_NAMEStringThe table name.
TABLE_TYPEStringThe table type.
REMARKSStringThe table description.

Columns

You can use the getColumns method of the DatabaseMetaData interface to retrieve column information. You can restrict the results by the table name. The code example below retrieves the column names for the incident table:

String connectionString = "jdbc:servicenow:InitiateOAuth=GETANDREFRESH;OAuthClientId=MyClientId;OAuthClientSecret=MyClientSecret;User=MyUser;Password=MyPassword;Url=https://MyInstance12345.service-now.com/;";

Connection conn = DriverManager.getConnection(connectionString);
DatabaseMetaData table_meta = conn.getMetaData();
ResultSet rs = table_meta.getColumns(null,null,"incident", null);
while(rs.next()){
  System.out.println(rs.getString("COLUMN_NAME")); 
}
The getColumns method returns the following columns:

Column NameData TypeDescription
TABLE_CATStringThe database name.
TABLE_SCHEMStringThe table schema.
TABLE_NAMEStringThe table name.
COLUMN_NAMEStringThe column name.
DATA_TYPEintThe data type identified by the value of a constant defined in java.sql.Types.
TYPE_NAMEStringThe data type name used by the driver.
COLUMN_SIZEintThe length in characters of the column or the numeric precision.
BUFFER_LENGTHintThe buffer length.
DECIMAL_DIGITSintThe column scale or number of digits to the right of the decimal point.
NUM_PREC_RADIXintThe radix, or base.
NULLABLEintWhether the column can contain null as defined by the following JDBC DatabaseMetaData constants: columnNoNulls (0) or columnNullable (1).
REMARKSStringThe column description.
COLUMN_DEFStringThe default value for the column.
SQL_DATA_TYPEintReserved by the specification.
SQL_DATETIME_SUBintReserved by the specification.
CHAR_OCTET_LENGTHintThe maximum length of binary and character-based columns.
ORDINAL_POSITIONintThe column index, starting at 1.
IS_NULLABLEStringWhether a null value is allowed: YES or NO.
SCOPE_CATALOGStringThe table catalog that is the scope of a reference attribute.
SCOPE_SCHEMAStringThe table schema that is the scope of a reference attribute.
SCOPE_TABLEStringThe table name that is the scope of a reference attribute.
SOURCE_DATA_TYPEintThe source type of a distinct type. Or, a user-generated Ref type. If DATA_TYPE is not DISTINCT, this value is null. If a user-generated Ref, this value is null.
IS_AUTOINCREMENTStringWhether the column value is assigned by ServiceNow in fixed increments.
IS_GENERATEDCOLUMNStringWhether the column is generated: YES or NO.

Procedures

You can use the DatabaseMetaData interface to retrieve stored procedure* information. The getProcedures method returns descriptions of the available stored procedures.

The following code retrieves the names of the available stored procedures:

String connectionString = "jdbc:servicenow:InitiateOAuth=GETANDREFRESH;OAuthClientId=MyClientId;OAuthClientSecret=MyClientSecret;User=MyUser;Password=MyPassword;Url=https://MyInstance12345.service-now.com/;";

Connection conn = DriverManager.getConnection(connectionString);
DatabaseMetaData meta = conn.getMetaData();
ResultSet rs = meta.getProcedures(null, null, "%");
while(rs.next()){
  System.out.println(rs.getString("PROCEDURE_NAME"));
}
The getProcedures method returns the following columns:

Column NameData TypeDescription
PROCEDURE_CATStringThe catalog the procedure belongs to.
PROCEDURE_SCHEMStringThe schema the procedure belongs to.
PROCEDURE_NAMEStringThe stored procedure* name.
REMARKSStringThe description of the stored procedure.
PROCEDURE_TYPEshortReturns 2 if the procedure returns a result. Returns 1 if the procedure does not return a result. Returns 0 if unknown.
SPECIFIC_NAMEStringThe name that uniquely identifies the stored procedure* within its schema.

Procedure Parameters

You can use the DatabaseMetaData interface to retrieve stored procedure* information. The getProcedureColumns method returns descriptions of stored procedure* parameters. You can restrict the results by the stored procedure* name.

The following code example outputs information about the parameters of the RefreshOAuthAccessToken stored procedure:
String connectionString = "jdbc:servicenow:InitiateOAuth=GETANDREFRESH;OAuthClientId=MyClientId;OAuthClientSecret=MyClientSecret;User=MyUser;Password=MyPassword;Url=https://MyInstance12345.service-now.com/;";

Connection conn = DriverManager.getConnection(connectionString);
DatabaseMetaData meta = conn.getMetaData();
ResultSet rs=meta.getProcedureColumns(null, null, "RefreshOAuthAccessToken", null);  
while(rs.next()) {   
  for(int i=1;i<=rs.getMetaData().getColumnCount();i++)  {
    System.out.println(rs.getMetaData().getColumnName(i) +"="+rs.getString(i));
  }
}
The getProcedureColumns method returns the following columns:

Column NameData TypeDescription
PROCEDURE_CATStringThe catalog that the procedure belongs to.
PROCEDURE_SCHEMStringThe schema that the procedure belongs to.
PROCEDURE_NAMEStringThe name of the stored procedure.
COLUMN_NAMEStringThe name of the procedure column.
COLUMN_TYPEStringThe type of procedure column as defined by the following DatabaseMetaData constants: procedureColumnIn (1), procedureColumnInOut (2), procedureColumnResult (3), procedureColumnOut (4), and procedureColumnReturn (5).
DATA_TYPEintThe data type name as defined in java.sql.Types.
TYPE_NAMEStringThe driver-defined data type name.
PRECISIONintThe number of digits allowed for numeric data.
LENGTHintThe number of characters allowed for character data. The number of digits allowed for numeric data.
SCALEshortThe number of digits to the right of the decimal point in numeric data.
RADIXshortThe radix, or base.
NULLABLEshortWhether the parameter can contain null as defined by the following DatabaseMetaData constants: parameterNoNulls (0), parameterNullable (1), and parameterNullableUnknown (2).
REMARKSStringThe description of the parameter.
COLUMN_DEFStringThe default value for the parameter.
SQL_DATA_TYPEintReserved in the specification.
SQL_DATETIME_SUBintReserved in the specification.
CHAR_OCTET_LENGTHintThe maximum length of binary-based and character-based columns. Null for other data types.
ORDINAL_POSITIONintThe index of the output parameter.
IS_NULLABLEStringWhether the column can include null: YES or NO.
SPECIFIC_NAMEStringThe name that uniquely identifies the stored procedure* within its schema.

Primary Keys

You can use the getPrimaryKeys method to return information about the primary keys for ServiceNow tables. You can restrict the results by the table name.

The following code example outputs the column or columns composing the primary key for the incident table:

String connectionString = "jdbc:servicenow:InitiateOAuth=GETANDREFRESH;OAuthClientId=MyClientId;OAuthClientSecret=MyClientSecret;User=MyUser;Password=MyPassword;Url=https://MyInstance12345.service-now.com/;";

Connection conn = DriverManager.getConnection(connectionString);
ResultSet rs = conn.getMetaData().getPrimaryKeys(null,null,"incident");
while(rs.next()){
  System.out.println(rs.getString("COLUMN_NAME"));
}

The getPrimaryKeys method returns the following columns:

Column NameData TypeDescription
TABLE_CATStringThe table catalog
TABLE_SCHEMStringThe table schema.
TABLE_NAMEStringThe table name.
COLUMN_NAMEStringThe column name.
KEY_SEQshortThe sequence number, or column index starting from 1, within the foreign key.
PK_NAMEStringThe primary key name.

Foreign Keys

You can obtain foreign key information by executing the getExportedKeys or getImportedKeys methods:

  • Call the getExportedKeys method to retrieve information about all the foreign keys that the specified table exports.

    The following example outputs each foreign key that references the incident primary key, as well as the table that contains the associated foreign key:
    String connectionString = "jdbc:servicenow:InitiateOAuth=GETANDREFRESH;OAuthClientId=MyClientId;OAuthClientSecret=MyClientSecret;User=MyUser;Password=MyPassword;Url=https://MyInstance12345.service-now.com/;";
    
    Connection conn = DriverManager.getConnection(connectionString);
    ResultSet rs = conn.getMetaData().getExportedKeys(null,null,"incident");
    while(rs.next()){
      System.out.println(rs.getString("FKCOLUMN_NAME")+": "+rs.getString("FKTABLE_NAME"));
    }

  • Call the getImportedKeys method to return information about all the primary keys that the specified table imports.

    The following example outputs each foreign key column that is imported by the incident table, as well as the table that contains the associated primary key:
    String connectionString = "jdbc:servicenow:InitiateOAuth=GETANDREFRESH;OAuthClientId=MyClientId;OAuthClientSecret=MyClientSecret;User=MyUser;Password=MyPassword;Url=https://MyInstance12345.service-now.com/;";
    
    Connection conn = DriverManager.getConnection(connectionString);
    ResultSet rs = conn.getMetaData().getImportedKeys(null,null,"incident");
    while(rs.next()){
      System.out.println(rs.getString("FKCOLUMN_NAME")+": "+rs.getString("PKTABLE_NAME"));
    }

Both the getExportedKeys and getImportedKeys methods return the following columns:

Column NameData TypeDescription
PK_TABLE_CATStringThe catalog of the table that contains the primary key.
PKTABLE_SCHEMStringThe schema of the table that contains the primary key.
PKTABLE_NAMEStringThe name of the table that contains the primary key.
PKCOLUMN_NAMEStringThe column name of the primary key.
FKTABLE_CATStringThe catalog of the table that contains the foreign key.
FKTABLE_SCHEMStringThe schema of the table that contains the foreign key.
FKTABLE_NAMEStringThe name of the table that contains the foreign key.
FKCOLUMN_NAMEStringThe column name of the foreign key.
KEY_SEQshortThe sequence number, or column index starting from 1, within the foreign key.
UPDATE_RULEshortThe rule specifying the action when the primary key is updated.
DELETE_RULEshortThe rule specifying the action when the primary key is deleted.
FK_NAMEStringThe foreign key name or null.
PK_NAMEStringThe primary key name.
DEFERRABILITYshortWhether the evaluation of foreign key constraints can be deferred until commit.

The following table shows the rules for the UPDATE_RULE and DELETE_RULE columns. The rules are specified with the following constants defined in the DatabaseMetaData class:

NameValueDescription
importedKeyNoAction3Do not update the primary key if imported.
importedKeyCascade0Update the imported key to match the primary key.
importedKeySetNull2Change the imported key to "NULL" if the primary key has been updated.
importedKeySetDefault4Change the imported key to default values if the primary key has been updated.
importedKeyRestrict1This rule is the same as importedNoAction (provides backwards compatibility with ODBC 2.x)

The following table shows the possible values for the DEFERRABILITY column. These values are specified with the following constants defined in the DatabaseMetaData class:

NameValueDescription
importedKeyInitiallyDeferred5Indicates whether the foreign key is initially deferred.
importedKeyInitiallyImmediate6Indicates whether the foreign key is initially immediate.
importedKeyNotDeferrable.7Indicates whether the foreign key is not deferrable.

See SQL-92 for more information on the preceding values.

Connection Properties

The available connection properties can be retrieved with the getPropertyInfo method of the Driver class. This method returns an array with elements of type DriverPropertyInfo.

String connectionString = "jdbc:servicenow:";

Driver driver = DriverManager.getDriver(connectionString);
Properties info = new Properties();
DriverPropertyInfo[] attr = driver.getPropertyInfo(connectionString,info);
for(int i=0;i<attr.length;i++){
  System.out.println(attr[i].name);
  System.out.println(attr[i].description);
  System.out.println(attr[i].required);
  System.out.println(attr[i].value);
  String[] c = attr[i].choices;
  if(c != null) {
    for(String s: c)
      System.out.println(s);
  }
}

The DriverPropertyInfo class has the following properties:

Property NameData TypeDescription
NameStringThe name of the connection property.
DescriptionStringThe description for the connection property.
RequiredbooleanWhether the connection property must be set to connect to ServiceNow.
ChoicesString[]An array of the allowed values for the connection property.
ValueStringThe current value of the connection property or the default value if one is not set by the user.

Result Sets

You can use ResultSetMetaData to retrieve metadata about the results of a query.

The query can contain any of the following:

  • Joins
  • Aggregates
  • Aliases
  • Fully qualified names
  • Generated columns

You can instantiate a ResultSetMetaData object by invoking the getMetaData method of the Statement class. A ResultSetMetaData instance is populated with data after the statement has been executed. The following query prints out the columns in the result of the query:

String connectionString = "jdbc:servicenow:InitiateOAuth=GETANDREFRESH;OAuthClientId=MyClientId;OAuthClientSecret=MyClientSecret;User=MyUser;Password=MyPassword;Url=https://MyInstance12345.service-now.com/;";

Connection conn = DriverManager.getConnection(connectionString);
PreparedStatement pstmt = conn.prepareStatement("SELECT sys_id, priority AS My_priority, GETDATE() FROM incident WHERE category = 'request'");
pstmt.executeQuery();
ResultSetMetaData rs = pstmt.getMetaData();
for(int i=1;i<=rs.getColumnCount();i++) {
  System.out.println(rs.getColumnName(i));
}

SQL Compliance

The JDBC Driver for ServiceNow supports several operations on data, including querying, deleting, modifying, and inserting.

SELECT Statements

See SELECT Statements for a syntax reference and examples.

See Data Model for information on the capabilities of the ServiceNow API.

INSERT Statements

See INSERT Statements for a syntax reference and examples.

UPDATE Statements

The primary key sys_id is required to update a record. See UPDATE Statements for a syntax reference and examples.

DELETE Statements

The primary key sys_id is required to delete a record. See DELETE Statements for a syntax reference and examples.

GETDELETED Statements

GETDELETED statements return the Ids of deleted records. See GETDELETED Statements for a syntax reference and examples.

CACHE Statements

CACHE statements allow granular control over the driver's caching functionality. For a syntax reference and examples, see CACHE Statements.

For more information on the caching feature, see Caching Data.

REPLICATE Statements

REPLICATE statements allow high-level control over caching and incremental updates. For a syntax reference and examples, see REPLICATE Statements.

You can also incrementally update a cache automatically; see AutoCache for more information.

EXECUTE Statements

Use EXECUTE or EXEC statements to execute stored procedures. See EXECUTE Statements for a syntax reference and examples.

Names and Quoting

  • Table and column names are considered identifier names; as such, they are restricted to the following characters: [A-Z, a-z, 0-9, _:@].
  • To use a table or column name with characters not listed above, the name must be quoted using square brackets ([name]) in any SQL statement.
  • Parameter names can optionally start with the @ symbol (e.g., @p1 or @CustomerName) and cannot be quoted.
  • Strings must be quoted using single quotes (e.g., 'John Doe').

Transactions and Batching

Transactions are not currently supported.

Additionally, the driver does not support batching of SQL statements. To execute multiple commands, you can create multiple instances and execute each separately.

SELECT Statements

A SELECT statement can consist of the following basic clauses.

  • SELECT
  • INTO
  • FROM
  • JOIN
  • WHERE
  • GROUP BY
  • HAVING
  • UNION
  • ORDER BY
  • LIMIT

SELECT Syntax

The following syntax diagram outlines the syntax supported by the SQL engine of the driver:

SELECT {
  [ TOP <numeric_literal> | DISTINCT ]
  { 
    * 
    | { 
        <expression> [ [ AS ] <column_reference> ] 
        | { <table_name> | <correlation_name> } .* 
      } [ , ... ] 
  }
  [ INTO csv:// [ filename= ] <file_path> [ ;delimiter=tab ] ]
  { 
    FROM <table_reference> [ [ AS ] <identifier> ] 
  } [ , ... ]
  [ [  
      INNER | { { LEFT | RIGHT | FULL } [ OUTER ] } 
    ] JOIN <table_reference> [ ON <search_condition> ] [ [ AS ] <identifier> ] 
  ] [ ... ] 
  [ WHERE <search_condition> ]
  [ GROUP BY <column_reference> [ , ... ]
  [ HAVING <search_condition> ]
  [ UNION [ ALL ] <select_statement> ]
  [ 
    ORDER BY 
    <column_reference> [ ASC | DESC ] [ NULLS FIRST | NULLS LAST ]
  ]
  [ 
    LIMIT <expression>
    [ 
      { OFFSET | , }
      <expression> 
    ]
  ] 
} | SCOPE_IDENTITY() 

<expression> ::=
  | <column_reference>
  | @ <parameter> 
  | ?
  | COUNT( * | { [ DISTINCT ] <expression> } )
  | { AVG | MAX | MIN | SUM | COUNT } ( <expression> ) 
  | NULLIF ( <expression> , <expression> ) 
  | COALESCE ( <expression> , ... ) 
  | CASE <expression>
      WHEN { <expression> | <search_condition> } THEN { <expression> | NULL } [ ... ]
    [ ELSE { <expression> | NULL } ]
    END 
  | <literal>
  | <sql_function> 

<search_condition> ::= 
  {
    <expression> { = | > | < | >= | <= | <> | != | LIKE | NOT LIKE | IN | NOT IN | IS NULL | IS NOT NULL | AND | OR | CONTAINS | BETWEEN } [ <expression> ]
} [ { AND | OR } ... ] 

Examples

  1. Return all columns:
    SELECT * FROM incident
  2. Rename a column:
    SELECT [priority] AS MY_priority FROM incident
  3. Cast a column's data as a different data type:
    SELECT CAST(priority AS VARCHAR) AS Str_priority FROM incident
  4. Search data:
    SELECT * FROM incident WHERE category = 'request';
  5. Return the number of items matching the query criteria:
    SELECT COUNT(*) AS MyCount FROM incident 
  6. Return the number of unique items matching the query criteria:
    SELECT COUNT(DISTINCT priority) FROM incident 
  7. Return the unique items matching the query criteria:
    SELECT DISTINCT priority FROM incident 
  8. Summarize data:
    SELECT priority, MAX(priority) FROM incident GROUP BY priority
    See Aggregate Functions for details.
  9. Retrieve data from multiple tables.
    SELECT incident.close_notes, system_user.name FROM incident INNER JOIN system_user ON incident.caller_id = system_user.system_id
    See JOIN Queries for details.
  10. Sort a result set in ascending order:
    SELECT sys_id, priority FROM incident  ORDER BY priority ASC
  11. Restrict a result set to the specified number of rows:
    SELECT sys_id, priority FROM incident LIMIT 10 
  12. Parameterize a query to pass in inputs at execution time. This enables you to create prepared statements and mitigate SQL injection attacks.
    SELECT * FROM incident WHERE category = @param
See Explicitly Caching Data for information on using the SELECT statement in offline mode.

Pseudo Columns

Some input-only fields are available in SELECT statements. These fields, called pseudo columns, do not appear as regular columns in the results, yet may be specified as part of the WHERE clause. You can use pseudo columns to access additional features from ServiceNow.

SELECT * FROM incident WHERE Pseudo = '@Pseudo'

Aggregate Functions

COUNT

Returns the number of rows matching the query criteria.

SELECT COUNT(*) FROM incident WHERE category = 'request'

COUNT(DISTINCT)

Returns the number of distinct, non-null field values matching the query criteria.

SELECT COUNT(DISTINCT sys_id) AS DistinctValues FROM incident WHERE category = 'request'

AVG

Returns the average of the column values.

SELECT priority, AVG(priority) FROM incident WHERE category = 'request'  GROUP BY priority

MIN

Returns the minimum column value.

SELECT MIN(priority), priority FROM incident WHERE category = 'request' GROUP BY priority

MAX

Returns the maximum column value.

SELECT priority, MAX(priority) FROM incident WHERE category = 'request' GROUP BY priority

SUM

Returns the total sum of the column values.

SELECT SUM(priority) FROM incident WHERE category = 'request'

JOIN Queries

The JDBC Driver for ServiceNow supports standard SQL joins like the following examples.

Inner Join

An inner join selects only rows from both tables that match the join condition:

SELECT incident.close_notes, system_user.name FROM incident INNER JOIN system_user ON incident.caller_id = system_user.system_id

Left Join

A left join selects all rows in the FROM table and only matching rows in the JOIN table:

SELECT incident.close_notes, system_user.name FROM incident LEFT JOIN system_user ON incident.caller_id = system_user.system_id

Date Literal Functions

The following date literal functions can be used to filter date fields using relative intervals. Note that while the <, >, and = operators are supported for these functions, <= and >= are not.

L_TODAY()

The current day.

SELECT * FROM MyTable WHERE MyDateField = L_TODAY()

L_YESTERDAY()

The previous day.

SELECT * FROM MyTable WHERE MyDateField = L_YESTERDAY()

L_TOMORROW()

The following day.

SELECT * FROM MyTable WHERE MyDateField = L_TOMORROW()

L_LAST_WEEK()

Every day in the preceding week.

SELECT * FROM MyTable WHERE MyDateField = L_LAST_WEEK()

L_THIS_WEEK()

Every day in the current week.

SELECT * FROM MyTable WHERE MyDateField = L_THIS_WEEK()

L_NEXT_WEEK()

Every day in the following week.

SELECT * FROM MyTable WHERE MyDateField = L_NEXT_WEEK()
Also available:
  • L_LAST/L_THIS/L_NEXT MONTH
  • L_LAST/L_THIS/L_NEXT QUARTER
  • L_LAST/L_THIS/L_NEXT YEAR

L_LAST_N_DAYS(n)

The previous n days, excluding the current day.

SELECT * FROM MyTable WHERE MyDateField = L_LAST_N_DAYS(3)

L_NEXT_N_DAYS(n)

The following n days, including the current day.

SELECT * FROM MyTable WHERE MyDateField = L_NEXT_N_DAYS(3)
Also available:
  • L_LAST/L_NEXT_90_DAYS

L_LAST_N_WEEKS(n)

Every day in every week, starting n weeks before current week, and ending in the previous week.

SELECT * FROM MyTable WHERE MyDateField = L_LAST_N_WEEKS(3)

L_NEXT_N_WEEKS(n)

Every day in every week, starting the following week, and ending n weeks in the future.

SELECT * FROM MyTable WHERE MyDateField = L_NEXT_N_WEEKS(3)
Also available:
  • L_LAST/L_NEXT_N_MONTHS(n)
  • L_LAST/L_NEXT_N_QUARTERS(n)
  • L_LAST/L_NEXT_N_YEARS(n)

SELECT INTO Statements

You can use the SELECT INTO statement to export formatted data to a file.

Data Export with an SQL Query

The following query exports data into a file formatted in comma-separated values (CSV):

boolean ret = stat.execute("SELECT sys_id, priority INTO [csv://c:/incident.txt] FROM [incident] WHERE category = 'request'");
System.out.println(stat.getUpdateCount()+" rows affected");
You can specify other file formats in the URI. The following example exports tab-separated values:
Statement stat = conn.createStatement();
boolean ret = stat.execute("SELECT * INTO [incident] IN 'csv://filename=c:/incident.csv;delimiter=tab' FROM [incident] WHERE category = 'request'");
System.out.println(stat.getUpdateCount()+" rows affected");

SQL Functions

The driver provides functions that are similar to those that are available with most standard databases. These functions are implemented in the provider engine and thus are available across all data sources with the same consistent API. Three categories of functions are available: string, date, and math.

The driver interprets all SQL function inputs as either strings or column identifiers, so you need to escape all literals as strings, with single quotes. For example, contrast the SQL Server syntax and driver syntax for the DATENAME function:

  • SQL Server:
    SELECT DATENAME(yy,GETDATE())
  • driver:
    SELECT DATENAME('yy',GETDATE())

String Functions

These functions perform string manipulations and return a string value. See STRING Functions for more details.

SELECT CONCAT(firstname, space(4), lastname) FROM incident WHERE category = 'request'

Date Functions

These functions perform date and date time manipulations. See DATE Functions for more details.

SELECT CURRENT_TIMESTAMP() FROM incident

Math Functions

These functions provide mathematical operations. See MATH Functions for more details.

SELECT RAND() FROM incident

Function Parameters and Nesting SQL Functions

The driver supports column names, constants, and results of other functions as parameters to functions. The following are all valid uses of SQL functions:
SELECT CONCAT('Mr.', SPACE(2), firstname, SPACE(4), lastname) FROM incident

STRING Functions

ASCII(character_expression)

Returns the ASCII code value of the left-most character of the character expression.

  • character_expression: The character expression.
SELECT ASCII('0');
                      --  Result: 48

CHAR(integer_expression)

Converts the integer ASCII code to the corresponding character.

  • integer_expression: The integer from 0 through 255.
SELECT CHAR(48);
                      -- Result: '0'

CHARINDEX(expressionToFind ,expressionToSearch [,start_location ])

Returns the starting position of the specified expression in the character string.

  • expressionToFind: The character expression to find.
  • expressionToSearch: The character expression, typically a column, to search.
  • start_location: The optional character position to start searching for expressionToFind in expressionToSearch.
SELECT CHARINDEX('456', '0123456');
                      -- Result: 4

                      SELECT CHARINDEX('456', '0123456', 5);
                      -- Result: -1

CHAR_LENGTH(character_expression),

Returns the number of UTF-8 characters present in the expression.

  • character_expression: The set of characters to be be evaluated for length.
SELECT CHAR_LENGTH('sample text') FROM Account LIMIT 1
				 -- Result: 11			

CONCAT(string_value1, string_value2 [, string_valueN])

Returns the string that is the concatenation of two or more string values.

  • string_value1: The first string to be concatenated.
  • string_value2: The second string to be concatenated.
  • *: The optional additional strings to be concatenated.
SELECT CONCAT('Hello, ', 'world!');
                      -- Result: 'Hello, world!'

CONTAINS(expressionToSearch, expressionToFind)

Returns 1 if expressionToFind is found within expressionToSearch; otherwise, 0.

  • expressionToSearch: The character expression, typically a column, to search.
  • expressionToFind: The character expression to find.
SELECT CONTAINS('0123456', '456');
                      -- Result: 1

                      SELECT CONTAINS('0123456', 'Not a number');
                      -- Result: 0

ENDSWITH(character_expression, character_suffix)

Returns 1 if character_expression ends with character_suffix; otherwise, 0.

  • character_expression: The character expression.
  • character_suffix: The character suffix to search for.
SELECT ENDSWITH('0123456', '456');
                      -- Result: 1

                      SELECT ENDSWITH('0123456', '012');
                      -- Result: 0

FILESIZE(uri)

Returns the number of bytes present in the file at the specified file path.

  • uri: The path of the file to read the size from.
SELECT FILESIZE('C:/Users/User1/Desktop/myfile.txt');
				-- Result: 23684

FORMAT(value [, parseFormat], format )

Returns the value formatted with the specified format.

  • value: The string to format.
  • format: The string specifying the output syntax of the date or numeric format.
  • parseFormat: The string specifying the input syntax of the date value. Not applicable to numeric types.
SELECT FORMAT(12.34, '#');
                      -- Result: 12

                      SELECT FORMAT(12.34, '#.###');
                      -- Result: 12.34

                      SELECT FORMAT(1234, '0.000E0');
                      -- Result: 1.234E3
                      
                      SELECT FORMAT('2019/01/01', 'yyyy-MM-dd');
                      -- Result: 2019-01-01
                      
                      SELECT FORMAT('20190101', 'yyyyMMdd', 'yyyy-MM-dd');
                      -- Result: '2019-01-01'

FROM_UNIXTIME(time, issecond)

Returns a representation of the unix_timestamp argument as a value in YYYY-MM-DD HH:MM:SS expressed in the current time zone.

  • time: The time stamp value from epoch time. Milliseconds are accepted.
  • issecond: Indicates the time stamp value is milliseconds to epoch time.
SELECT FROM_UNIXTIME(1540495231, 1);
                      -- Result: 2018-10-25 19:20:31

                      SELECT FROM_UNIXTIME(1540495357385, 0);
                      -- Result: 2018-10-25 19:22:37

HASHBYTES(algorithm, value)

Returns the hash of the input value as a byte array using the given algorithm. The supported algorithms are MD5, SHA1, SHA2_256, SHA2_512, SHA3_224, SHA3_256, SHA3_384, and SHA3_512.

  • algorithm: The algorithm to use for hashing. Must be one of MD5, SHA1, SHA2_256, SHA2_512, SHA3_224, SHA3_256, SHA3_384, or SHA3_512.
  • value: The value to hash. Must be either a string or byte array.
SELECT HASHBYTES('MD5', 'Test');
                      -- Result (byte array): 0x0CBC6611F5540BD0809A388DC95A615B

INDEXOF(expressionToSearch, expressionToFind [,start_location ])

Returns the starting position of the specified expression in the character string.

  • expressionToSearch: The character expression, typically a column, to search.
  • expressionToFind: The character expression to find.
  • start_location: The optional character position to start searching for expressionToFind in expressionToSearch.
SELECT INDEXOF('0123456', '456');
                      -- Result: 4

                      SELECT INDEXOF('0123456', '456', 5);
                      -- Result: -1

ISNULL ( check_expression , replacement_value )

Replaces null with the specified replacement value.

  • check_expression: The expression to be checked for null.
  • replacement_value: The expression to be returned if check_expression is null.
SELECT ISNULL(42, 'Was NULL');
                      -- Result: 42

                      SELECT ISNULL(NULL, 'Was NULL');
                      -- Result: 'Was NULL'

JSON_AVG(json, jsonpath)

Computes the average value of a JSON array within a JSON object. The path to the array is specified in the jsonpath argument. Return value is numeric or null.

  • json: The JSON document to compute.
  • jsonpath: The JSONPath used to select the nodes. [x], [2..], [..8], or [1..12] are accepted. [x] selects all nodes.
SELECT JSON_AVG('[1,2,3,4,5]', '$[x]');
                      -- Result: 3

                      SELECT JSON_AVG('{"test": {"data": [1,2,3,4,5]}}', '$.test.data[x]');
                      -- Result: 3

                      SELECT JSON_AVG('{"test": {"data": [1,2,3,4,5]}}', '$.test.data[3..]');
                      -- Result: 4.5

JSON_COUNT(json, jsonpath)

Returns the number of elements in a JSON array within a JSON object. The path to the array is specified in the jsonpath argument. Return value is numeric or null.

  • json: The JSON document to compute.
  • jsonpath: The JSONPath used to select the nodes. [x], [2..], [..8], or [1..12] are accepted. [x] selects all nodes.
SELECT JSON_COUNT('[1,2,3,4,5]', '$[x]');
                      -- Result: 5

                      SELECT JSON_COUNT('{"test": {"data": [1,2,3,4,5]}}', '$.test.data[x]');
                      -- Result: 5

                      SELECT JSON_COUNT('{"test": {"data": [1,2,3,4,5]}}', '$.test.data[3..]');
                      -- Result: 2

JSON_EXTRACT(json, jsonpath)

Selects any value in a JSON array or object. The path to the array is specified in the jsonpath argument. Return value is numeric or null.

  • json: The JSON document to extract.
  • jsonpath: The XPath used to select the nodes. The JSONPath must be a string constant. The values of the nodes selected will be returned in a token-separated list.
SELECT JSON_EXTRACT('{"test": {"data": 1}}', '$.test');
                      -- Result: '{"data":1}'

                      SELECT JSON_EXTRACT('{"test": {"data": 1}}', '$.test.data');
                      -- Result: 1

                      SELECT JSON_EXTRACT('{"test": {"data": [1, 2, 3]}}', '$.test.data[1]');
                      -- Result: 2

JSON_MAX(json, jsonpath)

Gets the maximum value in a JSON array within a JSON object. The path to the array is specified in the jsonpath argument. Return value is numeric or null.

  • json: The JSON document to compute.
  • jsonpath: The JSONPath used to select the nodes. [x], [2..], [..8], or [1..12] are accepted. [x] selects all nodes.
SELECT JSON_MAX('[1,2,3,4,5]', '$[x]');
                      -- Result: 5

                      SELECT JSON_MAX('{"test": {"data": [1,2,3,4,5]}}', '$.test.data[x]');
                      -- Result: 5

                      SELECT JSON_MAX('{"test": {"data": [1,2,3,4,5]}}', '$.test.data[..3]');
                      -- Result: 4

JSON_MIN(json, jsonpath)

Gets the minimum value in a JSON array within a JSON object. The path to the array is specified in the jsonpath argument. Return value is numeric or null.

  • json: The JSON document to compute.
  • jsonpath: The JSONPath used to select the nodes. [x], [2..], [..8], or [1..12] are accepted. [x] selects all nodes.
SELECT JSON_MIN('[1,2,3,4,5]', '$[x]');
                      -- Result: 1

                      SELECT JSON_MIN('{"test": {"data": [1,2,3,4,5]}}', '$.test.data[x]');
                      -- Result: 1

                      SELECT JSON_MIN('{"test": {"data": [1,2,3,4,5]}}', '$.test.data[3..]');
                      -- Result: 4

JSON_SUM(json, jsonpath)

Computes the summary value in JSON according to the JSONPath expression. Return value is numeric or null.

  • json: The JSON document to compute.
  • jsonpath: The JSONPath used to select the nodes. [x], [2..], [..8], or [1..12] are accepted. [x] selects all nodes.
SELECT JSON_SUM('[1,2,3,4,5]', '$[x]');
                      -- Result: 15

                      SELECT JSON_SUM('{"test": {"data": [1,2,3,4,5]}}', '$.test.data[x]');
                      -- Result: 15

                      SELECT JSON_SUM('{"test": {"data": [1,2,3,4,5]}}', '$.test.data[3..]');
                      -- Result: 9

LEFT ( character_expression , integer_expression )

Returns the specified number of characters counting from the left of the specified string.

  • character_expression: The character expression.
  • integer_expression: The positive integer that specifies how many characters will be returned counting from the left of character_expression.
SELECT LEFT('1234567890', 3);
                      -- Result: '123'

LEN(string_expression)

Returns the number of characters of the specified string expression.

  • string_expression: The string expression.
SELECT LEN('12345');
                      -- Result: 5

LOCATE(substring,string)

Returns an integer representing how many characters into the string the substring appears.

  • substring: The substring to find inside larger string.
  • string: The larger string that will be searched for the substring.
SELECT LOCATE('sample','XXXXXsampleXXXXX');
				-- Result: 6

LOWER ( character_expression )

Returns the character expression with the uppercase character data converted to lowercase.

  • character_expression: The character expression.
SELECT LOWER('MIXED case');
                      -- Result: 'mixed case'

LTRIM(character_expression)

Returns the character expression with leading blanks removed.

  • character_expression: The character expression.
SELECT LTRIM('     trimmed');
                      -- Result: 'trimmed'

MASK(string_expression, mask_character [, start_index [, end_index ]])

Replaces the characters between start_index and end_index with the mask_character within the string.

  • string_expression: The string expression to be searched.
  • mask_character: The character to mask with.
  • start_index: The optional number of characters to leave unmasked at beginning of string. Defaults to 0.
  • end_index: The optional number of characters to leave unmasked at end of string. Defaults to 0.
SELECT MASK('1234567890','*',);
                        -- Result: '**********'
                        SELECT MASK('1234567890','*', 4);
                        -- Result: '1234******'
                        SELECT MASK('1234567890','*', 4, 2);
                        -- Result: '1234****90'  

NCHAR(integer_expression)

Returns the Unicode character with the specified integer code as defined by the Unicode standard.

  • integer_expression: The integer from 0 through 255.

OCTET_LENGTH(character_expression),

Returns the number of bytes present in the expression.

  • character_expression: The set of characters to be be evaluated.
SELECT OCTET_LENGTH('text') FROM Account LIMIT 1
				 -- Result: 4

PATINDEX(pattern, expression)

Returns the starting position of the first occurrence of the pattern in the expression. Returns 0 if the pattern is not found.

  • pattern: The character expression that contains the sequence to be found. The wild-card character % can be used only at the start or end of the expression.
  • expression: The expression, typically a column, to search for the pattern.
SELECT PATINDEX('123%', '1234567890');
                      -- Result: 1

                      SELECT PATINDEX('%890', '1234567890');
                      -- Result: 8

                      SELECT PATINDEX('%456%', '1234567890');
                      -- Result: 4

POSITION(expressionToFind IN expressionToSearch)

Returns the starting position of the specified expression in the character string.

  • expressionToFind: The character expression to find.
  • expressionToSearch: The character expression, typically a column, to search.
SELECT POSITION('456' IN '123456');
                      -- Result: 4

                      SELECT POSITION('x' IN '123456');
                      -- Result: 0

QUOTENAME(character_string [, quote_character])

Returns a valid SQL Server-delimited identifier by adding the necessary delimiters to the specified Unicode string.

  • character_string: The string of Unicode character data. The string is limited to 128 characters. Inputs greater than 128 characters return null.
  • quote_character: The optional single character to be used as the delimiter. Can be a single quotation mark, a left or right bracket, or a double quotation mark. If quote_character is not specified brackets are used.
SELECT QUOTENAME('table_name');
                      -- Result: '[table_name]'

                      SELECT QUOTENAME('table_name', '"');
                      -- Result: '"table_name"'

                      SELECT QUOTENAME('table_name', '[');
                      -- Result: '[table_name]'

REPLACE(string_expression, string_pattern, string_replacement)

Replaces all occurrences of a string with another string.

  • string_expression: The string expression to be searched. Can be a character or binary data type.
  • string_pattern: The substring to be found. Cannot be an empty string.
  • string_replacement: The replacement string.
SELECT REPLACE('1234567890', '456', '|');
                      -- Result: '123|7890'

                      SELECT REPLACE('123123123', '123', '.');
                      -- Result: '...'

                      SELECT REPLACE('1234567890', 'a', 'b');
                      -- Result: '1234567890'

REPLICATE ( string_expression ,integer_expression )

Repeats the string value the specified number of times.

  • string_expression: The string to replicate.
  • integer_expression: The repeat count.
SELECT REPLACE('x', 5);
                      -- Result: 'xxxxx'

REVERSE ( string_expression )

Returns the reverse order of the string expression.

  • string_expression: The string.
SELECT REVERSE('1234567890');
                      -- Result: '0987654321'

RIGHT ( character_expression , integer_expression )

Returns the right part of the string with the specified number of characters.

  • character_expression: The character expression.
  • integer_expression: The positive integer that specifies how many characters of the character expression will be returned.
SELECT RIGHT('1234567890', 3);
                      -- Result: '890'

RTRIM(character_expression)

Returns the character expression after it removes trailing blanks.

  • character_expression: The character expression.
SELECT RTRIM('trimmed     ');
                      -- Result: 'trimmed'

SOUNDEX(character_expression)

Returns the four-character Soundex code, based on how the string sounds when spoken.

  • character_expression: The alphanumeric expression of character data.
SELECT SOUNDEX('smith');
                      -- Result: 'S530'

SPACE(repeatcount)

Returns the string that consists of repeated spaces.

  • repeatcount: The number of spaces.
SELECT SPACE(5);
                      -- Result: '     '

SPLIT(string, delimiter, offset)

Returns a section of the string between to delimiters.

  • string: The string to split.
  • delimiter: The character to split the string with.
  • offset: The number of the split to return. Positive numbers are treated as offsets from the left, and negative numbers are treated as offsets from the right.
SELECT SPLIT('a/b/c/d', '/', 1);
                      -- Result: 'a'
                      SELECT SPLIT('a/b/c/d', '/', -2);
                      -- Result: 'c'

STARTSWITH(character_expression, character_prefix)

Returns 1 if character_expression starts with character_prefix; otherwise, 0.

  • character_expression: The character expression.
  • character_prefix: The character prefix to search for.
SELECT STARTSWITH('0123456', '012');
                      -- Result: 1

                      SELECT STARTSWITH('0123456', '456');
                      -- Result: 0

STR ( float_expression [ , integer_length [ , integer_decimal ] ] )

Returns the character data converted from the numeric data. For example, STR(123.45, 6, 1) returns 123.5.

  • float_expression: The float expression.
  • length: The optional total length to return. This includes decimal point, sign, digits, and spaces. The default is 10.
  • decimal: The optional number of places to the right of the decimal point. The decimal must be less than or equal to 16.
SELECT STR('123.456');
                      -- Result: '123'

                      SELECT STR('123.456', 2);
                      -- Result: '**'

                      SELECT STR('123.456', 10, 2);
                      -- Result: '123.46'

STUFF(character_expression , integer_start , integer_length , replaceWith_expression)

Inserts a string into another string. It deletes the specified length of characters in the first string at the start position and then inserts the second string into the first string at the start position.

  • character_expression: The string expression.
  • start: The integer value that specifies the location to start deletion and insertion. If start or length is negative, null is returned. If start is longer than the string to be modified, character_expression, null is returned.
  • length: The integer that specifies the number of characters to delete. If length is longer than character_expression, deletion occurs up to the last character in replaceWith_expression.
  • replaceWith_expression: The expression of character data that will replace length characters of character_expression beginning at the start value.
SELECT STUFF('1234567890', 3, 2, 'xx');
                      -- Result: '12xx567890'

SUBSTRING(string_value FROM start FOR length)

Returns the part of the string with the specified length; starts at the specified index.

  • string_value: The character string.
  • start: The positive integer that specifies the start index of characters to return.
  • length: Optional. The positive integer that specifies how many characters will be returned.
SELECT SUBSTRING('1234567890' FROM 3 FOR 2);
                      -- Result: '34'

                      SELECT SUBSTRING('1234567890' FROM 3);
                      -- Result: '34567890'

TOSTRING(string_value1)

Converts the value of this instance to its equivalent string representation.

  • string_value1: The string to be converted.
SELECT TOSTRING(123);
                      -- Result: '123'

                      SELECT TOSTRING(123.456);
                      -- Result: '123.456'

                      SELECT TOSTRING(null);
                      -- Result: ''

TRIM(trimspec trimchar FROM string_value)

Returns the character expression with leading and/or trailing blanks removed.

  • trimspec: Optional. If included must be one of the keywords BOTH, LEADING or TRAILING.
  • trimchar: Optional. If included should be a one-character string value.
  • string_value: The string value to trim.
SELECT TRIM('     trimmed     ');
                      -- Result: 'trimmed'

                      SELECT TRIM(LEADING FROM '     trimmed     ');
                      -- Result: 'trimmed     '

                      SELECT TRIM('-' FROM '-----trimmed-----');
                      -- Result: 'trimmed'

                      SELECT TRIM(BOTH '-' FROM '-----trimmed-----');
                      -- Result: 'trimmed'

                      SELECT TRIM(TRAILING '-' FROM '-----trimmed-----');
                      -- Result: '-----trimmed'

UNICODE(ncharacter_expression)

Returns the integer value defined by the Unicode standard of the first character of the input expression.

  • ncharacter_expression: The Unicode character expression.

UPPER ( character_expression )

Returns the character expression with lowercase character data converted to uppercase.

  • character_expression: The character expression.
SELECT UPPER('MIXED case');
                      -- Result: 'MIXED CASE'

XML_EXTRACT(xml, xpath [, separator])

Extracts an XML document using the specified XPath to flatten the XML. A comma is used to separate the outputs by default, but this can be changed by specifying the third parameter.

  • xml: The XML document to extract.
  • xpath: The XPath used to select the nodes. The nodes selected will be returned in a token-separated list.
  • separator: The optional token used to separate the items in the flattened response. If this is not specified, the separator will be a comma.
SELECT XML_EXTRACT('<vowels><ch>a</ch><ch>e</ch><ch>i</ch><ch>o</ch><ch>u</ch></vowels>', '/vowels/ch');
                      -- Result: 'a,e,i,o,u'

                      SELECT XML_EXTRACT('<vowels><ch>a</ch><ch>e</ch><ch>i</ch><ch>o</ch><ch>u</ch></vowels>', '/vowels/ch', ';');
                      -- Result: 'a;e;i;o;u'

DATE Functions

CURRENT_DATE()

Returns the current date value.

SELECT CURRENT_DATE();
                  -- Result: 2018-02-01

CURRENT_TIMESTAMP()

Returns the current time stamp of the database system as a datetime value. This value is equal to GETDATE and SYSDATETIME, and is always in the local timezone.

SELECT CURRENT_TIMESTAMP();
                  -- Result: 2018-02-01 03:04:05

DATEADD (datepart , integer_number , date [, dateformat])

Returns the datetime value that results from adding the specified number (a signed integer) to the specified date part of the date.

  • datepart: The part of the date to add the specified number to. The valid values and abbreviations are year (yy, yyyy), quarter (qq, q), month (mm, m), dayofyear (dy, y), day (dd, d), week (wk, ww), weekday (dw), hour (hh), minute (mi, n), second (ss, s), and millisecond (ms).
  • number: The number to be added.
  • date: The expression of the datetime data type.
  • dateformat: The optional output date format.
SELECT DATEADD('d', 5, '2018-02-01');
                  -- Result: 2018-02-06

                  SELECT DATEADD('hh', 5, '2018-02-01 00:00:00');
                  -- Result: 2018-02-01 05:00:00

DATEDIFF ( datepart , startdate , enddate )

Returns the difference (a signed integer) of the specified time interval between the specified start date and end date.

  • datepart: The part of the date that is the time interval of the difference between the start date and end date. The valid values and abbreviations are day (dd, d), hour (hh), minute (mi, n), second (ss, s), and millisecond (ms).
  • startdate: The datetime expression of the start date.
  • enddate: The datetime expression of the end date.
SELECT DATEDIFF('d', '2018-02-01', '2018-02-10');
                  -- Result: 9

                  SELECT DATEDIFF('hh', '2018-02-01 00:00:00', '2018-02-01 12:00:00');
                  -- Result: 12

DATEFROMPARTS(integer_year, integer_month, integer_day)

Returns the datetime value for the specified year, month, and day.

  • year: The integer expression specifying the year.
  • month: The integer expression specifying the month.
  • day: The integer expression specifying the day.
SELECT DATEFROMPARTS(2018, 2, 1);
                    -- Result: 2018-02-01

DATENAME(datepart , date)

Returns the character string that represents the specified date part of the specified date.

  • datepart: The part of the date to return. The valid values and abbreviations are year (yy, yyyy), quarter (qq, q), month (mm, m), dayofyear (dy, y), day (dd, d), week (wk, ww), weekday (dw), hour (hh), minute (mi, n), second (ss, s), millisecond (ms), microsecond (mcs), nanosecond (ns), and TZoffset (tz).
  • date: The datetime expression.
SELECT DATENAME('yy', '2018-02-01');
                     -- Result: '2018'

                     SELECT DATENAME('dw', '2018-02-01');
                     -- Result: 'Thursday'

DATEPART(datepart, date [,integer_datefirst])

Returns a character string that represents the specified date part of the specified date.

  • datepart: The part of the date to return. The valid values and abbreviations are year (yy, yyyy), quarter (qq, q), month (mm, m), dayofyear (dy, y), day (dd, d), week (wk, ww), weekday (dw), hour (hh), minute (mi, n), second (ss, s), millisecond (ms), microsecond (mcs), nanosecond (ns), TZoffset (tz), ISODOW, ISO_WEEK (isoweek, isowk,isoww), and ISOYEAR.
  • date: The datetime string.
  • datefirst: The optional integer representing the first day of the week. The default is 7, Sunday.
SELECT DATEPART('yy', '2018-02-01');
                    -- Result: 2018

                    SELECT DATEPART('dw', '2018-02-01');
                    -- Result: 5

DATETIME2FROMPARTS(integer_year, integer_month, integer_day, integer_hour, integer_minute, integer_seconds, integer_fractions, integer_precision)

Returns the datetime value for the specified date parts.

  • year: The integer expression specifying the year.
  • month: The integer expression specifying the month.
  • day: The integer expression specifying the day.
  • hour: The integer expression specifying the hour.
  • minute: The integer expression specifying the minute.
  • seconds: The integer expression specifying the seconds.
  • fractions: The integer expression specifying the fractions of the second.
  • precision: The integer expression specifying the precision of the fraction.
SELECT DATETIME2FROMPARTS(2018, 2, 1, 1, 2, 3, 456, 3);
                    -- Result: 2018-02-01 01:02:03.456

DATETIMEFROMPARTS(integer_year, integer_month, integer_day, integer_hour, integer_minute, integer_seconds, integer_milliseconds)

Returns the datetime value for the specified date parts.

  • year: The integer expression specifying the year.
  • month: The integer expression specifying the month.
  • day: The integer expression specifying the day.
  • hour: The integer expression specifying the hour.
  • minute: The integer expression specifying the minute.
  • seconds: The integer expression specifying the seconds.
  • milliseconds: The integer expression specifying the milliseconds.
SELECT DATETIMEFROMPARTS(2018, 2, 1, 1, 2, 3, 456);
                    -- Result: 2018-02-01 01:02:03.456

DATE_TRUNC(date, datepart)

Truncates the date to the precision of the given date part. Modeled after the Oracle TRUNC function.

  • date: The datetime string that specifies the date.
  • datepart: Refer to the Oracle documentation for valid datepart syntax.
SELECT DATE_TRUNC('05-04-2005', 'YY');
                    -- Result: '1/1/2005'
					
                    SELECT DATE_TRUNC('05-04-2005', 'MM');
                    -- Result: '5/1/2005'                    

DATE_TRUNC2(datepart, date, [weekday])

Truncates the date to the precision of the given date part. Modeled after the PostgreSQL date_trunc function.

  • datepart: One of 'millennium', 'century', 'decade', 'year', 'quarter', 'month', 'week', 'day', 'hour', 'minute' or 'second'.
  • date: The datetime string that specifies the date.
  • weekday: The optional day of the week to use as the first day for 'week'. One of 'sunday', 'monday', etc.
SELECT DATE_TRUNC2('year', '2020-02-04');
                    -- Result: '2020-01-01'

                    SELECT DATE_TRUNC2('week', '2020-02-04', 'monday');
                    -- Result: '2020-02-02', which is the previous Monday

DAY(date)

Returns the integer that specifies the day component of the specified date.

  • date: The datetime string that specifies the date.
SELECT DAY('2018-02-01');
                    -- Result: 1

DAYOFMONTH(date)

Returns the day of the month of the given date part.
  • date: The datetime string that specifies the date.
SELECT DAYOFMONTH('04/15/2000');
				  -- Result: 15

DAYOFWEEK(date)

Returns the day of the week of the given date part.
  • date: The datetime string that specifies the date.
SELECT DAYOFWEEK('04/15/2000');
				  -- Result: 7

DAYOFYEAR(date)

Returns the day of the year of the given date part.
  • date: The datetime string that specifies the date.
SELECT DAYOFYEAR('04/15/2000');
				  -- Result: 106

EOMONTH(date [, integer_month_to_add ]) or LAST_DAY(date)

Returns the last day of the month that contains the specified date with an optional offset.

  • date: The datetime expression specifying the date for which to return the last day of the month.
  • integer_month_to_add: The optional integer expression specifying the number of months to add to the date before calculating the end of the month.
SELECT EOMONTH('2018-02-01');
                  -- Result: 2018-02-28
                  
                  SELECT LAST_DAY('2018-02-01');
                  -- Result: 2018-02-28

                  SELECT EOMONTH('2018-02-01', 2);
                  -- Result: 2018-04-30

FDWEEK(date)

Returns the first day of the week of the given date part.
  • date: The datetime string that specifies the date.
SELECT FDWEEK('02-08-2018');
				  -- Result: 2/4/2018

FDMONTH(date)

Returns the first day of the month of the given date part.
  • date: The datetime string that specifies the date.
SELECT FDMONTH('02-08-2018');
				  -- Result: 2/1/2018

FDQUARTER(date)

Returns the first day of the quarter of the given date part.
  • date: The datetime string that specifies the date.
SELECT FDQUARTER('05-08-2018');
				  -- Result: 4/1/2018

FILEMODIFIEDTIME(uri)

Returns the time stamp associated with the Date Modified of the relevant file.

  • uri: An absolute path pointing to a file on the local file system.
SELECT FILEMODIFIEDTIME('C:/Documents/myfile.txt');
				 -- Result: 6/25/2019 10:06:58 AM

FROM_DAYS(datevalue)

Returns a date derived from the number of days after 1582-10-15 (based upon the Gregorian calendar). This will be equivalent to the MYSQL FROM_DAYS function.

  • datevalue: A integer value representing the number of days since 1582-10-15.
SELECT FROM_DAYS(736000);
				-- Result: 2/6/2015

GETDATE()

Returns the current time stamp of the database system as a datetime value. This value is equal to CURRENT_TIMESTAMP and SYSDATETIME, and is always in the local timezone.

SELECT GETDATE();
                  -- Result: 2018-02-01 03:04:05

GETUTCDATE()

Returns the current time stamp of the database system formatted as a UTC datetime value. This value is equal to SYSUTCDATETIME.

SELECT GETUTCDATE();
                  -- For example, if the local timezone is Eastern European Time (GMT+2)
                  -- Result: 2018-02-01 05:04:05

HOUR(date)

Returns the hour component from the provided datetime.

  • date: The datetime string that specifies the date.
SELECT HOUR('02-02-2020 11:30:00');
				-- Result: 11

ISDATE(date, [date_format])

Returns 1 if the value is a valid date, time, or datetime value; otherwise, 0.

  • date: The datetime string.
  • date_format: The optional datetime format.
SELECT ISDATE('2018-02-01', 'yyyy-MM-dd');
                      -- Result: 1

                      SELECT ISDATE('Not a date');
                      -- Result: 0

LAST_WEEK()

Returns a time stamp equivalent to exactly one week before the current date.

SELECT LAST_WEEK();	//Assume the date is 3/17/2020	
				-- Result: 3/10/2020

LAST_MONTH()

Returns a time stamp equivalent to exactly one month before the current date.

SELECT LAST_MONTH(); //Assume the date is 3/17/2020	
				-- Result: 2/17/2020

LAST_YEAR()

Returns a time stamp equivalent to exactly one year before the current date.

SELECT LAST_YEAR();	//Assume the date is 3/17/2020	
				-- Result: 3/10/2019

LDWEEK(date)

Returns the last day of the provided week.

  • date: The datetime string.
SELECT LDWEEK('02-02-2020');
				-- Result: 2/8/2020

LDMONTH(date)

Returns the last day of the provided month.

  • date: The datetime string.
SELECT LDMONTH('02-02-2020');
				-- Result: 2/29/2020

LDQUARTER(date)

Returns the last day of the provided quarter.

  • date: The datetime string.
SELECT LDQUARTER('02-02-2020');
				-- Result: 3/31/2020

MAKEDATE(year, days)

Returns a date value from a year and a number of days.

  • year: The year
  • days: The number of days into the year. Value must be greater than 0.
SELECT MAKEDATE(2020, 1);
          -- Result: 2020-01-01

MINUTE(date)

Returns the minute component from the provided datetime.

  • date: The datetime string that specifies the date.
SELECT MINUTE('02-02-2020 11:15:00');
				-- Result: 15

MONTH(date)

Returns the month component from the provided datetime.

  • date: The datetime string that specifies the date.
SELECT MONTH('02-02-2020');
				-- Result: 2

QUARTER(date)

Returns the quarter associated with the provided datetime.

  • date: The datetime string that specifies the date.
SELECT QUARTER('02-02-2020');
				-- Result: 1

SECOND(date)

Returns the second component from the provided datetime.

  • date: The datetime string that specifies the date.
SELECT SECOND('02-02-2020 11:15:23');
				-- Result: 23

SMALLDATETIMEFROMPARTS(integer_year, integer_month, integer_day, integer_hour, integer_minute)

Returns the datetime value for the specified date and time.

  • year: The integer expression specifying the year.
  • month: The integer expression specifying the month.
  • day: The integer expression specifying the day.
  • hour: The integer expression specifying the hour.
  • minute: The integer expression specifying the minute.
SELECT SMALLDATETIMEFROMPARTS(2018, 2, 1, 1, 2);
                      -- Result: 2018-02-01 01:02:00

STRTODATE(string,format)

Parses the provided string value and returns the corresponding datetime.

  • string: The string value to be converted to datetime format.
  • format: A format string which describes how to interpret the first string input. Follows standard Oracle date format syntax. A few special formats are available as well, including UNIX, UNIXMILIS, TICKS, and FILETICKS.
SELECT STRTODATE('03*04*2020','dd*MM*yyyy');
				-- Result: 4/3/2020

SYSDATETIME()

Returns the current time stamp as a datetime value of the database system. It is equal to GETDATE and CURRENT_TIMESTAMP, and is always in the local timezone.

SELECT SYSDATETIME();
                  -- Result: 2018-02-01 03:04:05

SYSUTCDATETIME()

Returns the current system date and time as a UTC datetime value. It is equal to GETUTCDATE.

SELECT SYSUTCDATETIME();
                  -- For example, if the local timezone is Eastern European Time (GMT+2)
                  -- Result: 2018-02-01 05:04:05

TIMEFROMPARTS(integer_hour, integer_minute, integer_seconds, integer_fractions, integer_precision)

Returns the time value for the specified time and with the specified precision.

  • hour: The integer expression specifying the hour.
  • minute: The integer expression specifying the minute.
  • seconds: The integer expression specifying the seconds.
  • fractions: The integer expression specifying the fractions of the second.
  • precision : The integer expression specifying the precision of the fraction.
SELECT TIMEFROMPARTS(1, 2, 3, 456, 3);
                      -- Result: 01:02:03.456

TO_DAYS(date)

Returns the number of days since 0000-00-01. This will only return a value for dates on or after 1582-10-15 (based upon the Gregorian calendar). This will be equivalent to the MYSQL TO_DAYS function.

  • date: The datetime string that specifies the date.
SELECT TO_DAYS('02-06-2015');
				-- Result: 736000

WEEK(date)

Returns the week (of the year) associated with the provided datetime.

  • date: The datetime string that specifies the date.
SELECT WEEK('02-17-2020 11:15:23');
				-- Result: 8

YEAR(date)

Returns the integer that specifies the year of the specified date.

  • date: The datetime string.
SELECT YEAR('2018-02-01');
                      -- Result: 2018

MATH Functions

ABS ( numeric_expression )

Returns the absolute (positive) value of the specified numeric expression.

  • numeric_expression: The expression of an indeterminate numeric data type except for the bit data type.
SELECT ABS(15);
                      -- Result: 15

                      SELECT ABS(-15);
                      -- Result: 15

ACOS ( float_expression )

Returns the arc cosine, the angle in radians whose cosine is the specified float expression.

  • float_expression: The float expression that specifies the cosine of the angle to be returned. Values outside the range from -1 to 1 return null.
SELECT ACOS(0.5);
                      -- Result: 1.0471975511966

ASIN ( float_expression )

Returns the arc sine, the angle in radians whose sine is the specified float expression.

  • float_expression: The float expression that specifies the sine of the angle to be returned. Values outside the range from -1 to 1 return null.
SELECT ASIN(0.5);
                      -- Result: 0.523598775598299

ATAN ( float_expression )

Returns the arc tangent, the angle in radians whose tangent is the specified float expression.

  • float_expression: The float expression that specifies the tangent of the angle to be returned.
SELECT ATAN(10);
                      -- Result: 1.47112767430373

ATN2 ( float_expression1 , float_expression2 )

Returns the angle in radians between the positive x-axis and the ray from the origin to the point (y, x) where x and y are the values of the two specified float expressions.

  • float_expression1: The float expression that is the y-coordinate.
  • float_expression2: The float expression that is the x-coordinate.
SELECT ATN2(1, 1);
                      -- Result: 0.785398163397448

CEILING ( numeric_expression ) or CEIL( numeric_expression )

Returns the smallest integer greater than or equal to the specified numeric expression.

  • numeric_expression: The expression of an indeterminate numeric data type except for the bit data type.
SELECT CEILING(1.3);
                      -- Result: 2

                      SELECT CEILING(1.5);
                      -- Result: 2

                      SELECT CEILING(1.7);
                      -- Result: 2

COS ( float_expression )

Returns the trigonometric cosine of the specified angle in radians in the specified expression.

  • float_expression: The float expression of the specified angle in radians.
SELECT COS(1);
                      -- Result: 0.54030230586814

COT ( float_expression )

Returns the trigonometric cotangent of the angle in radians specified by float_expression.

  • float_expression: The float expression of the angle in radians.
SELECT COT(1);
                      -- Result: 0.642092615934331

DEGREES ( numeric_expression )

Returns the angle in degrees for the angle specified in radians.

  • numeric_expression: The angle in radians, an expression of an indeterminate numeric data type except for the bit data type.
SELECT DEGREES(3.1415926);
                      -- Result: 179.999996929531

EXP ( float_expression )

Returns the exponential value of the specified float expression. For example, EXP(LOG(20)) is 20.

  • float_expression: The float expression.
SELECT EXP(2);
                      -- Result: 7.38905609893065

EXPR ( expression )

Evaluates the expression.

  • expression: The expression. Operators allowed are +, -, *, /, ==, !=, >, <, >=, and <=.
SELECT EXPR('1 + 2 * 3');
                      -- Result: 7

                      SELECT EXPR('1 + 2 * 3 == 7');
                      -- Result: true

FLOOR ( numeric_expression )

Returns the largest integer less than or equal to the numeric expression.

  • numeric_expression: The expression of an indeterminate numeric data type except for the bit data type.
SELECT FLOOR(1.3);
                      -- Result: 1

                      SELECT FLOOR(1.5);
                      -- Result: 1

                      SELECT FLOOR(1.7);
                      -- Result: 1

GREATEST(int1,int2,....)

Returns the greatest of the supplied integers.

SELECT GREATEST(3,5,8,10,1)
				-- Result: 10			

HEX(value)

Returns a the equivalent hex for the input value.

  • value: A string or numerical value to be converted into hex.
SELECT HEX(866849198);
				-- Result: 33AB11AE
				
				SELECT HEX('Sample Text');
				-- Result: 53616D706C652054657874

LEAST(int1,int2,....)

Returns the least of the supplied integers.

SELECT LEAST(3,5,8,10,1)
				-- Result: 1			

LOG ( float_expression [, base ] )

Returns the natural logarithm of the specified float expression.

  • float_expression: The float expression.
  • base: The optional integer argument that sets the base for the logarithm.
SELECT LOG(7.3890560);
                      -- Result: 1.99999998661119

LOG10 ( float_expression )

Returns the base-10 logarithm of the specified float expression.

  • float_expression: The expression of type float.
SELECT LOG10(10000);
                      -- Result: 4

MOD(dividend,divisor)

Returns the integer value associated with the remainder when dividing the dividend by the divisor.

  • dividend: The number to take the modulus of.
  • divisor: The number to divide the dividend by when determining the modulus.
SELECT MOD(10,3);
				-- Result: 1

NEGATE(real_number)

Returns the opposite to the real number input.

  • real_number: The real number to find the opposite of.
SELECT NEGATE(10);
				-- Result: -10
				
				SELECT NEGATE(-12.4)
				--Result: 12.4

PI ( )

Returns the constant value of pi.

SELECT PI()
                  -- Result: 3.14159265358979 

POWER ( float_expression , y )

Returns the value of the specified expression raised to the specified power.

  • float_expression: The float expression.
  • y: The power to raise float_expression to.
SELECT POWER(2, 10);
                      -- Result: 1024

                      SELECT POWER(2, -2);
                      -- Result: 0.25

RADIANS ( float_expression )

Returns the angle in radians of the angle in degrees.

  • float_expression: The degrees of the angle as a float expression.
SELECT RADIANS(180);
                      -- Result: 3.14159265358979

RAND ( [ integer_seed ] )

Returns a pseudorandom float value from 0 through 1, exclusive.

  • seed: The optional integer expression that specifies the seed value. If seed is not specified, a seed value at random will be assigned.
SELECT RAND();
                      -- This result may be different, since the seed is randomized
                      -- Result: 0.873159630165044

                      SELECT RAND(1);
                      -- This result will always be the same, since the seed is constant
                      -- Result: 0.248668584157093

ROUND ( numeric_expression [ ,integer_length] [ ,function ] )

Returns the numeric value rounded to the specified length or precision.

  • numeric_expression: The expression of a numeric data type.
  • length: The optional precision to round the numeric expression to. When this is ommitted, the default behavior will be to round to the nearest whole number.
  • function: The optional type of operation to perform. When the function parameter is omitted or has a value of 0 (default), numeric_expression is rounded. When a value other than 0 is specified, numeric_expression is truncated.
SELECT ROUND(1.3, 0);
                      -- Result: 1

                      SELECT ROUND(1.55, 1);
                      -- Result: 1.6

                      SELECT ROUND(1.7, 0, 0);
                      -- Result: 2

                      SELECT ROUND(1.7, 0, 1);
                      -- Result: 1
                      
                      SELECT ROUND (1.24);
                      -- Result: 1.0

SIGN ( numeric_expression )

Returns the positive sign (1), 0, or negative sign (-1) of the specified expression.

  • numeric_expression: The expression of an indeterminate data type except for the bit data type.
SELECT SIGN(0);
                      -- Result: 0

                      SELECT SIGN(10);
                      -- Result: 1

                      SELECT SIGN(-10);
                      -- Result: -1

SIN ( float_expression )

Returns the trigonometric sine of the angle in radians.

  • float_expression: The float expression specifying the angle in radians.
SELECT SIN(1);
                     -- Result: 0.841470984807897

SQRT ( float_expression )

Returns the square root of the specified float value.

  • float_expression: The expression of type float.
SELECT SQRT(100);
                      -- Result: 10

SQUARE ( float_expression )

Returns the square of the specified float value.

  • float_expression: The expression of type float.
SELECT SQUARE(10);
                      -- Result: 100

                      SELECT SQUARE(-10);
                      -- Result: 100

TAN ( float_expression )

Returns the tangent of the input expression.

  • float_expression: The expression of type float.
SELECT TAN(1);
                      -- Result: 1.5574077246549

TRUNC(decimal_number,precision)

Returns the supplied decimal number truncated to have the supplied decimal precision.

  • decimal_number: The decimal value to truncate.
  • precision: The number of decimal places to truncate the decimal number to.
SELECT TRUNC(10.3423,2);
				-- Result: 10.34

INSERT Statements

To create new records, use INSERT statements.

INSERT Syntax

The INSERT statement specifies the columns to be inserted and the new column values. You can specify the column values in a comma-separated list in the VALUES clause, as shown in the following example:

INSERT INTO <table_name> 
( <column_reference> [ , ... ] )
VALUES 
( { <expression> | NULL } [ , ... ] ) 
  

<expression> ::=
  | @ <parameter> 
  | ?
| <literal>
You can use the executeUpdate method of the Statement and PreparedStatement classes to execute data manipulation commands and retrieve the rows affected.
String cmd = "INSERT INTO incident (priority) VALUES (?)";
PreparedStatement pstmt = connection.prepareStatement(cmd);
pstmt.setString(1, "4");
int count = pstmt.executeUpdate();
System.out.println(count+" rows were affected");
connection.close();	

UPDATE Statements

To modify existing records, use UPDATE statements.

Update Syntax

The UPDATE statement takes as input a comma-separated list of columns and new column values as name-value pairs in the SET clause, as shown in the following example:

UPDATE <table_name> SET { <column_reference> = <expression> } [ , ... ] WHERE { sys_id = <expression>  } [ { AND | OR } ... ] 

<expression> ::=
  | @ <parameter> 
  | ?
| <literal>
You can use the executeUpdate method of the Statement or PreparedStatement classes to execute data manipulation commands and retrieve the rows affected, as shown in the following example:
String cmd = "UPDATE incident SET priority='4' WHERE sys_id = ?";
PreparedStatement pstmt = connection.prepareStatement(cmd);
pstmt.setString(1, "S");
int count = pstmt.executeUpdate();
System.out.println(count + " rows were affected");
connection.close();

DELETE Statements

To delete information from a table, use DELETE statements.

DELETE Syntax

The DELETE statement requires the table name in the FROM clause and the row's primary key in the WHERE clause, as shown in the following example:

<delete_statement> ::= DELETE FROM <table_name> WHERE { sys_id = <expression> } [ { AND | OR } ... ]

<expression> ::=
  | @ <parameter> 
  | ?
| <literal>
You can use the executeUpdate method of the Statement or PreparedStatement classes to execute data manipulation commands and retrieve the number of affected rows, as shown in the following example:
Connection connection = DriverManager.getConnection("jdbc:servicenow:InitiateOAuth=GETANDREFRESH;OAuthClientId=MyClientId;OAuthClientSecret=MyClientSecret;User=MyUser;Password=MyPassword;Url=https://MyInstance12345.service-now.com/;",);
String cmd = "DELETE FROM incident WHERE sys_id = ?";
PreparedStatement pstmt = connection.prepareStatement(cmd);
pstmt.setString(1, "S");
int count=pstmt.executeUpdate();
connection.close();

GETDELETED Statements

You can issue the GETDELETED query to retrieve all records deleted from the live data for the time range specified. This query accepts a datetime value as a filter, as shown in the following example:

GETDELETED FROM <table_name> WHERE <search_condition>

<search_condition> ::= 
  {
    <expression> { = | < | <= | > | >= } [ <expression> ] 
  } [ { AND | OR } ... ]

<expression> ::=
  | @ <parameter> 
  | ?
  | <literal>
String cmd = "GETDELETED FROM incident WHERE sys_updated_on >='2013-01-01' AND sys_updated_on <='2013-02-01'";
PreparedStatement pstmt = connection.prepareStatement(cmd);
ResultSet rs = pstmt.getResultSet();
while(rs.next()){	
  System.out.println(rs.getString("sys_id"));
}
connection.close();
Note: By putting a CACHE command in front of the query, you can update the cache to remove all values that have been deleted from the data source, as shown in the following example:
CACHE GETDELETED FROM [TableName] WHERE sys_updated_on >='2013-01-01' AND sys_updated_on <='2013-02-01'

CACHE Statements

When caching is enabled, CACHE statements provide complete control over the data that is cached and the table to which it is cached. The CACHE statement executes the SELECT statement specified and caches its results to a table with the same name in the cache database or to table specified in <cached_table_name>. The driver updates or inserts rows to the cache depending on whether or not they already exist in the cache, so the primary key, which is used to identify existing rows, must be included in the selected columns.

See Caching Data for more information on different caching strategies.

CACHE Statement Syntax

The cache statement may include the following options that alter its behavior:

CACHE [ <cached_table_name> ] [ WITH TRUNCATE | AUTOCOMMIT | SCHEMA ONLY | DROP EXISTING | ALTER SCHEMA ] <select_statement> 

WITH TRUNCATE

If this option is set, the driver removes existing rows in the cache table before adding the selected rows. Use this option if you want to refresh the entire cache table but keep its existing schema.

AUTOCOMMIT

If this option is set, the driver commits each row individually. Use this option if you want to ignore the rows that could not be cached due to some reason. By default, the entire result set is cached as a single transaction.

DROP EXISTING

If this option is set, the driver drops the existing cache table before caching the new results. Use this option if you want to refresh the entire cache table, including its schema.

SCHEMA ONLY

If this option is set, the driver creates the cache table based on the SELECT statement without executing the query.

ALTER SCHEMA

If this option is set, the driver alters the schema of the existing table in the cache if it does not match the schema of the SELECT statement. This option results in new columns or dropped columns, if the schema of the SELECT statement does not match the cached table.

Common Queries

Use the following cache statement to cache all rows of a table:

CACHE SELECT * FROM incident

Use the following cache statement to cache all rows of a table into the cache table Cachedincident:
CACHE Cachedincident SELECT * FROM incident

Use the following cache statement for incremental caching. The DateModified column may not exist in all tables. The cache statement shows how incremental caching would work if there were such a column. Also, notice that, in this case, the WITH TRUNCATE and DROP EXISTING options are specifically omitted, which would have deleted all existing rows.
CACHE Cachedincident SELECT * FROM incident WHERE DateModified > '2013-04-04'

Use the following cache statements to create a table with all available columns that will then cache only a few of them. The sequence of statements cache only sys_id and priority even though the cache table Cachedincident has all the columns in incident.

CACHE Cachedincident SCHEMA ONLY SELECT * FROM incident
CACHE Cachedincident SELECT sys_id, priority FROM incident

REPLICATE Statements

The REPLICATE statement makes it easy to maintain copies of one or many tables in a cache database. Each time the REPLICATE statement is invoked, the driver requests incremental changes that have occurred since the last time the cache database was updated.

The REPLICATE statement adds new rows, updates existing rows that have changed, and deletes rows that have been deleted. The REPLICATE statement can execute multiple underlying operations based on the API available from the data source. All operations are executed as a single transaction to maintain the consistency of the cached data.

REPLICATE Syntax

You can use REPLICATE statements to perform the following actions:

  • Replicate a single table: REPLICATE <table_name>
  • Replicate all tables:REPLICATE ALL
  • Replicate only the specified tables: REPLICATE TABLES
  • Replicate a query's results: REPLICATE <select_statement>. Use a SELECT statement to control the columns that are cached, as well their names, or to apply any SQL formulas before replicating data.

The EXCLUDE COLUMNS clause can be specified in all of these statements. The REPLICATE ALL statement additionally supports an EXCLUDE TABLES clause.

Here is the complete syntax :

REPLICATE 
{ 
  [ <cached_table_name> ] 
  [ EXCLUDE COLUMNS ( <column_name> [ , ... ] ) ] 
  { <select_statement> | <table_reference> } 
  (<column_definition> [ , ... ] [<table_constraint>])
  [WITH {<option_name>=<option_value>|<option_name>} , ... ]
  [AS] { <select_statement> | <table_reference> } 
}
| TABLES 
  ( 
    {
      <table_name> 
      [ EXCLUDE COLUMNS ( <column_name [ , ... ] ) ]
    } [ , ... ] 
  ) 
| ALL 
  [
    { 
      EXCLUDE COLUMNS ( { <table_name>.<column_name> } [ , ... ] )
      | EXCLUDE TABLES ( <table_name> [ , ... ] ) 
    }
  ]
  
<table_constraint> := PRIMARY KEY(<column_name>,...)
<option_name> := DropTable | TruncateTable | AlterSchema ...
<option_value> := <literal> | <identifier>

Common Queries

Use the following statement to maintain a copy of a table. This command creates a table incident in the cache database if it does not already exist. If the table exists, the REPLICATE statement updates recent changes (newly updated, deleted, and inserted records) since the last cache update.

REPLICATE incident

Use the following statement to replicate incident to REP_incident.
REPLICATE REP_incident SELECT sys_id, priority FROM incident

Use the following statement to select specific columns and perform operations on data before it is replicated. This command creates the table REP_incident with the columns DateModified and FullName. The FullName column is a concatenation of FirstName and LastName from the incident table.
REPLICATE REP_incident SELECT  DateModified, CONCAT(firstname," ",lastname) AS FullName FROM incident
Note: Selecting fewer columns than what are already in the cache leads to stale data in some columns. The SELECT statement with a custom projection (changed column names/values, or specific columns) should remain the same throughout the life of the cache.

EXECUTE Statements

To execute stored procedures, you can use EXECUTE or EXEC statements.

EXEC and EXECUTE assign stored procedure* inputs, referenced by name, to values or parameter names.

Stored Procedure* Syntax

To execute a stored procedure* as an SQL statement, use the following syntax:

{ EXECUTE | EXEC } <stored_proc_name> 
{
  [ @ ] <input_name> = <expression>
} [ , ... ]

<expression> ::=
  | @ <parameter> 
  | ?
| <literal>

Example Statements

Reference stored procedure* inputs by name:

EXECUTE my_proc @second = 2, @first = 1, @third = 3;

Execute a parameterized stored procedure* statement:

EXECUTE my_proc second = @p1, first = @p2, third = @p3; 

Data Model

You can use the driver to work with all the tables in your account, including custom tables. The table definitions are dynamically retrieved. The driver connects to ServiceNow and gets the list of tables and the metadata for the tables by calling the appropriate Web services. Any changes you make to your ServiceNow account, such as activating a plugin, adding new columns to a table, or changing the data type of a column, will immediately be reflected when you connect.

Tables

The metadata for the tables in ServiceNow are obtained during run time based on a number of predefined schemas from ServiceNow and your unique ServiceNow account information. In Tables you will find a small sample of the tables available in the ServiceNow development environment, which models the core ServiceNow system.

You can use data dictionary tables to obtain details about the tables available in your ServiceNow environment. Data dictionary tables and other system tables are prefixed with "system_".

The following data dictionary tables define the structure of the database tables:

  • system_db_object: This contains information about each table, one row per table.
  • system_dictionary: This defines every table and field in the system.
  • system_documentation: This contains the human-readable labels and language information for every field of every table in the database.

Views

The driver will expose the ServiceNow Database Views as Views only if the IncludeDatabaseViews connection property is set to 'True'.

The metadata for the Views in ServiceNow are obtained during run time based on a number of predefined schemas from ServiceNow and your unique ServiceNow account information. In Views you will find a small sample of the views available in the ServiceNow development environment, which models the core ServiceNow system.

The following data dictionary tables define the structure of the database views:

  • system_db_view: This contains information about each view, one row per view.
  • sys_db_view_table: This defines all source tables that each Database View contains.
  • sys_db_view_table_field: This defines all source table fields exposed for each Database View.
  • system_dictionary: This defines every table field in the system.
  • system_documentation: This contains the human-readable labels and language information for every field of every view in the database.

Stored Procedures

NOTE: Stored procedures are not currently supported. See the above note for details.

Stored Procedures are function-like interfaces to ServiceNow. They can be used to create materialized views -- tables that contain the results of a query. To use the driver to work with a materialized view, specify the query in the stored procedure* call. The resulting schema is then saved in an XML file that can be easily modified without calling the stored procedure* again. Schemas are saved in .rsd files in the folder you specify as the Location.

Tables

The driver models the data in ServiceNow into a list of tables that can be queried using standard SQL statements.

Generally, querying ServiceNow tables is the same as querying a table in a relational database. Sometimes there are special cases, for example, including a certain column in the WHERE clause might be required to get data for certain columns in the table. This is typically needed for situations where a separate request must be made for each row to get certain columns. These types of situations are clearly documented at the top of the table page linked below.

JDBC Driver for ServiceNow Tables

Name Description
ast_contract The ServiceNow table ast_contract.
ast_license_base The ServiceNow table ast_license_base.
change_request The ServiceNow table change_request.
cmdb_ci The ServiceNow table cmdb_ci.
cmdb_metric The ServiceNow table cmdb_metric.
cmn_building The ServiceNow table cmn_building.
cmn_context_help The ServiceNow table cmn_context_help.
cmn_cost_center The ServiceNow table cmn_cost_center.
cmn_department The ServiceNow table cmn_department.
cmn_location The ServiceNow table cmn_location.
cmn_map_page The ServiceNow table cmn_map_page.
cmn_notif_device The ServiceNow table cmn_notif_device.
cmn_notif_device_variable The ServiceNow table cmn_notif_device_variable.
cmn_notif_grmember The ServiceNow table cmn_notif_grmember.
cmn_notif_group The ServiceNow table cmn_notif_group.
cmn_notif_message The ServiceNow table cmn_notif_message.
cmn_notif_service_provider The ServiceNow table cmn_notif_service_provider.
cmn_other_schedule The ServiceNow table cmn_other_schedule.
cmn_relative_duration The ServiceNow table cmn_relative_duration.
cmn_schedule The ServiceNow table cmn_schedule.
cmn_schedule_blackout The ServiceNow table cmn_schedule_blackout.
cmn_schedule_condition The ServiceNow table cmn_schedule_condition.
cmn_schedule_maintenance The ServiceNow table cmn_schedule_maintenance.
cmn_schedule_page The ServiceNow table cmn_schedule_page.
cmn_schedule_span The ServiceNow table cmn_schedule_span.
cmn_timeline_page The ServiceNow table cmn_timeline_page.
cmn_timeline_page_style The ServiceNow table cmn_timeline_page_style.
cmn_timeline_sub_item The ServiceNow table cmn_timeline_sub_item.
diagrammer_action The ServiceNow table diagrammer_action.
expert_panel The ServiceNow table expert_panel.
item_option_new The ServiceNow table item_option_new.
question The ServiceNow table question.
sc_category The ServiceNow table sc_category.
sc_cat_item The ServiceNow table sc_cat_item.
sla The ServiceNow table sla.
sysauto The ServiceNow table sysauto.
sysauto_script The ServiceNow table sysauto_script.
syslog The ServiceNow table syslog.
sysrule The ServiceNow table sysrule.
system_db_object The ServiceNow table system_db_object.
system_dictionary The ServiceNow table system_dictionary.
system_documentation The ServiceNow table system_documentation.
system_import_set_row The ServiceNow table system_import_set_row.
system_script_client The ServiceNow table system_script_client.
system_ui_policy The ServiceNow table system_ui_policy.
system_ui_policy_action The ServiceNow table system_ui_policy_action.
task The ServiceNow table task.
v_field_creator The ServiceNow table v_field_creator.

ast_contract

The ServiceNow table ast_contract.

Columns

Name Type ReadOnly References Description
vendor String False

The vendor column for the table ast_contract.

renewable String False

The renewable column for the table ast_contract.

tax_rate String False

The tax_rate column for the table ast_contract.

contract_model String False

The contract_model column for the table ast_contract.

state String False

The state column for the table ast_contract.

sys_class_name String False

The sys_class_name column for the table ast_contract.

ends Datetime False

The ends column for the table ast_contract.

total_cost String False

The total_cost column for the table ast_contract.

contract_administrator String False

The contract_administrator column for the table ast_contract.

cost_center String False

The cost_center column for the table ast_contract.

expiration String False

The expiration column for the table ast_contract.

description String False

The description column for the table ast_contract.

cost_adjustment_type String False

The cost_adjustment_type column for the table ast_contract.

payment_schedule String False

The payment_schedule column for the table ast_contract.

renewal_options String False

The renewal_options column for the table ast_contract.

license_type String False

The license_type column for the table ast_contract.

vendor_account String False

The vendor_account column for the table ast_contract.

cost_adjustment_percentage String False

The cost_adjustment_percentage column for the table ast_contract.

payment_amount String False

The payment_amount column for the table ast_contract.

renewal_end_date Datetime False

The renewal_end_date column for the table ast_contract.

process String False

The process column for the table ast_contract.

ratecard String False

The ratecard column for the table ast_contract.

cost_per_unit String False

The cost_per_unit column for the table ast_contract.

monthly_cost String False

The monthly_cost column for the table ast_contract.

sys_mod_count String False

The sys_mod_count column for the table ast_contract.

commitment String False

The commitment column for the table ast_contract.

sys_created_by String False

The sys_created_by column for the table ast_contract.

approval_history String False

The approval_history column for the table ast_contract.

sys_updated_by String False

The sys_updated_by column for the table ast_contract.

number String False

The number column for the table ast_contract.

active String False

The active column for the table ast_contract.

sales_tax String False

The sales_tax column for the table ast_contract.

renewal_contact String False

The renewal_contact column for the table ast_contract.

license_quantity_entitled String False

The license_quantity_entitled column for the table ast_contract.

starts Datetime False

The starts column for the table ast_contract.

sub_total_cost String False

The sub_total_cost column for the table ast_contract.

location String False

The location column for the table ast_contract.

po_number String False

The po_number column for the table ast_contract.

sys_domain String False

The sys_domain column for the table ast_contract.

short_description String False

The short_description column for the table ast_contract.

cost_adjustment_reason String False

The cost_adjustment_reason column for the table ast_contract.

tax_cost String False

The tax_cost column for the table ast_contract.

invoice_payment_terms String False

The invoice_payment_terms column for the table ast_contract.

terms_and_conditions String False

The terms_and_conditions column for the table ast_contract.

vendor_contract String False

The vendor_contract column for the table ast_contract.

cost_adjustment String False

The cost_adjustment column for the table ast_contract.

tax_exempt String False

The tax_exempt column for the table ast_contract.

renewal_date Datetime False

The renewal_date column for the table ast_contract.

substate String False

The substate column for the table ast_contract.

approver String False

The approver column for the table ast_contract.

lifetime_cost String False

The lifetime_cost column for the table ast_contract.

yearly_cost String False

The yearly_cost column for the table ast_contract.

sys_created_on Datetime False

The sys_created_on column for the table ast_contract.

discount String False

The discount column for the table ast_contract.

sys_updated_on Datetime False

The sys_updated_on column for the table ast_contract.

application_model String False

The application_model column for the table ast_contract.

sys_id [KEY] String False

The sys_id column for the table ast_contract.

sys_domain_path String False

The sys_domain_path column for the table ast_contract.

ast_license_base

The ServiceNow table ast_license_base.

Columns

Name Type ReadOnly References Description
number String False

The number column for the table ast_license_base.

vendor_account String False

The vendor_account column for the table ast_license_base.

license_count String False

The license_count column for the table ast_license_base.

option String False

The option column for the table ast_license_base.

sys_created_on Datetime False

The sys_created_on column for the table ast_license_base.

vendor String False

The vendor column for the table ast_license_base.

license_key String False

The license_key column for the table ast_license_base.

upgraded_from String False

The upgraded_from column for the table ast_license_base.

sys_updated_on Datetime False

The sys_updated_on column for the table ast_license_base.

sys_class_name String False

The sys_class_name column for the table ast_license_base.

short_description String False

The short_description column for the table ast_license_base.

license_cost String False

The license_cost column for the table ast_license_base.

sys_id [KEY] String False

The sys_id column for the table ast_license_base.

invoice_number String False

The invoice_number column for the table ast_license_base.

location String False

The location column for the table ast_license_base.

percent_used String False

The percent_used column for the table ast_license_base.

vendor_contract String False

The vendor_contract column for the table ast_license_base.

install_count String False

The install_count column for the table ast_license_base.

manual String False

The manual column for the table ast_license_base.

sys_created_by String False

The sys_created_by column for the table ast_license_base.

department String False

The department column for the table ast_license_base.

description String False

The description column for the table ast_license_base.

maintenance_cost String False

The maintenance_cost column for the table ast_license_base.

sys_updated_by String False

The sys_updated_by column for the table ast_license_base.

parent String False

The parent column for the table ast_license_base.

purchased Datetime False

The purchased column for the table ast_license_base.

total_cost String False

The total_cost column for the table ast_license_base.

compliance_level String False

The compliance_level column for the table ast_license_base.

po_number String False

The po_number column for the table ast_license_base.

license_available String False

The license_available column for the table ast_license_base.

discoverable_key String False

The discoverable_key column for the table ast_license_base.

sys_mod_count String False

The sys_mod_count column for the table ast_license_base.

change_request

The ServiceNow table change_request.

Columns

Name Type ReadOnly References Description
outside_maintenance_schedule String False

The outside_maintenance_schedule column for the table change_request.

on_hold_reason String False

The on_hold_reason column for the table change_request.

start_date Datetime False

The start_date column for the table change_request.

cab_date Datetime False

The cab_date column for the table change_request.

close_code String False

The close_code column for the table change_request.

requested_by String False

The requested_by column for the table change_request.

backout_plan String False

The backout_plan column for the table change_request.

change_plan String False

The change_plan column for the table change_request.

implementation_plan String False

The implementation_plan column for the table change_request.

sys_id [KEY] String False

The sys_id column for the table change_request.

phase String False

The phase column for the table change_request.

review_status String False

The review_status column for the table change_request.

conflict_status String False

The conflict_status column for the table change_request.

phase_state String False

The phase_state column for the table change_request.

production_system String False

The production_system column for the table change_request.

type String False

The type column for the table change_request.

on_hold String False

The on_hold column for the table change_request.

end_date Datetime False

The end_date column for the table change_request.

requested_by_date Datetime False

The requested_by_date column for the table change_request.

risk_impact_analysis String False

The risk_impact_analysis column for the table change_request.

test_plan String False

The test_plan column for the table change_request.

justification String False

The justification column for the table change_request.

scope String False

The scope column for the table change_request.

review_comments String False

The review_comments column for the table change_request.

std_change_producer_version String False

The std_change_producer_version column for the table change_request.

category String False

The category column for the table change_request.

review_date Datetime False

The review_date column for the table change_request.

conflict_last_run Datetime False

The conflict_last_run column for the table change_request.

risk String False

The risk column for the table change_request.

reason String False

The reason column for the table change_request.

cab_recommendation String False

The cab_recommendation column for the table change_request.

delivery_task String False

The delivery_task column for the table change_request.

upon_approval String False

The upon_approval column for the table change_request.

work_start Datetime False

The work_start column for the table change_request.

delivery_plan String False

The delivery_plan column for the table change_request.

rejection_goto String False

The rejection_goto column for the table change_request.

work_end Datetime False

The work_end column for the table change_request.

upon_reject String False

The upon_reject column for the table change_request.

business_service String False

The business_service column for the table change_request.

sys_domain String False

The sys_domain column for the table change_request.

sys_created_on Datetime False

The sys_created_on column for the table change_request.

sys_updated_on Datetime False

The sys_updated_on column for the table change_request.

expected_start Datetime False

The expected_start column for the table change_request.

variables String False

The variables column for the table change_request.

number String False

The number column for the table change_request.

comments String False

The comments column for the table change_request.

urgency String False

The urgency column for the table change_request.

opened_at Datetime False

The opened_at column for the table change_request.

watch_list String False

The watch_list column for the table change_request.

sla_due Datetime False

The sla_due column for the table change_request.

active String False

The active column for the table change_request.

state String False

The state column for the table change_request.

work_notes String False

The work_notes column for the table change_request.

closed_by String False

The closed_by column for the table change_request.

follow_up Datetime False

The follow_up column for the table change_request.

work_notes_list String False

The work_notes_list column for the table change_request.

cmdb_ci String False

The cmdb_ci column for the table change_request.

approval_history String False

The approval_history column for the table change_request.

business_duration Datetime False

The business_duration column for the table change_request.

location String False

The location column for the table change_request.

user_input String False

The user_input column for the table change_request.

assigned_to String False

The assigned_to column for the table change_request.

escalation String False

The escalation column for the table change_request.

time_worked String False

The time_worked column for the table change_request.

additional_assignee_list String False

The additional_assignee_list column for the table change_request.

correlation_id String False

The correlation_id column for the table change_request.

comments_and_work_notes String False

The comments_and_work_notes column for the table change_request.

order String False

The order column for the table change_request.

made_sla String False

The made_sla column for the table change_request.

sys_mod_count String False

The sys_mod_count column for the table change_request.

sys_created_by String False

The sys_created_by column for the table change_request.

sys_updated_by String False

The sys_updated_by column for the table change_request.

sys_domain_path String False

The sys_domain_path column for the table change_request.

sys_class_name String False

The sys_class_name column for the table change_request.

parent String False

The parent column for the table change_request.

priority String False

The priority column for the table change_request.

close_notes String False

The close_notes column for the table change_request.

reassignment_count String False

The reassignment_count column for the table change_request.

due_date Datetime False

The due_date column for the table change_request.

short_description String False

The short_description column for the table change_request.

company String False

The company column for the table change_request.

approval_set Datetime False

The approval_set column for the table change_request.

opened_by String False

The opened_by column for the table change_request.

contact_type String False

The contact_type column for the table change_request.

assignment_group String False

The assignment_group column for the table change_request.

approval String False

The approval column for the table change_request.

calendar_duration Datetime False

The calendar_duration column for the table change_request.

knowledge String False

The knowledge column for the table change_request.

correlation_display String False

The correlation_display column for the table change_request.

wf_activity String False

The wf_activity column for the table change_request.

description String False

The description column for the table change_request.

impact String False

The impact column for the table change_request.

closed_at Datetime False

The closed_at column for the table change_request.

group_list String False

The group_list column for the table change_request.

activity_due Datetime False

The activity_due column for the table change_request.

cmdb_ci

The ServiceNow table cmdb_ci.

Columns

Name Type ReadOnly References Description
name String False

The name column for the table cmdb_ci.

serial_number String False

The serial_number column for the table cmdb_ci.

delivery_date Datetime False

The delivery_date column for the table cmdb_ci.

lease_id String False

The lease_id column for the table cmdb_ci.

checked_out Datetime False

The checked_out column for the table cmdb_ci.

sys_domain_path String False

The sys_domain_path column for the table cmdb_ci.

sys_created_by String False

The sys_created_by column for the table cmdb_ci.

purchase_date Datetime False

The purchase_date column for the table cmdb_ci.

location String False

The location column for the table cmdb_ci.

cost_cc String False

The cost_cc column for the table cmdb_ci.

managed_by String False

The managed_by column for the table cmdb_ci.

sys_updated_by String False

The sys_updated_by column for the table cmdb_ci.

assignment_group String False

The assignment_group column for the table cmdb_ci.

model_id String False

The model_id column for the table cmdb_ci.

gl_account String False

The gl_account column for the table cmdb_ci.

supported_by String False

The supported_by column for the table cmdb_ci.

unverified String False

The unverified column for the table cmdb_ci.

company String False

The company column for the table cmdb_ci.

manufacturer String False

The manufacturer column for the table cmdb_ci.

po_number String False

The po_number column for the table cmdb_ci.

due_in String False

The due_in column for the table cmdb_ci.

asset String False

The asset column for the table cmdb_ci.

sys_mod_count String False

The sys_mod_count column for the table cmdb_ci.

asset_tag String False

The asset_tag column for the table cmdb_ci.

sys_class_name String False

The sys_class_name column for the table cmdb_ci.

order_date Datetime False

The order_date column for the table cmdb_ci.

department String False

The department column for the table cmdb_ci.

checked_in Datetime False

The checked_in column for the table cmdb_ci.

sys_domain String False

The sys_domain column for the table cmdb_ci.

sys_updated_on Datetime False

The sys_updated_on column for the table cmdb_ci.

install_status String False

The install_status column for the table cmdb_ci.

justification String False

The justification column for the table cmdb_ci.

cost String False

The cost column for the table cmdb_ci.

owned_by String False

The owned_by column for the table cmdb_ci.

assigned Datetime False

The assigned column for the table cmdb_ci.

vendor String False

The vendor column for the table cmdb_ci.

invoice_number String False

The invoice_number column for the table cmdb_ci.

support_group String False

The support_group column for the table cmdb_ci.

skip_sync String False

The skip_sync column for the table cmdb_ci.

assigned_to String False

The assigned_to column for the table cmdb_ci.

install_date Datetime False

The install_date column for the table cmdb_ci.

warranty_expiration Datetime False

The warranty_expiration column for the table cmdb_ci.

due Datetime False

The due column for the table cmdb_ci.

cost_center String False

The cost_center column for the table cmdb_ci.

sys_created_on Datetime False

The sys_created_on column for the table cmdb_ci.

short_description String False

The short_description column for the table cmdb_ci.

attributes String False

The attributes column for the table cmdb_ci.

fault_count String False

The fault_count column for the table cmdb_ci.

change_control String False

The change_control column for the table cmdb_ci.

fqdn String False

The fqdn column for the table cmdb_ci.

subcategory String False

The subcategory column for the table cmdb_ci.

last_discovered Datetime False

The last_discovered column for the table cmdb_ci.

correlation_id String False

The correlation_id column for the table cmdb_ci.

discovery_source String False

The discovery_source column for the table cmdb_ci.

mac_address String False

The mac_address column for the table cmdb_ci.

maintenance_schedule String False

The maintenance_schedule column for the table cmdb_ci.

model_number String False

The model_number column for the table cmdb_ci.

monitor String False

The monitor column for the table cmdb_ci.

sys_id [KEY] String False

The sys_id column for the table cmdb_ci.

operational_status String False

The operational_status column for the table cmdb_ci.

start_date Datetime False

The start_date column for the table cmdb_ci.

dns_domain String False

The dns_domain column for the table cmdb_ci.

category String False

The category column for the table cmdb_ci.

first_discovered Datetime False

The first_discovered column for the table cmdb_ci.

can_print String False

The can_print column for the table cmdb_ci.

comments String False

The comments column for the table cmdb_ci.

ip_address String False

The ip_address column for the table cmdb_ci.

schedule String False

The schedule column for the table cmdb_ci.

cmdb_metric

The ServiceNow table cmdb_metric.

Columns

Name Type ReadOnly References Description
sys_updated_by String False

The sys_updated_by column for the table cmdb_metric.

snc_mi String False

The snc_mi column for the table cmdb_metric.

sys_mod_count String False

The sys_mod_count column for the table cmdb_metric.

sys_created_by String False

The sys_created_by column for the table cmdb_metric.

sys_id [KEY] String False

The sys_id column for the table cmdb_metric.

sys_class_name String False

The sys_class_name column for the table cmdb_metric.

sys_created_on Datetime False

The sys_created_on column for the table cmdb_metric.

sys_updated_on Datetime False

The sys_updated_on column for the table cmdb_metric.

cmn_building

The ServiceNow table cmn_building.

Columns

Name Type ReadOnly References Description
sys_mod_count String False

The sys_mod_count column for the table cmn_building.

location String False

The location column for the table cmn_building.

sys_updated_by String False

The sys_updated_by column for the table cmn_building.

sys_updated_on Datetime False

The sys_updated_on column for the table cmn_building.

floors String False

The floors column for the table cmn_building.

notes String False

The notes column for the table cmn_building.

sys_created_by String False

The sys_created_by column for the table cmn_building.

name String False

The name column for the table cmn_building.

contact String False

The contact column for the table cmn_building.

sys_id [KEY] String False

The sys_id column for the table cmn_building.

sys_created_on Datetime False

The sys_created_on column for the table cmn_building.

cmn_context_help

The ServiceNow table cmn_context_help.

Columns

Name Type ReadOnly References Description
document String False

The document column for the table cmn_context_help.

plugin_id String False

The plugin_id column for the table cmn_context_help.

language String False

The language column for the table cmn_context_help.

type String False

The type column for the table cmn_context_help.

servicenow String False

The servicenow column for the table cmn_context_help.

url String False

The URL column for the table cmn_context_help.

active String False

The active column for the table cmn_context_help.

sys_id [KEY] String False

The sys_id column for the table cmn_context_help.

use_plugin_base_url String False

The use_plugin_base_url column for the table cmn_context_help.

sys_policy String False

The sys_policy column for the table cmn_context_help.

sys_replace_on_upgrade String False

The sys_replace_on_upgrade column for the table cmn_context_help.

sys_customer_update String False

The sys_customer_update column for the table cmn_context_help.

sys_scope String False

The sys_scope column for the table cmn_context_help.

sys_package String False

The sys_package column for the table cmn_context_help.

sys_updated_on Datetime False

The sys_updated_on column for the table cmn_context_help.

sys_created_on Datetime False

The sys_created_on column for the table cmn_context_help.

sys_name String False

The sys_name column for the table cmn_context_help.

sys_updated_by String False

The sys_updated_by column for the table cmn_context_help.

sys_created_by String False

The sys_created_by column for the table cmn_context_help.

sys_class_name String False

The sys_class_name column for the table cmn_context_help.

sys_mod_count String False

The sys_mod_count column for the table cmn_context_help.

sys_update_name String False

The sys_update_name column for the table cmn_context_help.

cmn_cost_center

The ServiceNow table cmn_cost_center.

Columns

Name Type ReadOnly References Description
sys_created_by String False

The sys_created_by column for the table cmn_cost_center.

parent String False

The parent column for the table cmn_cost_center.

valid_to Datetime False

The valid_to column for the table cmn_cost_center.

sys_id [KEY] String False

The sys_id column for the table cmn_cost_center.

sys_created_on Datetime False

The sys_created_on column for the table cmn_cost_center.

name String False

The name column for the table cmn_cost_center.

manager String False

The manager column for the table cmn_cost_center.

location String False

The location column for the table cmn_cost_center.

sys_updated_by String False

The sys_updated_by column for the table cmn_cost_center.

sys_mod_count String False

The sys_mod_count column for the table cmn_cost_center.

code String False

The code column for the table cmn_cost_center.

account_number String False

The account_number column for the table cmn_cost_center.

valid_from Datetime False

The valid_from column for the table cmn_cost_center.

sys_updated_on Datetime False

The sys_updated_on column for the table cmn_cost_center.

cmn_department

The ServiceNow table cmn_department.

Columns

Name Type ReadOnly References Description
cost_center String False

The cost_center column for the table cmn_department.

sys_updated_on Datetime False

The sys_updated_on column for the table cmn_department.

dept_head String False

The dept_head column for the table cmn_department.

primary_contact String False

The primary_contact column for the table cmn_department.

head_count String False

The head_count column for the table cmn_department.

sys_created_by String False

The sys_created_by column for the table cmn_department.

name String False

The name column for the table cmn_department.

id String False

The ID column for the table cmn_department.

description String False

The description column for the table cmn_department.

sys_id [KEY] String False

The sys_id column for the table cmn_department.

sys_created_on Datetime False

The sys_created_on column for the table cmn_department.

sys_mod_count String False

The sys_mod_count column for the table cmn_department.

company String False

The company column for the table cmn_department.

parent String False

The parent column for the table cmn_department.

sys_updated_by String False

The sys_updated_by column for the table cmn_department.

cmn_location

The ServiceNow table cmn_location.

Columns

Name Type ReadOnly References Description
parent String False

The parent column for the table cmn_location.

lat_long_error String False

The lat_long_error column for the table cmn_location.

state String False

The state column for the table cmn_location.

sys_created_by String False

The sys_created_by column for the table cmn_location.

fax_phone String False

The fax_phone column for the table cmn_location.

phone_territory String False

The phone_territory column for the table cmn_location.

contact String False

The contact column for the table cmn_location.

full_name String False

The full_name column for the table cmn_location.

name String False

The name column for the table cmn_location.

sys_id [KEY] String False

The sys_id column for the table cmn_location.

zip String False

The zip column for the table cmn_location.

sys_created_on Datetime False

The sys_created_on column for the table cmn_location.

country String False

The country column for the table cmn_location.

sys_mod_count String False

The sys_mod_count column for the table cmn_location.

stock_room String False

The stock_room column for the table cmn_location.

latitude String False

The latitude column for the table cmn_location.

street String False

The street column for the table cmn_location.

sys_updated_by String False

The sys_updated_by column for the table cmn_location.

time_zone String False

The time_zone column for the table cmn_location.

city String False

The city column for the table cmn_location.

sys_updated_on Datetime False

The sys_updated_on column for the table cmn_location.

phone String False

The phone column for the table cmn_location.

company String False

The company column for the table cmn_location.

longitude String False

The longitude column for the table cmn_location.

cmn_map_page

The ServiceNow table cmn_map_page.

Columns

Name Type ReadOnly References Description
name String False

The name column for the table cmn_map_page.

center_latitude String False

The center_latitude column for the table cmn_map_page.

script String False

The script column for the table cmn_map_page.

type_selection String False

The type_selection column for the table cmn_map_page.

show_device_location String False

The show_device_location column for the table cmn_map_page.

controls_size String False

The controls_size column for the table cmn_map_page.

initial_zoom String False

The initial_zoom column for the table cmn_map_page.

center_address String False

The center_address column for the table cmn_map_page.

overview String False

The overview column for the table cmn_map_page.

sys_id [KEY] String False

The sys_id column for the table cmn_map_page.

type String False

The type column for the table cmn_map_page.

refresh_on_zoom String False

The refresh_on_zoom column for the table cmn_map_page.

suffix String False

The suffix column for the table cmn_map_page.

center_longitude String False

The center_longitude column for the table cmn_map_page.

sys_policy String False

The sys_policy column for the table cmn_map_page.

sys_replace_on_upgrade String False

The sys_replace_on_upgrade column for the table cmn_map_page.

sys_customer_update String False

The sys_customer_update column for the table cmn_map_page.

sys_scope String False

The sys_scope column for the table cmn_map_page.

sys_package String False

The sys_package column for the table cmn_map_page.

sys_updated_on Datetime False

The sys_updated_on column for the table cmn_map_page.

sys_created_on Datetime False

The sys_created_on column for the table cmn_map_page.

sys_name String False

The sys_name column for the table cmn_map_page.

sys_updated_by String False

The sys_updated_by column for the table cmn_map_page.

sys_created_by String False

The sys_created_by column for the table cmn_map_page.

sys_class_name String False

The sys_class_name column for the table cmn_map_page.

sys_mod_count String False

The sys_mod_count column for the table cmn_map_page.

sys_update_name String False

The sys_update_name column for the table cmn_map_page.

cmn_notif_device

The ServiceNow table cmn_notif_device.

Columns

Name Type ReadOnly References Description
email_address String False

The email_address column for the table cmn_notif_device.

sys_created_on Datetime False

The sys_created_on column for the table cmn_notif_device.

primary_email String False

The primary_email column for the table cmn_notif_device.

sys_updated_on Datetime False

The sys_updated_on column for the table cmn_notif_device.

name String False

The name column for the table cmn_notif_device.

sys_id [KEY] String False

The sys_id column for the table cmn_notif_device.

user String False

The user column for the table cmn_notif_device.

type String False

The type column for the table cmn_notif_device.

push_app String False

The push_app column for the table cmn_notif_device.

phone_number String False

The phone_number column for the table cmn_notif_device.

sys_created_by String False

The sys_created_by column for the table cmn_notif_device.

active String False

The active column for the table cmn_notif_device.

sys_updated_by String False

The sys_updated_by column for the table cmn_notif_device.

order String False

The order column for the table cmn_notif_device.

service_provider String False

The service_provider column for the table cmn_notif_device.

schedule String False

The schedule column for the table cmn_notif_device.

sys_mod_count String False

The sys_mod_count column for the table cmn_notif_device.

cmn_notif_device_variable

The ServiceNow table cmn_notif_device_variable.

Columns

Name Type ReadOnly References Description
name String False

The name column for the table cmn_notif_device_variable.

sys_created_on Datetime False

The sys_created_on column for the table cmn_notif_device_variable.

sys_updated_on Datetime False

The sys_updated_on column for the table cmn_notif_device_variable.

sys_id [KEY] String False

The sys_id column for the table cmn_notif_device_variable.

device String False

The device column for the table cmn_notif_device_variable.

sys_mod_count String False

The sys_mod_count column for the table cmn_notif_device_variable.

sys_created_by String False

The sys_created_by column for the table cmn_notif_device_variable.

sys_updated_by String False

The sys_updated_by column for the table cmn_notif_device_variable.

value String False

The value column for the table cmn_notif_device_variable.

cmn_notif_grmember

The ServiceNow table cmn_notif_grmember.

Columns

Name Type ReadOnly References Description
sys_id [KEY] String False

The sys_id column for the table cmn_notif_grmember.

group String False

The group column for the table cmn_notif_grmember.

sys_created_on Datetime False

The sys_created_on column for the table cmn_notif_grmember.

sys_updated_on Datetime False

The sys_updated_on column for the table cmn_notif_grmember.

user String False

The user column for the table cmn_notif_grmember.

sys_mod_count String False

The sys_mod_count column for the table cmn_notif_grmember.

sys_created_by String False

The sys_created_by column for the table cmn_notif_grmember.

sys_updated_by String False

The sys_updated_by column for the table cmn_notif_grmember.

cmn_notif_group

The ServiceNow table cmn_notif_group.

Columns

Name Type ReadOnly References Description
name String False

The name column for the table cmn_notif_group.

sys_created_on Datetime False

The sys_created_on column for the table cmn_notif_group.

sys_updated_on Datetime False

The sys_updated_on column for the table cmn_notif_group.

sys_id [KEY] String False

The sys_id column for the table cmn_notif_group.

sys_mod_count String False

The sys_mod_count column for the table cmn_notif_group.

sys_created_by String False

The sys_created_by column for the table cmn_notif_group.

sys_updated_by String False

The sys_updated_by column for the table cmn_notif_group.

group String False

The group column for the table cmn_notif_group.

cmn_notif_message

The ServiceNow table cmn_notif_message.

Columns

Name Type ReadOnly References Description
name String False

The name column for the table cmn_notif_message.

schedule String False

The schedule column for the table cmn_notif_message.

sys_updated_by String False

The sys_updated_by column for the table cmn_notif_message.

device String False

The device column for the table cmn_notif_message.

send_sms String False

The send_sms column for the table cmn_notif_message.

condition String False

The condition column for the table cmn_notif_message.

group String False

The group column for the table cmn_notif_message.

sys_mod_count String False

The sys_mod_count column for the table cmn_notif_message.

notification String False

The notification column for the table cmn_notif_message.

location String False

The location column for the table cmn_notif_message.

sys_created_by String False

The sys_created_by column for the table cmn_notif_message.

advanced String False

The advanced column for the table cmn_notif_message.

sys_id [KEY] String False

The sys_id column for the table cmn_notif_message.

notification_filter String False

The notification_filter column for the table cmn_notif_message.

send_email String False

The send_email column for the table cmn_notif_message.

cost_center String False

The cost_center column for the table cmn_notif_message.

sys_created_on Datetime False

The sys_created_on column for the table cmn_notif_message.

user String False

The user column for the table cmn_notif_message.

configuration_item String False

The configuration_item column for the table cmn_notif_message.

sys_updated_on Datetime False

The sys_updated_on column for the table cmn_notif_message.

cmn_notif_service_provider

The ServiceNow table cmn_notif_service_provider.

Columns

Name Type ReadOnly References Description
type String False

The type column for the table cmn_notif_service_provider.

im_provider String False

The im_provider column for the table cmn_notif_service_provider.

use_custom_script String False

The use_custom_script column for the table cmn_notif_service_provider.

construction_script String False

The construction_script column for the table cmn_notif_service_provider.

email_prefix String False

The email_prefix column for the table cmn_notif_service_provider.

name String False

The name column for the table cmn_notif_service_provider.

script String False

The script column for the table cmn_notif_service_provider.

active String False

The active column for the table cmn_notif_service_provider.

use_construction_script String False

The use_construction_script column for the table cmn_notif_service_provider.

email_suffix String False

The email_suffix column for the table cmn_notif_service_provider.

sys_id [KEY] String False

The sys_id column for the table cmn_notif_service_provider.

sys_policy String False

The sys_policy column for the table cmn_notif_service_provider.

sys_replace_on_upgrade String False

The sys_replace_on_upgrade column for the table cmn_notif_service_provider.

sys_customer_update String False

The sys_customer_update column for the table cmn_notif_service_provider.

sys_scope String False

The sys_scope column for the table cmn_notif_service_provider.

sys_package String False

The sys_package column for the table cmn_notif_service_provider.

sys_updated_on Datetime False

The sys_updated_on column for the table cmn_notif_service_provider.

sys_created_on Datetime False

The sys_created_on column for the table cmn_notif_service_provider.

sys_name String False

The sys_name column for the table cmn_notif_service_provider.

sys_updated_by String False

The sys_updated_by column for the table cmn_notif_service_provider.

sys_created_by String False

The sys_created_by column for the table cmn_notif_service_provider.

sys_class_name String False

The sys_class_name column for the table cmn_notif_service_provider.

sys_mod_count String False

The sys_mod_count column for the table cmn_notif_service_provider.

sys_update_name String False

The sys_update_name column for the table cmn_notif_service_provider.

cmn_other_schedule

The ServiceNow table cmn_other_schedule.

Columns

Name Type ReadOnly References Description
sys_created_by String False

The sys_created_by column for the table cmn_other_schedule.

sys_updated_by String False

The sys_updated_by column for the table cmn_other_schedule.

type String False

The type column for the table cmn_other_schedule.

child_schedule String False

The child_schedule column for the table cmn_other_schedule.

sys_mod_count String False

The sys_mod_count column for the table cmn_other_schedule.

sys_updated_on Datetime False

The sys_updated_on column for the table cmn_other_schedule.

sys_id [KEY] String False

The sys_id column for the table cmn_other_schedule.

time_zone String False

The time_zone column for the table cmn_other_schedule.

schedule String False

The schedule column for the table cmn_other_schedule.

sys_created_on Datetime False

The sys_created_on column for the table cmn_other_schedule.

cmn_relative_duration

The ServiceNow table cmn_relative_duration.

Columns

Name Type ReadOnly References Description
name String False

The name column for the table cmn_relative_duration.

active String False

The active column for the table cmn_relative_duration.

sys_id [KEY] String False

The sys_id column for the table cmn_relative_duration.

script String False

The script column for the table cmn_relative_duration.

sys_policy String False

The sys_policy column for the table cmn_relative_duration.

sys_replace_on_upgrade String False

The sys_replace_on_upgrade column for the table cmn_relative_duration.

sys_customer_update String False

The sys_customer_update column for the table cmn_relative_duration.

sys_scope String False

The sys_scope column for the table cmn_relative_duration.

sys_package String False

The sys_package column for the table cmn_relative_duration.

sys_updated_on Datetime False

The sys_updated_on column for the table cmn_relative_duration.

sys_created_on Datetime False

The sys_created_on column for the table cmn_relative_duration.

sys_name String False

The sys_name column for the table cmn_relative_duration.

sys_updated_by String False

The sys_updated_by column for the table cmn_relative_duration.

sys_created_by String False

The sys_created_by column for the table cmn_relative_duration.

sys_class_name String False

The sys_class_name column for the table cmn_relative_duration.

sys_mod_count String False

The sys_mod_count column for the table cmn_relative_duration.

sys_update_name String False

The sys_update_name column for the table cmn_relative_duration.

cmn_schedule

The ServiceNow table cmn_schedule.

Columns

Name Type ReadOnly References Description
parent String False

The parent column for the table cmn_schedule.

document_key String False

The document_key column for the table cmn_schedule.

type String False

The type column for the table cmn_schedule.

description String False

The description column for the table cmn_schedule.

read_only String False

The read_only column for the table cmn_schedule.

sys_id [KEY] String False

The sys_id column for the table cmn_schedule.

document String False

The document column for the table cmn_schedule.

time_zone String False

The time_zone column for the table cmn_schedule.

name String False

The name column for the table cmn_schedule.

sys_policy String False

The sys_policy column for the table cmn_schedule.

sys_replace_on_upgrade String False

The sys_replace_on_upgrade column for the table cmn_schedule.

sys_customer_update String False

The sys_customer_update column for the table cmn_schedule.

sys_scope String False

The sys_scope column for the table cmn_schedule.

sys_package String False

The sys_package column for the table cmn_schedule.

sys_updated_on Datetime False

The sys_updated_on column for the table cmn_schedule.

sys_created_on Datetime False

The sys_created_on column for the table cmn_schedule.

sys_name String False

The sys_name column for the table cmn_schedule.

sys_updated_by String False

The sys_updated_by column for the table cmn_schedule.

sys_created_by String False

The sys_created_by column for the table cmn_schedule.

sys_class_name String False

The sys_class_name column for the table cmn_schedule.

sys_mod_count String False

The sys_mod_count column for the table cmn_schedule.

sys_update_name String False

The sys_update_name column for the table cmn_schedule.

cmn_schedule_blackout

The ServiceNow table cmn_schedule_blackout.

Columns

Name Type ReadOnly References Description
sys_id [KEY] String False

The sys_id column for the table cmn_schedule_blackout.

condition String False

The condition column for the table cmn_schedule_blackout.

cmn_schedule_condition

The ServiceNow table cmn_schedule_condition.

Columns

Name Type ReadOnly References Description
parent String False

The parent column for the table cmn_schedule_condition.

document_key String False

The document_key column for the table cmn_schedule_condition.

type String False

The type column for the table cmn_schedule_condition.

description String False

The description column for the table cmn_schedule_condition.

read_only String False

The read_only column for the table cmn_schedule_condition.

document String False

The document column for the table cmn_schedule_condition.

time_zone String False

The time_zone column for the table cmn_schedule_condition.

name String False

The name column for the table cmn_schedule_condition.

sys_id [KEY] String False

The sys_id column for the table cmn_schedule_condition.

condition String False

The condition column for the table cmn_schedule_condition.

cmn_schedule_maintenance

The ServiceNow table cmn_schedule_maintenance.

Columns

Name Type ReadOnly References Description
condition String False

The condition column for the table cmn_schedule_maintenance.

sys_id [KEY] String False

The sys_id column for the table cmn_schedule_maintenance.

cmn_schedule_page

The ServiceNow table cmn_schedule_page.

Columns

Name Type ReadOnly References Description
init_function String False

The init_function column for the table cmn_schedule_page.

client_script String False

The client_script column for the table cmn_schedule_page.

description String False

The description column for the table cmn_schedule_page.

name String False

The name column for the table cmn_schedule_page.

sys_id [KEY] String False

The sys_id column for the table cmn_schedule_page.

header_html String False

The header_html column for the table cmn_schedule_page.

view_type String False

The view_type column for the table cmn_schedule_page.

type String False

The type column for the table cmn_schedule_page.

server_script String False

The server_script column for the table cmn_schedule_page.

sys_policy String False

The sys_policy column for the table cmn_schedule_page.

sys_replace_on_upgrade String False

The sys_replace_on_upgrade column for the table cmn_schedule_page.

sys_customer_update String False

The sys_customer_update column for the table cmn_schedule_page.

sys_scope String False

The sys_scope column for the table cmn_schedule_page.

sys_package String False

The sys_package column for the table cmn_schedule_page.

sys_updated_on Datetime False

The sys_updated_on column for the table cmn_schedule_page.

sys_created_on Datetime False

The sys_created_on column for the table cmn_schedule_page.

sys_name String False

The sys_name column for the table cmn_schedule_page.

sys_updated_by String False

The sys_updated_by column for the table cmn_schedule_page.

sys_created_by String False

The sys_created_by column for the table cmn_schedule_page.

sys_class_name String False

The sys_class_name column for the table cmn_schedule_page.

sys_mod_count String False

The sys_mod_count column for the table cmn_schedule_page.

sys_update_name String False

The sys_update_name column for the table cmn_schedule_page.

cmn_schedule_span

The ServiceNow table cmn_schedule_span.

Columns

Name Type ReadOnly References Description
start_date_time String False

The start_date_time column for the table cmn_schedule_span.

yearly_type String False

The yearly_type column for the table cmn_schedule_span.

sys_updated_on Datetime False

The sys_updated_on column for the table cmn_schedule_span.

show_as String False

The show_as column for the table cmn_schedule_span.

days_of_week String False

The days_of_week column for the table cmn_schedule_span.

sys_id [KEY] String False

The sys_id column for the table cmn_schedule_span.

notes String False

The notes column for the table cmn_schedule_span.

repeat_type String False

The repeat_type column for the table cmn_schedule_span.

parent String False

The parent column for the table cmn_schedule_span.

schedule String False

The schedule column for the table cmn_schedule_span.

all_day String False

The all_day column for the table cmn_schedule_span.

float_week String False

The float_week column for the table cmn_schedule_span.

sys_created_on Datetime False

The sys_created_on column for the table cmn_schedule_span.

type String False

The type column for the table cmn_schedule_span.

monthly_type String False

The monthly_type column for the table cmn_schedule_span.

sys_updated_by String False

The sys_updated_by column for the table cmn_schedule_span.

sys_class_name String False

The sys_class_name column for the table cmn_schedule_span.

repeat_count String False

The repeat_count column for the table cmn_schedule_span.

override_start_date String False

The override_start_date column for the table cmn_schedule_span.

name String False

The name column for the table cmn_schedule_span.

repeat_until String False

The repeat_until column for the table cmn_schedule_span.

float_day String False

The float_day column for the table cmn_schedule_span.

sys_mod_count String False

The sys_mod_count column for the table cmn_schedule_span.

end_date_time String False

The end_date_time column for the table cmn_schedule_span.

month String False

The month column for the table cmn_schedule_span.

sys_created_by String False

The sys_created_by column for the table cmn_schedule_span.

cmn_timeline_page

The ServiceNow table cmn_timeline_page.

Columns

Name Type ReadOnly References Description
show_span_text String False

The show_span_text column for the table cmn_timeline_page.

allow_dragging String False

The allow_dragging column for the table cmn_timeline_page.

name String False

The name column for the table cmn_timeline_page.

auto_refresh String False

The auto_refresh column for the table cmn_timeline_page.

perform_custom_sort String False

The perform_custom_sort column for the table cmn_timeline_page.

show_summary_pane String False

The show_summary_pane column for the table cmn_timeline_page.

condition String False

The condition column for the table cmn_timeline_page.

sys_id [KEY] String False

The sys_id column for the table cmn_timeline_page.

end_date_field String False

The end_date_field column for the table cmn_timeline_page.

show_tooltips String False

The show_tooltips column for the table cmn_timeline_page.

allow_drag_right String False

The allow_drag_right column for the table cmn_timeline_page.

suffix String False

The suffix column for the table cmn_timeline_page.

css_span_color String False

The css_span_color column for the table cmn_timeline_page.

sort_by_order String False

The sort_by_order column for the table cmn_timeline_page.

show_left_pane String False

The show_left_pane column for the table cmn_timeline_page.

sort_by String False

The sort_by column for the table cmn_timeline_page.

show_grid_lines String False

The show_grid_lines column for the table cmn_timeline_page.

tooltip_label String False

The tooltip_label column for the table cmn_timeline_page.

range_calculator String False

The range_calculator column for the table cmn_timeline_page.

start_date_field String False

The start_date_field column for the table cmn_timeline_page.

labels String False

The labels column for the table cmn_timeline_page.

allow_drag_left String False

The allow_drag_left column for the table cmn_timeline_page.

sys_policy String False

The sys_policy column for the table cmn_timeline_page.

sys_replace_on_upgrade String False

The sys_replace_on_upgrade column for the table cmn_timeline_page.

sys_customer_update String False

The sys_customer_update column for the table cmn_timeline_page.

sys_scope String False

The sys_scope column for the table cmn_timeline_page.

sys_package String False

The sys_package column for the table cmn_timeline_page.

sys_updated_on Datetime False

The sys_updated_on column for the table cmn_timeline_page.

sys_created_on Datetime False

The sys_created_on column for the table cmn_timeline_page.

sys_name String False

The sys_name column for the table cmn_timeline_page.

sys_updated_by String False

The sys_updated_by column for the table cmn_timeline_page.

sys_created_by String False

The sys_created_by column for the table cmn_timeline_page.

sys_class_name String False

The sys_class_name column for the table cmn_timeline_page.

sys_mod_count String False

The sys_mod_count column for the table cmn_timeline_page.

sys_update_name String False

The sys_update_name column for the table cmn_timeline_page.

cmn_timeline_page_style

The ServiceNow table cmn_timeline_page_style.

Columns

Name Type ReadOnly References Description
label_color String False

The label_color column for the table cmn_timeline_page_style.

condition String False

The condition column for the table cmn_timeline_page_style.

order String False

The order column for the table cmn_timeline_page_style.

span_color String False

The span_color column for the table cmn_timeline_page_style.

timeline_page String False

The timeline_page column for the table cmn_timeline_page_style.

sys_id [KEY] String False

The sys_id column for the table cmn_timeline_page_style.

label_decoration String False

The label_decoration column for the table cmn_timeline_page_style.

sys_policy String False

The sys_policy column for the table cmn_timeline_page_style.

sys_replace_on_upgrade String False

The sys_replace_on_upgrade column for the table cmn_timeline_page_style.

sys_customer_update String False

The sys_customer_update column for the table cmn_timeline_page_style.

sys_scope String False

The sys_scope column for the table cmn_timeline_page_style.

sys_package String False

The sys_package column for the table cmn_timeline_page_style.

sys_updated_on Datetime False

The sys_updated_on column for the table cmn_timeline_page_style.

sys_created_on Datetime False

The sys_created_on column for the table cmn_timeline_page_style.

sys_name String False

The sys_name column for the table cmn_timeline_page_style.

sys_updated_by String False

The sys_updated_by column for the table cmn_timeline_page_style.

sys_created_by String False

The sys_created_by column for the table cmn_timeline_page_style.

sys_class_name String False

The sys_class_name column for the table cmn_timeline_page_style.

sys_mod_count String False

The sys_mod_count column for the table cmn_timeline_page_style.

sys_update_name String False

The sys_update_name column for the table cmn_timeline_page_style.

cmn_timeline_sub_item

The ServiceNow table cmn_timeline_sub_item.

Columns

Name Type ReadOnly References Description
show_span_text String False

The show_span_text column for the table cmn_timeline_sub_item.

allow_dragging String False

The allow_dragging column for the table cmn_timeline_sub_item.

name String False

The name column for the table cmn_timeline_sub_item.

auto_refresh String False

The auto_refresh column for the table cmn_timeline_sub_item.

perform_custom_sort String False

The perform_custom_sort column for the table cmn_timeline_sub_item.

show_summary_pane String False

The show_summary_pane column for the table cmn_timeline_sub_item.

condition String False

The condition column for the table cmn_timeline_sub_item.

end_date_field String False

The end_date_field column for the table cmn_timeline_sub_item.

show_tooltips String False

The show_tooltips column for the table cmn_timeline_sub_item.

allow_drag_right String False

The allow_drag_right column for the table cmn_timeline_sub_item.

suffix String False

The suffix column for the table cmn_timeline_sub_item.

css_span_color String False

The css_span_color column for the table cmn_timeline_sub_item.

sort_by_order String False

The sort_by_order column for the table cmn_timeline_sub_item.

show_left_pane String False

The show_left_pane column for the table cmn_timeline_sub_item.

sort_by String False

The sort_by column for the table cmn_timeline_sub_item.

show_grid_lines String False

The show_grid_lines column for the table cmn_timeline_sub_item.

tooltip_label String False

The tooltip_label column for the table cmn_timeline_sub_item.

range_calculator String False

The range_calculator column for the table cmn_timeline_sub_item.

start_date_field String False

The start_date_field column for the table cmn_timeline_sub_item.

labels String False

The labels column for the table cmn_timeline_sub_item.

allow_drag_left String False

The allow_drag_left column for the table cmn_timeline_sub_item.

parent String False

The parent column for the table cmn_timeline_sub_item.

restriction String False

The restriction column for the table cmn_timeline_sub_item.

sys_id [KEY] String False

The sys_id column for the table cmn_timeline_sub_item.

parent_col String False

The parent_col column for the table cmn_timeline_sub_item.

diagrammer_action

The ServiceNow table diagrammer_action.

Columns

Name Type ReadOnly References Description
name String False

The name column for the table diagrammer_action.

active String False

The active column for the table diagrammer_action.

script String False

The script column for the table diagrammer_action.

icon String False

The icon column for the table diagrammer_action.

sys_id [KEY] String False

The sys_id column for the table diagrammer_action.

order String False

The order column for the table diagrammer_action.

condition String False

The condition column for the table diagrammer_action.

type String False

The type column for the table diagrammer_action.

sys_policy String False

The sys_policy column for the table diagrammer_action.

sys_replace_on_upgrade String False

The sys_replace_on_upgrade column for the table diagrammer_action.

sys_customer_update String False

The sys_customer_update column for the table diagrammer_action.

sys_scope String False

The sys_scope column for the table diagrammer_action.

sys_package String False

The sys_package column for the table diagrammer_action.

sys_updated_on Datetime False

The sys_updated_on column for the table diagrammer_action.

sys_created_on Datetime False

The sys_created_on column for the table diagrammer_action.

sys_name String False

The sys_name column for the table diagrammer_action.

sys_updated_by String False

The sys_updated_by column for the table diagrammer_action.

sys_created_by String False

The sys_created_by column for the table diagrammer_action.

sys_class_name String False

The sys_class_name column for the table diagrammer_action.

sys_mod_count String False

The sys_mod_count column for the table diagrammer_action.

sys_update_name String False

The sys_update_name column for the table diagrammer_action.

expert_panel

The ServiceNow table expert_panel.

Columns

Name Type ReadOnly References Description
description String False

The description column for the table expert_panel.

expert String False

The expert column for the table expert_panel.

name String False

The name column for the table expert_panel.

order String False

The order column for the table expert_panel.

previous_message String False

The previous_message column for the table expert_panel.

title String False

The title column for the table expert_panel.

banner_step String False

The banner_step column for the table expert_panel.

sys_id [KEY] String False

The sys_id column for the table expert_panel.

complete_message String False

The complete_message column for the table expert_panel.

next_message String False

The next_message column for the table expert_panel.

sys_policy String False

The sys_policy column for the table expert_panel.

sys_replace_on_upgrade String False

The sys_replace_on_upgrade column for the table expert_panel.

sys_customer_update String False

The sys_customer_update column for the table expert_panel.

sys_scope String False

The sys_scope column for the table expert_panel.

sys_package String False

The sys_package column for the table expert_panel.

sys_updated_on Datetime False

The sys_updated_on column for the table expert_panel.

sys_created_on Datetime False

The sys_created_on column for the table expert_panel.

sys_name String False

The sys_name column for the table expert_panel.

sys_updated_by String False

The sys_updated_by column for the table expert_panel.

sys_created_by String False

The sys_created_by column for the table expert_panel.

sys_class_name String False

The sys_class_name column for the table expert_panel.

sys_mod_count String False

The sys_mod_count column for the table expert_panel.

sys_update_name String False

The sys_update_name column for the table expert_panel.

item_option_new

The ServiceNow table item_option_new.

Columns

Name Type ReadOnly References Description
cat_item String False

The cat_item column for the table item_option_new.

description String False

The description column for the table item_option_new.

category String False

The category column for the table item_option_new.

visible_bundle String False

The visible_bundle column for the table item_option_new.

visible_guide String False

The visible_guide column for the table item_option_new.

global String False

The global column for the table item_option_new.

variable_set String False

The variable_set column for the table item_option_new.

delivery_plan String False

The delivery_plan column for the table item_option_new.

visibility String False

The visibility column for the table item_option_new.

visible_standalone String False

The visible_standalone column for the table item_option_new.

visible_summary String False

The visible_summary column for the table item_option_new.

sys_id [KEY] String False

The sys_id column for the table item_option_new.

dynamic_ref_qual String False

The dynamic_ref_qual column for the table item_option_new.

dynamic_default_value String False

The dynamic_default_value column for the table item_option_new.

use_reference_qualifier String False

The use_reference_qualifier column for the table item_option_new.

pricing_implications String False

The pricing_implications column for the table item_option_new.

variable_name String False

The variable_name column for the table item_option_new.

lookup_label String False

The lookup_label column for the table item_option_new.

mandatory String False

The mandatory column for the table item_option_new.

mask_use_encryption String False

The mask_use_encryption column for the table item_option_new.

default_html_value String False

The default_html_value column for the table item_option_new.

choice_direction String False

The choice_direction column for the table item_option_new.

lookup_price String False

The lookup_price column for the table item_option_new.

use_dynamic_default String False

The use_dynamic_default column for the table item_option_new.

layout String False

The layout column for the table item_option_new.

mask_use_confirmation String False

The mask_use_confirmation column for the table item_option_new.

ui_page String False

The ui_page column for the table item_option_new.

active String False

The active column for the table item_option_new.

field String False

The field column for the table item_option_new.

lookup_value String False

The lookup_value column for the table item_option_new.

help_text String False

The help_text column for the table item_option_new.

record_producer_table String False

The record_producer_table column for the table item_option_new.

price_if_checked String False

The price_if_checked column for the table item_option_new.

scale_min String False

The scale_min column for the table item_option_new.

reference_qual String False

The reference_qual column for the table item_option_new.

show_help String False

The show_help column for the table item_option_new.

delete_roles String False

The delete_roles column for the table item_option_new.

map_to_field String False

The map_to_field column for the table item_option_new.

name String False

The name column for the table item_option_new.

rec_price_if_checked String False

The rec_price_if_checked column for the table item_option_new.

macro String False

The macro column for the table item_option_new.

reference_qual_condition String False

The reference_qual_condition column for the table item_option_new.

attributes String False

The attributes column for the table item_option_new.

question_text String False

The question_text column for the table item_option_new.

scale_max String False

The scale_max column for the table item_option_new.

choice_field String False

The choice_field column for the table item_option_new.

display_title String False

The display_title column for the table item_option_new.

read_roles String False

The read_roles column for the table item_option_new.

create_roles String False

The create_roles column for the table item_option_new.

tooltip String False

The tooltip column for the table item_option_new.

record String False

The record column for the table item_option_new.

type String False

The type column for the table item_option_new.

default_value String False

The default_value column for the table item_option_new.

order String False

The order column for the table item_option_new.

rec_lookup_price String False

The rec_lookup_price column for the table item_option_new.

include_none String False

The include_none column for the table item_option_new.

lookup_unique String False

The lookup_unique column for the table item_option_new.

write_roles String False

The write_roles column for the table item_option_new.

help_tag String False

The help_tag column for the table item_option_new.

do_not_select_first String False

The do_not_select_first column for the table item_option_new.

summary_macro String False

The summary_macro column for the table item_option_new.

question

The ServiceNow table question.

Columns

Name Type ReadOnly References Description
dynamic_ref_qual String False

The dynamic_ref_qual column for the table question.

dynamic_default_value String False

The dynamic_default_value column for the table question.

sys_id [KEY] String False

The sys_id column for the table question.

use_reference_qualifier String False

The use_reference_qualifier column for the table question.

pricing_implications String False

The pricing_implications column for the table question.

variable_name String False

The variable_name column for the table question.

lookup_label String False

The lookup_label column for the table question.

mandatory String False

The mandatory column for the table question.

mask_use_encryption String False

The mask_use_encryption column for the table question.

default_html_value String False

The default_html_value column for the table question.

choice_direction String False

The choice_direction column for the table question.

lookup_price String False

The lookup_price column for the table question.

use_dynamic_default String False

The use_dynamic_default column for the table question.

layout String False

The layout column for the table question.

mask_use_confirmation String False

The mask_use_confirmation column for the table question.

ui_page String False

The ui_page column for the table question.

active String False

The active column for the table question.

field String False

The field column for the table question.

lookup_value String False

The lookup_value column for the table question.

help_text String False

The help_text column for the table question.

record_producer_table String False

The record_producer_table column for the table question.

price_if_checked String False

The price_if_checked column for the table question.

scale_min String False

The scale_min column for the table question.

reference_qual String False

The reference_qual column for the table question.

show_help String False

The show_help column for the table question.

delete_roles String False

The delete_roles column for the table question.

map_to_field String False

The map_to_field column for the table question.

name String False

The name column for the table question.

rec_price_if_checked String False

The rec_price_if_checked column for the table question.

macro String False

The macro column for the table question.

reference_qual_condition String False

The reference_qual_condition column for the table question.

attributes String False

The attributes column for the table question.

question_text String False

The question_text column for the table question.

scale_max String False

The scale_max column for the table question.

choice_field String False

The choice_field column for the table question.

display_title String False

The display_title column for the table question.

read_roles String False

The read_roles column for the table question.

create_roles String False

The create_roles column for the table question.

tooltip String False

The tooltip column for the table question.

record String False

The record column for the table question.

type String False

The type column for the table question.

default_value String False

The default_value column for the table question.

order String False

The order column for the table question.

rec_lookup_price String False

The rec_lookup_price column for the table question.

include_none String False

The include_none column for the table question.

lookup_unique String False

The lookup_unique column for the table question.

write_roles String False

The write_roles column for the table question.

help_tag String False

The help_tag column for the table question.

do_not_select_first String False

The do_not_select_first column for the table question.

summary_macro String False

The summary_macro column for the table question.

sys_policy String False

The sys_policy column for the table question.

sys_replace_on_upgrade String False

The sys_replace_on_upgrade column for the table question.

sys_customer_update String False

The sys_customer_update column for the table question.

sys_scope String False

The sys_scope column for the table question.

sys_package String False

The sys_package column for the table question.

sys_updated_on Datetime False

The sys_updated_on column for the table question.

sys_created_on Datetime False

The sys_created_on column for the table question.

sys_name String False

The sys_name column for the table question.

sys_updated_by String False

The sys_updated_by column for the table question.

sys_created_by String False

The sys_created_by column for the table question.

sys_class_name String False

The sys_class_name column for the table question.

sys_mod_count String False

The sys_mod_count column for the table question.

sys_update_name String False

The sys_update_name column for the table question.

sc_category

The ServiceNow table sc_category.

Columns

Name Type ReadOnly References Description
show_in_cms String False

The show_in_cms column for the table sc_category.

header_icon String False

The header_icon column for the table sc_category.

module String False

The module column for the table sc_category.

roles String False

The roles column for the table sc_category.

mobile_subcategory_render_type String False

The mobile_subcategory_render_type column for the table sc_category.

mobile_picture String False

The mobile_picture column for the table sc_category.

order String False

The order column for the table sc_category.

description String False

The description column for the table sc_category.

image String False

The image column for the table sc_category.

parent String False

The parent column for the table sc_category.

icon String False

The icon column for the table sc_category.

homepage_renderer String False

The homepage_renderer column for the table sc_category.

active String False

The active column for the table sc_category.

mobile_hide_description String False

The mobile_hide_description column for the table sc_category.

homepage_image String False

The homepage_image column for the table sc_category.

entitlement_script String False

The entitlement_script column for the table sc_category.

sys_id [KEY] String False

The sys_id column for the table sc_category.

title String False

The title column for the table sc_category.

sc_catalog String False

The sc_catalog column for the table sc_category.

location String False

The location column for the table sc_category.

sys_policy String False

The sys_policy column for the table sc_category.

sys_replace_on_upgrade String False

The sys_replace_on_upgrade column for the table sc_category.

sys_customer_update String False

The sys_customer_update column for the table sc_category.

sys_scope String False

The sys_scope column for the table sc_category.

sys_package String False

The sys_package column for the table sc_category.

sys_updated_on Datetime False

The sys_updated_on column for the table sc_category.

sys_created_on Datetime False

The sys_created_on column for the table sc_category.

sys_name String False

The sys_name column for the table sc_category.

sys_updated_by String False

The sys_updated_by column for the table sc_category.

sys_created_by String False

The sys_created_by column for the table sc_category.

sys_class_name String False

The sys_class_name column for the table sc_category.

sys_mod_count String False

The sys_mod_count column for the table sc_category.

sys_update_name String False

The sys_update_name column for the table sc_category.

sc_cat_item

The ServiceNow table sc_cat_item.

Columns

Name Type ReadOnly References Description
category String False

The category column for the table sc_cat_item.

model String False

The model column for the table sc_cat_item.

mobile_picture_type String False

The mobile_picture_type column for the table sc_cat_item.

no_search String False

The no_search column for the table sc_cat_item.

billable String False

The billable column for the table sc_cat_item.

group String False

The group column for the table sc_cat_item.

picture String False

The picture column for the table sc_cat_item.

no_order_now String False

The no_order_now column for the table sc_cat_item.

price String False

The price column for the table sc_cat_item.

meta String False

The meta column for the table sc_cat_item.

roles String False

The roles column for the table sc_cat_item.

start_closed String False

The start_closed column for the table sc_cat_item.

short_description String False

The short_description column for the table sc_cat_item.

template String False

The template column for the table sc_cat_item.

icon String False

The icon column for the table sc_cat_item.

use_sc_layout String False

The use_sc_layout column for the table sc_cat_item.

omit_price String False

The omit_price column for the table sc_cat_item.

vendor String False

The vendor column for the table sc_cat_item.

list_price String False

The list_price column for the table sc_cat_item.

visible_standalone String False

The visible_standalone column for the table sc_cat_item.

recurring_frequency String False

The recurring_frequency column for the table sc_cat_item.

entitlement_script String False

The entitlement_script column for the table sc_cat_item.

cost String False

The cost column for the table sc_cat_item.

workflow String False

The workflow column for the table sc_cat_item.

custom_cart String False

The custom_cart column for the table sc_cat_item.

sc_ic_item_staging String False

The sc_ic_item_staging column for the table sc_cat_item.

image String False

The image column for the table sc_cat_item.

delivery_time Datetime False

The delivery_time column for the table sc_cat_item.

mobile_picture String False

The mobile_picture column for the table sc_cat_item.

no_order String False

The no_order column for the table sc_cat_item.

ignore_price String False

The ignore_price column for the table sc_cat_item.

location String False

The location column for the table sc_cat_item.

delivery_plan String False

The delivery_plan column for the table sc_cat_item.

no_proceed_checkout String False

The no_proceed_checkout column for the table sc_cat_item.

name String False

The name column for the table sc_cat_item.

description String False

The description column for the table sc_cat_item.

active String False

The active column for the table sc_cat_item.

order String False

The order column for the table sc_cat_item.

sc_catalogs String False

The sc_catalogs column for the table sc_cat_item.

type String False

The type column for the table sc_cat_item.

mobile_hide_price String False

The mobile_hide_price column for the table sc_cat_item.

no_cart String False

The no_cart column for the table sc_cat_item.

visible_guide String False

The visible_guide column for the table sc_cat_item.

ordered_item_link String False

The ordered_item_link column for the table sc_cat_item.

visible_bundle String False

The visible_bundle column for the table sc_cat_item.

recurring_price String False

The recurring_price column for the table sc_cat_item.

sys_id [KEY] String False

The sys_id column for the table sc_cat_item.

delivery_plan_script String False

The delivery_plan_script column for the table sc_cat_item.

preview String False

The preview column for the table sc_cat_item.

sc_ic_version String False

The sc_ic_version column for the table sc_cat_item.

no_quantity String False

The no_quantity column for the table sc_cat_item.

availability String False

The availability column for the table sc_cat_item.

sys_policy String False

The sys_policy column for the table sc_cat_item.

sys_replace_on_upgrade String False

The sys_replace_on_upgrade column for the table sc_cat_item.

sys_customer_update String False

The sys_customer_update column for the table sc_cat_item.

sys_scope String False

The sys_scope column for the table sc_cat_item.

sys_package String False

The sys_package column for the table sc_cat_item.

sys_updated_on Datetime False

The sys_updated_on column for the table sc_cat_item.

sys_created_on Datetime False

The sys_created_on column for the table sc_cat_item.

sys_name String False

The sys_name column for the table sc_cat_item.

sys_updated_by String False

The sys_updated_by column for the table sc_cat_item.

sys_created_by String False

The sys_created_by column for the table sc_cat_item.

sys_class_name String False

The sys_class_name column for the table sc_cat_item.

sys_mod_count String False

The sys_mod_count column for the table sc_cat_item.

sys_update_name String False

The sys_update_name column for the table sc_cat_item.

sla

The ServiceNow table sla.

Columns

Name Type ReadOnly References Description
sys_mod_count String False

The sys_mod_count column for the table sla.

sys_created_by String False

The sys_created_by column for the table sla.

sys_updated_by String False

The sys_updated_by column for the table sla.

ends Datetime False

The ends column for the table sla.

department String False

The department column for the table sla.

business_lead String False

The business_lead column for the table sla.

change_procedures String False

The change_procedures column for the table sla.

notes String False

The notes column for the table sla.

contract String False

The contract column for the table sla.

users String False

The users column for the table sla.

service_goals String False

The service_goals column for the table sla.

name String False

The name column for the table sla.

transaction_load String False

The transaction_load column for the table sla.

security_notes String False

The security_notes column for the table sla.

consultant_user String False

The consultant_user column for the table sla.

number String False

The number column for the table sla.

avail_pct String False

The avail_pct column for the table sla.

functional_area String False

The functional_area column for the table sla.

accountable_user String False

The accountable_user column for the table sla.

signatures String False

The signatures column for the table sla.

sys_created_on Datetime False

The sys_created_on column for the table sla.

sys_updated_on Datetime False

The sys_updated_on column for the table sla.

begins Datetime False

The begins column for the table sla.

short_description String False

The short_description column for the table sla.

maintenance String False

The maintenance column for the table sla.

reponsibilities String False

The reponsibilities column for the table sla.

description String False

The description column for the table sla.

calendar String False

The calendar column for the table sla.

next_review Datetime False

The next_review column for the table sla.

informed_user String False

The informed_user column for the table sla.

sys_class_name String False

The sys_class_name column for the table sla.

response_time String False

The response_time column for the table sla.

disaster_recovery String False

The disaster_recovery column for the table sla.

responsible_user String False

The responsible_user column for the table sla.

sys_id [KEY] String False

The sys_id column for the table sla.

active String False

The active column for the table sla.

business_unit String False

The business_unit column for the table sla.

technical_lead String False

The technical_lead column for the table sla.

incident_procedures String False

The incident_procedures column for the table sla.

sysauto

The ServiceNow table sysauto.

Columns

Name Type ReadOnly References Description
condition String False

The condition column for the table sysauto.

run_start Datetime False

The run_start column for the table sysauto.

active String False

The active column for the table sysauto.

run_time Datetime False

The run_time column for the table sysauto.

run_dayofweek String False

The run_dayofweek column for the table sysauto.

run_as_tz String False

The run_as_tz column for the table sysauto.

upgrade_safe String False

The upgrade_safe column for the table sysauto.

conditional String False

The conditional column for the table sysauto.

run_period Datetime False

The run_period column for the table sysauto.

name String False

The name column for the table sysauto.

run_dayofmonth String False

The run_dayofmonth column for the table sysauto.

run_type String False

The run_type column for the table sysauto.

run_as String False

The run_as column for the table sysauto.

sys_id [KEY] String False

The sys_id column for the table sysauto.

sys_policy String False

The sys_policy column for the table sysauto.

sys_replace_on_upgrade String False

The sys_replace_on_upgrade column for the table sysauto.

sys_customer_update String False

The sys_customer_update column for the table sysauto.

sys_scope String False

The sys_scope column for the table sysauto.

sys_package String False

The sys_package column for the table sysauto.

sys_updated_on Datetime False

The sys_updated_on column for the table sysauto.

sys_created_on Datetime False

The sys_created_on column for the table sysauto.

sys_name String False

The sys_name column for the table sysauto.

sys_updated_by String False

The sys_updated_by column for the table sysauto.

sys_created_by String False

The sys_created_by column for the table sysauto.

sys_class_name String False

The sys_class_name column for the table sysauto.

sys_mod_count String False

The sys_mod_count column for the table sysauto.

sys_update_name String False

The sys_update_name column for the table sysauto.

sysauto_script

The ServiceNow table sysauto_script.

Columns

Name Type ReadOnly References Description
condition String False

The condition column for the table sysauto_script.

run_start Datetime False

The run_start column for the table sysauto_script.

active String False

The active column for the table sysauto_script.

run_time Datetime False

The run_time column for the table sysauto_script.

run_dayofweek String False

The run_dayofweek column for the table sysauto_script.

run_as_tz String False

The run_as_tz column for the table sysauto_script.

upgrade_safe String False

The upgrade_safe column for the table sysauto_script.

conditional String False

The conditional column for the table sysauto_script.

run_period Datetime False

The run_period column for the table sysauto_script.

name String False

The name column for the table sysauto_script.

run_dayofmonth String False

The run_dayofmonth column for the table sysauto_script.

run_type String False

The run_type column for the table sysauto_script.

run_as String False

The run_as column for the table sysauto_script.

sys_id [KEY] String False

The sys_id column for the table sysauto_script.

script String False

The script column for the table sysauto_script.

syslog

The ServiceNow table syslog.

Columns

Name Type ReadOnly References Description
level String False

The level column for the table syslog.

sys_class_name String False

The sys_class_name column for the table syslog.

sys_id [KEY] String False

The sys_id column for the table syslog.

source String False

The source column for the table syslog.

sys_created_by String False

The sys_created_by column for the table syslog.

sys_created_on Datetime False

The sys_created_on column for the table syslog.

message String False

The message column for the table syslog.

sysrule

The ServiceNow table sysrule.

Columns

Name Type ReadOnly References Description
sys_overrides String False

The sys_overrides column for the table sysrule.

order String False

The order column for the table sysrule.

name String False

The name column for the table sysrule.

sys_id [KEY] String False

The sys_id column for the table sysrule.

sys_domain_path String False

The sys_domain_path column for the table sysrule.

sys_domain String False

The sys_domain column for the table sysrule.

description String False

The description column for the table sysrule.

sys_policy String False

The sys_policy column for the table sysrule.

sys_replace_on_upgrade String False

The sys_replace_on_upgrade column for the table sysrule.

sys_customer_update String False

The sys_customer_update column for the table sysrule.

sys_scope String False

The sys_scope column for the table sysrule.

sys_package String False

The sys_package column for the table sysrule.

sys_updated_on Datetime False

The sys_updated_on column for the table sysrule.

sys_created_on Datetime False

The sys_created_on column for the table sysrule.

sys_name String False

The sys_name column for the table sysrule.

sys_updated_by String False

The sys_updated_by column for the table sysrule.

sys_created_by String False

The sys_created_by column for the table sysrule.

sys_class_name String False

The sys_class_name column for the table sysrule.

sys_mod_count String False

The sys_mod_count column for the table sysrule.

sys_update_name String False

The sys_update_name column for the table sysrule.

system_db_object

The ServiceNow table system_db_object.

Columns

Name Type ReadOnly References Description
is_extendable String False

The is_extendable column for the table system_db_object.

client_scripts_access String False

The client_scripts_access column for the table system_db_object.

delete_access String False

The delete_access column for the table system_db_object.

live_feed_enabled String False

The live_feed_enabled column for the table system_db_object.

actions_access String False

The actions_access column for the table system_db_object.

update_access String False

The update_access column for the table system_db_object.

number_ref String False

The number_ref column for the table system_db_object.

provider_class String False

The provider_class column for the table system_db_object.

sys_id [KEY] String False

The sys_id column for the table system_db_object.

create_access String False

The create_access column for the table system_db_object.

label String False

The label column for the table system_db_object.

super_class String False

The super_class column for the table system_db_object.

access String False

The access column for the table system_db_object.

alter_access String False

The alter_access column for the table system_db_object.

user_role String False

The user_role column for the table system_db_object.

create_access_controls String False

The create_access_controls column for the table system_db_object.

extension_model String False

The extension_model column for the table system_db_object.

name String False

The name column for the table system_db_object.

configuration_access String False

The configuration_access column for the table system_db_object.

ws_access String False

The ws_access column for the table system_db_object.

read_access String False

The read_access column for the table system_db_object.

sys_policy String False

The sys_policy column for the table system_db_object.

sys_replace_on_upgrade String False

The sys_replace_on_upgrade column for the table system_db_object.

sys_customer_update String False

The sys_customer_update column for the table system_db_object.

sys_scope String False

The sys_scope column for the table system_db_object.

sys_package String False

The sys_package column for the table system_db_object.

sys_updated_on Datetime False

The sys_updated_on column for the table system_db_object.

sys_created_on Datetime False

The sys_created_on column for the table system_db_object.

sys_name String False

The sys_name column for the table system_db_object.

sys_updated_by String False

The sys_updated_by column for the table system_db_object.

sys_created_by String False

The sys_created_by column for the table system_db_object.

sys_class_name String False

The sys_class_name column for the table system_db_object.

sys_mod_count String False

The sys_mod_count column for the table system_db_object.

sys_update_name String False

The sys_update_name column for the table system_db_object.

system_dictionary

The ServiceNow table system_dictionary.

Columns

Name Type ReadOnly References Description
create_roles String False

The create_roles column for the table system_dictionary.

sizeclass String False

The sizeclass column for the table system_dictionary.

array String False

The array column for the table system_dictionary.

active String False

The active column for the table system_dictionary.

foreign_database String False

The foreign_database column for the table system_dictionary.

dependent_on_field String False

The dependent_on_field column for the table system_dictionary.

reference_cascade_rule String False

The reference_cascade_rule column for the table system_dictionary.

reference String False

The reference column for the table system_dictionary.

choice String False

The choice column for the table system_dictionary.

default_value String False

The default_value column for the table system_dictionary.

defaultsort String False

The defaultsort column for the table system_dictionary.

sys_id [KEY] String False

The sys_id column for the table system_dictionary.

attributes String False

The attributes column for the table system_dictionary.

xml_view String False

The xml_view column for the table system_dictionary.

delete_roles String False

The delete_roles column for the table system_dictionary.

reference_qual String False

The reference_qual column for the table system_dictionary.

reference_key String False

The reference_key column for the table system_dictionary.

dynamic_creation_script String False

The dynamic_creation_script column for the table system_dictionary.

max_length String False

The max_length column for the table system_dictionary.

column_label String False

The column_label column for the table system_dictionary.

read_only String False

The read_only column for the table system_dictionary.

dependent String False

The dependent column for the table system_dictionary.

unique String False

The unique column for the table system_dictionary.

spell_check String False

The spell_check column for the table system_dictionary.

write_roles String False

The write_roles column for the table system_dictionary.

audit String False

The audit column for the table system_dictionary.

staged String False

The staged column for the table system_dictionary.

dynamic_ref_qual String False

The dynamic_ref_qual column for the table system_dictionary.

use_dynamic_default String False

The use_dynamic_default column for the table system_dictionary.

dynamic_default_value String False

The dynamic_default_value column for the table system_dictionary.

use_dependent_field String False

The use_dependent_field column for the table system_dictionary.

use_reference_qualifier String False

The use_reference_qualifier column for the table system_dictionary.

reference_qual_condition String False

The reference_qual_condition column for the table system_dictionary.

choice_field String False

The choice_field column for the table system_dictionary.

dynamic_creation String False

The dynamic_creation column for the table system_dictionary.

calculation String False

The calculation column for the table system_dictionary.

next_element String False

The next_element column for the table system_dictionary.

display String False

The display column for the table system_dictionary.

reference_floats String False

The reference_floats column for the table system_dictionary.

element_reference String False

The element_reference column for the table system_dictionary.

mandatory String False

The mandatory column for the table system_dictionary.

read_roles String False

The read_roles column for the table system_dictionary.

text_index String False

The text_index column for the table system_dictionary.

comments String False

The comments column for the table system_dictionary.

primary String False

The primary column for the table system_dictionary.

element String False

The element column for the table system_dictionary.

widget String False

The widget column for the table system_dictionary.

reference_type String False

The reference_type column for the table system_dictionary.

table_reference String False

The table_reference column for the table system_dictionary.

internal_type String False

The internal_type column for the table system_dictionary.

virtual String False

The virtual column for the table system_dictionary.

sys_policy String False

The sys_policy column for the table system_dictionary.

sys_replace_on_upgrade String False

The sys_replace_on_upgrade column for the table system_dictionary.

sys_customer_update String False

The sys_customer_update column for the table system_dictionary.

sys_scope String False

The sys_scope column for the table system_dictionary.

sys_package String False

The sys_package column for the table system_dictionary.

sys_updated_on Datetime False

The sys_updated_on column for the table system_dictionary.

sys_created_on Datetime False

The sys_created_on column for the table system_dictionary.

sys_name String False

The sys_name column for the table system_dictionary.

sys_updated_by String False

The sys_updated_by column for the table system_dictionary.

sys_created_by String False

The sys_created_by column for the table system_dictionary.

sys_class_name String False

The sys_class_name column for the table system_dictionary.

sys_mod_count String False

The sys_mod_count column for the table system_dictionary.

sys_update_name String False

The sys_update_name column for the table system_dictionary.

system_documentation

The ServiceNow table system_documentation.

Columns

Name Type ReadOnly References Description
label String False

The label column for the table system_documentation.

url String False

The URL column for the table system_documentation.

help String False

The help column for the table system_documentation.

language String False

The language column for the table system_documentation.

sys_id [KEY] String False

The sys_id column for the table system_documentation.

hint String False

The hint column for the table system_documentation.

element String False

The element column for the table system_documentation.

plural String False

The plural column for the table system_documentation.

url_target String False

The URL_target column for the table system_documentation.

sys_policy String False

The sys_policy column for the table system_documentation.

sys_replace_on_upgrade String False

The sys_replace_on_upgrade column for the table system_documentation.

sys_customer_update String False

The sys_customer_update column for the table system_documentation.

sys_scope String False

The sys_scope column for the table system_documentation.

sys_package String False

The sys_package column for the table system_documentation.

sys_updated_on Datetime False

The sys_updated_on column for the table system_documentation.

sys_created_on Datetime False

The sys_created_on column for the table system_documentation.

sys_name String False

The sys_name column for the table system_documentation.

sys_updated_by String False

The sys_updated_by column for the table system_documentation.

sys_created_by String False

The sys_created_by column for the table system_documentation.

sys_class_name String False

The sys_class_name column for the table system_documentation.

sys_mod_count String False

The sys_mod_count column for the table system_documentation.

sys_update_name String False

The sys_update_name column for the table system_documentation.

system_import_set_row

The ServiceNow table system_import_set_row.

Columns

Name Type ReadOnly References Description
sys_import_state String False

The sys_import_state column for the table system_import_set_row.

sys_id [KEY] String False

The sys_id column for the table system_import_set_row.

sys_import_set String False

The sys_import_set column for the table system_import_set_row.

template_import_log String False

The template_import_log column for the table system_import_set_row.

sys_row_error String False

The sys_row_error column for the table system_import_set_row.

sys_created_on Datetime False

The sys_created_on column for the table system_import_set_row.

sys_updated_on Datetime False

The sys_updated_on column for the table system_import_set_row.

sys_import_row String False

The sys_import_row column for the table system_import_set_row.

import_set_run String False

The import_set_run column for the table system_import_set_row.

sys_class_name String False

The sys_class_name column for the table system_import_set_row.

sys_transform_map String False

The sys_transform_map column for the table system_import_set_row.

sys_mod_count String False

The sys_mod_count column for the table system_import_set_row.

sys_target_sys_id String False

The sys_target_sys_id column for the table system_import_set_row.

sys_created_by String False

The sys_created_by column for the table system_import_set_row.

sys_import_state_comment String False

The sys_import_state_comment column for the table system_import_set_row.

sys_updated_by String False

The sys_updated_by column for the table system_import_set_row.

system_script_client

The ServiceNow table system_script_client.

Columns

Name Type ReadOnly References Description
sys_policy String False

The sys_policy column for the table system_script_client.

sys_replace_on_upgrade String False

The sys_replace_on_upgrade column for the table system_script_client.

sys_customer_update String False

The sys_customer_update column for the table system_script_client.

sys_scope String False

The sys_scope column for the table system_script_client.

sys_package String False

The sys_package column for the table system_script_client.

sys_updated_on Datetime False

The sys_updated_on column for the table system_script_client.

sys_created_on Datetime False

The sys_created_on column for the table system_script_client.

sys_name String False

The sys_name column for the table system_script_client.

sys_updated_by String False

The sys_updated_by column for the table system_script_client.

sys_created_by String False

The sys_created_by column for the table system_script_client.

sys_class_name String False

The sys_class_name column for the table system_script_client.

sys_mod_count String False

The sys_mod_count column for the table system_script_client.

sys_update_name String False

The sys_update_name column for the table system_script_client.

sys_domain String False

The sys_domain column for the table system_script_client.

global String False

The global column for the table system_script_client.

condition String False

The condition column for the table system_script_client.

description String False

The description column for the table system_script_client.

sys_overrides String False

The sys_overrides column for the table system_script_client.

field String False

The field column for the table system_script_client.

applies_extended String False

The applies_extended column for the table system_script_client.

sys_domain_path String False

The sys_domain_path column for the table system_script_client.

type String False

The type column for the table system_script_client.

messages String False

The messages column for the table system_script_client.

sys_id [KEY] String False

The sys_id column for the table system_script_client.

active String False

The active column for the table system_script_client.

view String False

The view column for the table system_script_client.

order String False

The order column for the table system_script_client.

script String False

The script column for the table system_script_client.

name String False

The name column for the table system_script_client.

ui_type String False

The ui_type column for the table system_script_client.

system_ui_policy

The ServiceNow table system_ui_policy.

Columns

Name Type ReadOnly References Description
sys_policy String False

The sys_policy column for the table system_ui_policy.

sys_replace_on_upgrade String False

The sys_replace_on_upgrade column for the table system_ui_policy.

sys_customer_update String False

The sys_customer_update column for the table system_ui_policy.

sys_scope String False

The sys_scope column for the table system_ui_policy.

sys_package String False

The sys_package column for the table system_ui_policy.

sys_updated_on Datetime False

The sys_updated_on column for the table system_ui_policy.

sys_created_on Datetime False

The sys_created_on column for the table system_ui_policy.

sys_name String False

The sys_name column for the table system_ui_policy.

sys_updated_by String False

The sys_updated_by column for the table system_ui_policy.

sys_created_by String False

The sys_created_by column for the table system_ui_policy.

sys_class_name String False

The sys_class_name column for the table system_ui_policy.

sys_mod_count String False

The sys_mod_count column for the table system_ui_policy.

sys_update_name String False

The sys_update_name column for the table system_ui_policy.

inherit String False

The inherit column for the table system_ui_policy.

model_id String False

The model_id column for the table system_ui_policy.

sys_id [KEY] String False

The sys_id column for the table system_ui_policy.

reverse_if_false String False

The reverse_if_false column for the table system_ui_policy.

script_false String False

The script_false column for the table system_ui_policy.

set_values String False

The set_values column for the table system_ui_policy.

active String False

The active column for the table system_ui_policy.

short_description String False

The short_description column for the table system_ui_policy.

run_scripts String False

The run_scripts column for the table system_ui_policy.

sys_domain_path String False

The sys_domain_path column for the table system_ui_policy.

ui_type String False

The ui_type column for the table system_ui_policy.

order String False

The order column for the table system_ui_policy.

sys_domain String False

The sys_domain column for the table system_ui_policy.

description String False

The description column for the table system_ui_policy.

view String False

The view column for the table system_ui_policy.

conditions String False

The conditions column for the table system_ui_policy.

on_load String False

The on_load column for the table system_ui_policy.

script_true String False

The script_true column for the table system_ui_policy.

sys_overrides String False

The sys_overrides column for the table system_ui_policy.

global String False

The global column for the table system_ui_policy.

system_ui_policy_action

The ServiceNow table system_ui_policy_action.

Columns

Name Type ReadOnly References Description
sys_policy String False

The sys_policy column for the table system_ui_policy_action.

sys_replace_on_upgrade String False

The sys_replace_on_upgrade column for the table system_ui_policy_action.

sys_customer_update String False

The sys_customer_update column for the table system_ui_policy_action.

sys_scope String False

The sys_scope column for the table system_ui_policy_action.

sys_package String False

The sys_package column for the table system_ui_policy_action.

sys_updated_on Datetime False

The sys_updated_on column for the table system_ui_policy_action.

sys_created_on Datetime False

The sys_created_on column for the table system_ui_policy_action.

sys_name String False

The sys_name column for the table system_ui_policy_action.

sys_updated_by String False

The sys_updated_by column for the table system_ui_policy_action.

sys_created_by String False

The sys_created_by column for the table system_ui_policy_action.

sys_class_name String False

The sys_class_name column for the table system_ui_policy_action.

sys_mod_count String False

The sys_mod_count column for the table system_ui_policy_action.

sys_update_name String False

The sys_update_name column for the table system_ui_policy_action.

visible String False

The visible column for the table system_ui_policy_action.

ui_policy String False

The ui_policy column for the table system_ui_policy_action.

mandatory String False

The mandatory column for the table system_ui_policy_action.

disabled String False

The disabled column for the table system_ui_policy_action.

sys_id [KEY] String False

The sys_id column for the table system_ui_policy_action.

field String False

The field column for the table system_ui_policy_action.

task

The ServiceNow table task.

Columns

Name Type ReadOnly References Description
delivery_task String False

The delivery_task column for the table task.

upon_approval String False

The upon_approval column for the table task.

work_start Datetime False

The work_start column for the table task.

delivery_plan String False

The delivery_plan column for the table task.

rejection_goto String False

The rejection_goto column for the table task.

work_end Datetime False

The work_end column for the table task.

upon_reject String False

The upon_reject column for the table task.

business_service String False

The business_service column for the table task.

sys_id [KEY] String False

The sys_id column for the table task.

sys_domain String False

The sys_domain column for the table task.

sys_created_on Datetime False

The sys_created_on column for the table task.

sys_updated_on Datetime False

The sys_updated_on column for the table task.

expected_start Datetime False

The expected_start column for the table task.

variables String False

The variables column for the table task.

number String False

The number column for the table task.

comments String False

The comments column for the table task.

urgency String False

The urgency column for the table task.

opened_at Datetime False

The opened_at column for the table task.

watch_list String False

The watch_list column for the table task.

sla_due Datetime False

The sla_due column for the table task.

active String False

The active column for the table task.

state String False

The state column for the table task.

work_notes String False

The work_notes column for the table task.

closed_by String False

The closed_by column for the table task.

follow_up Datetime False

The follow_up column for the table task.

work_notes_list String False

The work_notes_list column for the table task.

cmdb_ci String False

The cmdb_ci column for the table task.

approval_history String False

The approval_history column for the table task.

business_duration Datetime False

The business_duration column for the table task.

location String False

The location column for the table task.

user_input String False

The user_input column for the table task.

assigned_to String False

The assigned_to column for the table task.

escalation String False

The escalation column for the table task.

time_worked String False

The time_worked column for the table task.

additional_assignee_list String False

The additional_assignee_list column for the table task.

correlation_id String False

The correlation_id column for the table task.

comments_and_work_notes String False

The comments_and_work_notes column for the table task.

order String False

The order column for the table task.

made_sla String False

The made_sla column for the table task.

sys_mod_count String False

The sys_mod_count column for the table task.

sys_created_by String False

The sys_created_by column for the table task.

sys_updated_by String False

The sys_updated_by column for the table task.

sys_domain_path String False

The sys_domain_path column for the table task.

sys_class_name String False

The sys_class_name column for the table task.

parent String False

The parent column for the table task.

priority String False

The priority column for the table task.

close_notes String False

The close_notes column for the table task.

reassignment_count String False

The reassignment_count column for the table task.

due_date Datetime False

The due_date column for the table task.

short_description String False

The short_description column for the table task.

company String False

The company column for the table task.

approval_set Datetime False

The approval_set column for the table task.

opened_by String False

The opened_by column for the table task.

contact_type String False

The contact_type column for the table task.

assignment_group String False

The assignment_group column for the table task.

approval String False

The approval column for the table task.

calendar_duration Datetime False

The calendar_duration column for the table task.

knowledge String False

The knowledge column for the table task.

correlation_display String False

The correlation_display column for the table task.

wf_activity String False

The wf_activity column for the table task.

description String False

The description column for the table task.

impact String False

The impact column for the table task.

closed_at Datetime False

The closed_at column for the table task.

group_list String False

The group_list column for the table task.

activity_due Datetime False

The activity_due column for the table task.

v_field_creator

The ServiceNow table v_field_creator.

Columns

Name Type ReadOnly References Description
label String False

The label column for the table v_field_creator.

sys_created_by String False

The sys_created_by column for the table v_field_creator.

sys_class_name String False

The sys_class_name column for the table v_field_creator.

sys_updated_by String False

The sys_updated_by column for the table v_field_creator.

table_creator String False

The table_creator column for the table v_field_creator.

length String False

The length column for the table v_field_creator.

sys_mod_count String False

The sys_mod_count column for the table v_field_creator.

name String False

The name column for the table v_field_creator.

sys_updated_on Datetime False

The sys_updated_on column for the table v_field_creator.

sys_id [KEY] String False

The sys_id column for the table v_field_creator.

type String False

The type column for the table v_field_creator.

sys_created_on Datetime False

The sys_created_on column for the table v_field_creator.

Views

Views are composed of columns and pseudo columns. Views are similar to tables in the way that data is represented; however, views do not support updates. Entities that are represented as views are typically read-only entities. Often, a stored procedure* is available to update the data if such functionality is applicable to the data source.

Queries can be executed against a view as if it were a normal table, and the data that comes back is similar in that regard. To find out more about tables and stored procedures, please navigate to their corresponding entries in this help document.

JDBC Driver for ServiceNow Views

Name Description
application_on_servers The ServiceNow view application_on_servers.
app_engine_v1_ct_role_user The ServiceNow view app_engine_v1_ct_role_user.
assoc_roles The ServiceNow view assoc_roles.
change_request_metric The ServiceNow view change_request_metric.
change_request_sla The ServiceNow view change_request_sla.
change_task_metric The ServiceNow view change_task_metric.
change_task_sla The ServiceNow view change_task_sla.
change_task_time_worked The ServiceNow view change_task_time_worked.
cmdb_multisource_diff_query_view The ServiceNow view cmdb_multisource_diff_query_view.
cmdb_multisource_view The ServiceNow view cmdb_multisource_view.
cmdb_task_chg The ServiceNow view cmdb_task_chg.
cxs_relevant_doc_task The ServiceNow view cxs_relevant_doc_task.
dashboard_w_permission The ServiceNow view dashboard_w_permission.
diagnostics_result_view The ServiceNow view diagnostics_result_view.
flow_report_chunk The ServiceNow view flow_report_chunk.
incident_metric The ServiceNow view incident_metric.
incident_sla The ServiceNow view incident_sla.
incident_time_worked The ServiceNow view incident_time_worked.
Items Lists all catalog items.
kb_feedback_task_metric The ServiceNow view kb_feedback_task_metric.
licensable_table The ServiceNow view licensable_table.
licensed_app_usage The ServiceNow view licensed_app_usage.
license_details_assoc_roles The ServiceNow view license_details_assoc_roles.
notification_category_api The ServiceNow view notification_category_api.
pa_widgets_stats The ServiceNow view pa_widgets_stats.
priv_command_mid_server The ServiceNow view priv_command_mid_server.
problem_metric The ServiceNow view problem_metric.
problem_sla The ServiceNow view problem_sla.
quarantined_file The ServiceNow view quarantined_file.
query_based_service_basic_view The ServiceNow view query_based_service_basic_view.
query_based_service_mapping The ServiceNow view query_based_service_mapping.
release_feature_metric The ServiceNow view release_feature_metric.
release_project_metric The ServiceNow view release_project_metric.
release_task_metric The ServiceNow view release_task_metric.
release_task_sla The ServiceNow view release_task_sla.
report_home_details The ServiceNow view report_home_details.
sc_request_metric The ServiceNow view sc_request_metric.
sc_request_sla The ServiceNow view sc_request_sla.
sc_req_item_metric The ServiceNow view sc_req_item_metric.
sc_req_item_sla The ServiceNow view sc_req_item_sla.
sc_task_metric The ServiceNow view sc_task_metric.
sc_task_sla The ServiceNow view sc_task_sla.
security_acl_detail The ServiceNow view security_acl_detail.
sn_bm_client_recommendation_view The ServiceNow view sn_bm_client_recommendation_view.
sp_page_widgets The ServiceNow view sp_page_widgets.
subscribed_users_with_role The ServiceNow view subscribed_users_with_role.
task_assessment_detail The ServiceNow view task_assessment_detail.
upgrade_history_update_xml The ServiceNow view upgrade_history_update_xml.
user_has_license_role The ServiceNow view user_has_license_role.
user_role_license_role The ServiceNow view user_role_license_role.
u_jhb_database_view The ServiceNow view u_jhb_database_view.
wf_activity_context The ServiceNow view wf_activity_context.

application_on_servers

The ServiceNow view application_on_servers.

Columns

Name Type References Description
appl_discovery_source String
appl_name String
appl_running_process_command String
appl_running_process_key_parameters String
appl_sys_class_name String
appl_tcp_port String
hosts_child String
hosts_child_link String
hosts_parent String
hosts_parent_link String
hosts_type String
hosts_type_link String

app_engine_v1_ct_role_user

The ServiceNow view app_engine_v1_ct_role_user.

Columns

Name Type References Description
aclrole_sys_security_acl String
aclrole_sys_security_acl_link String
aclrole_sys_user_role String
aclrole_sys_user_role_link String
u_active Bool
u_last_login_time Datetime
uacti_allotment_type Int
uacti_license String
uacti_license_link String
uacti_table_name String
uacti_table_ref String
uacti_table_ref_link String
uhr_role String
uhr_role_link String
uhr_user String
uhr_user_link String
acl_sys_id String
acl_active Bool
acl_name String

assoc_roles

The ServiceNow view assoc_roles.

Columns

Name Type References Description
pkg_sys_id String
pkg_active Bool
pkg_enforce_license String
pkg_licensable Bool
pkg_license_category String
pkg_license_model String
pkg_name String
pkg_source String
pkg_sys_class_name String
pkg_sys_created_by String
pkg_sys_created_on Datetime
pkg_sys_mod_count Int
pkg_sys_tags String
pkg_sys_updated_by String
pkg_sys_updated_on Datetime
pkg_trackable Bool
pkg_version String
role_sys_id String
role_assignable_by String
role_assignable_by_link String
role_can_delegate Bool
role_description String
role_elevated_privilege Bool
role_grantable Bool
role_includes_roles String
role_name String
role_requires_subscription String
role_scoped_admin Bool
role_suffix String
role_sys_class_name String
role_sys_created_by String
role_sys_created_on Datetime
role_sys_mod_count Int
role_sys_name String
role_sys_package String
role_sys_package_link String
role_sys_policy String
role_sys_scope String
role_sys_scope_link String
role_sys_tags String
role_sys_update_name String
role_sys_updated_by String
role_sys_updated_on Datetime
fmly_sys_id String
fmly_app_id String
fmly_app_name String
fmly_cust_visible Bool
fmly_for_fee Bool
fmly_last_valid_rel String
fmly_level Int
fmly_license_check_required Bool
fmly_lineage_id String
fmly_lineage_name String
fmly_lob_id String
fmly_lob_name String
fmly_primary Bool
fmly_scope String
fmly_skip_custom_role_eval Bool
fmly_sys_created_by String
fmly_sys_created_on Datetime
fmly_sys_mod_count Int
fmly_sys_tags String
fmly_sys_updated_by String
fmly_sys_updated_on Datetime

change_request_metric

The ServiceNow view change_request_metric.

Columns

Name Type References Description
md_sys_id String
md_active Bool
md_description String
md_field String
md_name String
md_number String
md_order Int
md_script String
md_sys_class_name String
md_sys_created_by String
md_sys_created_on Datetime
md_sys_mod_count Int
md_sys_name String
md_sys_package String
md_sys_package_link String
md_sys_policy String
md_sys_scope String
md_sys_scope_link String
md_sys_tags String
md_sys_update_name String
md_sys_updated_by String
md_sys_updated_on Datetime
md_table String
md_timeline Bool
md_type String
mi_sys_id String
mi_business_duration Long
mi_calculation_complete Bool
mi_definition String
mi_definition_link String
mi_duration Long
mi_end Datetime
mi_field String
mi_field_value String
mi_id String
mi_start Datetime
mi_sys_created_by String
mi_sys_created_on Datetime
mi_sys_mod_count Int
mi_sys_tags String
mi_sys_updated_by String
mi_sys_updated_on Datetime
mi_table String
mi_value String
chg_sys_id String
chg_active Bool
chg_activity_due Datetime
chg_additional_assignee_list String
chg_approval String
chg_approval_history String
chg_approval_set Datetime
chg_assigned_to String
chg_assigned_to_link String
chg_assignment_group String
chg_assignment_group_link String
chg_backout_plan String
chg_business_duration Long
chg_business_service String
chg_business_service_link String
chg_cab_date Date
chg_cab_delegate String
chg_cab_delegate_link String
chg_cab_recommendation String
chg_cab_required Bool
chg_calendar_duration Long
chg_category String
chg_change_plan String
chg_close_code String
chg_close_notes String
chg_closed_at Datetime
chg_closed_by String
chg_closed_by_link String
chg_cmdb_ci String
chg_cmdb_ci_link String
chg_comments String
chg_comments_and_work_notes String
chg_company String
chg_company_link String
chg_conflict_last_run Datetime
chg_conflict_status String
chg_contact_type String
chg_correlation_display String
chg_correlation_id String
chg_delivery_plan String
chg_delivery_plan_link String
chg_delivery_task String
chg_delivery_task_link String
chg_description String
chg_due_date Datetime
chg_end_date Datetime
chg_escalation Int
chg_expected_start Datetime
chg_follow_up Datetime
chg_group_list String
chg_impact Int
chg_implementation_plan String
chg_justification String
chg_knowledge Bool
chg_location String
chg_location_link String
chg_made_sla Bool
chg_number String
chg_on_hold Bool
chg_on_hold_reason String
chg_on_hold_task String
chg_opened_at Datetime
chg_opened_by String
chg_opened_by_link String
chg_order Int
chg_outside_maintenance_schedule Bool
chg_parent String
chg_parent_link String
chg_phase String
chg_phase_state String
chg_priority Int
chg_production_system Bool
chg_reason String
chg_reassignment_count Int
chg_rejection_goto String
chg_rejection_goto_link String
chg_requested_by String
chg_requested_by_date Datetime
chg_requested_by_link String
chg_review_comments String
chg_review_date Date
chg_review_status Int
chg_risk Int
chg_risk_impact_analysis String
chg_route_reason Int
chg_scope Int
chg_service_offering String
chg_service_offering_link String
chg_short_description String
chg_sla_due Datetime
chg_start_date Datetime
chg_state Int
chg_std_change_producer_version String
chg_std_change_producer_version_link String
chg_sys_class_name String
chg_sys_created_by String
chg_sys_created_on Datetime
chg_sys_domain String
chg_sys_domain_path String
chg_sys_mod_count Int
chg_sys_tags String
chg_sys_updated_by String
chg_sys_updated_on Datetime
chg_task_effective_number String
chg_test_plan String
chg_time_worked String
chg_type String
chg_u_comments String
chg_u_some_test_field String
chg_unauthorized Bool
chg_universal_request String
chg_universal_request_link String
chg_upon_approval String
chg_upon_reject String
chg_urgency Int
chg_user_input String
chg_variables String
chg_watch_list String
chg_wf_activity String
chg_wf_activity_link String
chg_work_end Datetime
chg_work_notes String
chg_work_notes_list String
chg_work_start Datetime

change_request_sla

The ServiceNow view change_request_sla.

Columns

Name Type References Description
taskslatable_sys_id String
taskslatable_active Bool
taskslatable_business_duration Long
taskslatable_business_pause_duration Long
taskslatable_business_percentage Decimal
taskslatable_business_time_left Long
taskslatable_duration Long
taskslatable_end_time Datetime
taskslatable_has_breached Bool
taskslatable_original_breach_time Datetime
taskslatable_pause_duration Long
taskslatable_pause_time Datetime
taskslatable_percentage Decimal
taskslatable_planned_end_time Datetime
taskslatable_schedule String
taskslatable_schedule_link String
taskslatable_sla String
taskslatable_sla_link String
taskslatable_stage String
taskslatable_start_time Datetime
taskslatable_sys_created_by String
taskslatable_sys_created_on Datetime
taskslatable_sys_mod_count Int
taskslatable_sys_tags String
taskslatable_sys_updated_by String
taskslatable_sys_updated_on Datetime
taskslatable_task String
taskslatable_task_link String
taskslatable_time_left Long
taskslatable_timezone String
chg_sys_id String
chg_active Bool
chg_activity_due Datetime
chg_additional_assignee_list String
chg_approval String
chg_approval_history String
chg_approval_set Datetime
chg_assigned_to String
chg_assigned_to_link String
chg_assignment_group String
chg_assignment_group_link String
chg_backout_plan String
chg_business_duration Long
chg_business_service String
chg_business_service_link String
chg_cab_date Date
chg_cab_delegate String
chg_cab_delegate_link String
chg_cab_recommendation String
chg_cab_required Bool
chg_calendar_duration Long
chg_category String
chg_change_plan String
chg_close_code String
chg_close_notes String
chg_closed_at Datetime
chg_closed_by String
chg_closed_by_link String
chg_cmdb_ci String
chg_cmdb_ci_link String
chg_comments String
chg_comments_and_work_notes String
chg_company String
chg_company_link String
chg_conflict_last_run Datetime
chg_conflict_status String
chg_contact_type String
chg_correlation_display String
chg_correlation_id String
chg_delivery_plan String
chg_delivery_plan_link String
chg_delivery_task String
chg_delivery_task_link String
chg_description String
chg_due_date Datetime
chg_end_date Datetime
chg_escalation Int
chg_expected_start Datetime
chg_follow_up Datetime
chg_group_list String
chg_impact Int
chg_implementation_plan String
chg_justification String
chg_knowledge Bool
chg_location String
chg_location_link String
chg_made_sla Bool
chg_number String
chg_on_hold Bool
chg_on_hold_reason String
chg_on_hold_task String
chg_opened_at Datetime
chg_opened_by String
chg_opened_by_link String
chg_order Int
chg_outside_maintenance_schedule Bool
chg_parent String
chg_parent_link String
chg_phase String
chg_phase_state String
chg_priority Int
chg_production_system Bool
chg_reason String
chg_reassignment_count Int
chg_rejection_goto String
chg_rejection_goto_link String
chg_requested_by String
chg_requested_by_date Datetime
chg_requested_by_link String
chg_review_comments String
chg_review_date Date
chg_review_status Int
chg_risk Int
chg_risk_impact_analysis String
chg_route_reason Int
chg_scope Int
chg_service_offering String
chg_service_offering_link String
chg_short_description String
chg_sla_due Datetime
chg_start_date Datetime
chg_state Int
chg_std_change_producer_version String
chg_std_change_producer_version_link String
chg_sys_class_name String
chg_sys_created_by String
chg_sys_created_on Datetime
chg_sys_domain String
chg_sys_domain_path String
chg_sys_mod_count Int
chg_sys_tags String
chg_sys_updated_by String
chg_sys_updated_on Datetime
chg_task_effective_number String
chg_test_plan String
chg_time_worked String
chg_type String
chg_u_comments String
chg_u_some_test_field String
chg_unauthorized Bool
chg_universal_request String
chg_universal_request_link String
chg_upon_approval String
chg_upon_reject String
chg_urgency Int
chg_user_input String
chg_variables String
chg_watch_list String
chg_wf_activity String
chg_wf_activity_link String
chg_work_end Datetime
chg_work_notes String
chg_work_notes_list String
chg_work_start Datetime

change_task_metric

The ServiceNow view change_task_metric.

Columns

Name Type References Description
cht_sys_id String
cht_active Bool
cht_activity_due Datetime
cht_additional_assignee_list String
cht_approval String
cht_approval_history String
cht_approval_set Datetime
cht_assigned_to String
cht_assigned_to_link String
cht_assignment_group String
cht_assignment_group_link String
cht_business_duration Long
cht_business_service String
cht_business_service_link String
cht_calendar_duration Long
cht_change_request String
cht_change_request_link String
cht_change_task_type String
cht_close_code String
cht_close_notes String
cht_closed_at Datetime
cht_closed_by String
cht_closed_by_link String
cht_cmdb_ci String
cht_cmdb_ci_link String
cht_comments String
cht_comments_and_work_notes String
cht_company String
cht_company_link String
cht_contact_type String
cht_correlation_display String
cht_correlation_id String
cht_created_from String
cht_delivery_plan String
cht_delivery_plan_link String
cht_delivery_task String
cht_delivery_task_link String
cht_description String
cht_due_date Datetime
cht_escalation Int
cht_expected_start Datetime
cht_follow_up Datetime
cht_group_list String
cht_impact Int
cht_knowledge Bool
cht_location String
cht_location_link String
cht_made_sla Bool
cht_number String
cht_on_hold Bool
cht_on_hold_reason String
cht_opened_at Datetime
cht_opened_by String
cht_opened_by_link String
cht_order Int
cht_parent String
cht_parent_link String
cht_planned_end_date Datetime
cht_planned_start_date Datetime
cht_priority Int
cht_reassignment_count Int
cht_rejection_goto String
cht_rejection_goto_link String
cht_route_reason Int
cht_service_offering String
cht_service_offering_link String
cht_short_description String
cht_sla_due Datetime
cht_state Int
cht_sys_class_name String
cht_sys_created_by String
cht_sys_created_on Datetime
cht_sys_domain String
cht_sys_domain_path String
cht_sys_mod_count Int
cht_sys_tags String
cht_sys_updated_by String
cht_sys_updated_on Datetime
cht_task_effective_number String
cht_time_worked String
cht_u_comments String
cht_u_some_test_field String
cht_universal_request String
cht_universal_request_link String
cht_upon_approval String
cht_upon_reject String
cht_urgency Int
cht_user_input String
cht_variables String
cht_watch_list String
cht_wf_activity String
cht_wf_activity_link String
cht_work_end Datetime
cht_work_notes String
cht_work_notes_list String
cht_work_start Datetime
mi_sys_id String
mi_business_duration Long
mi_calculation_complete Bool
mi_definition String
mi_definition_link String
mi_duration Long
mi_end Datetime
mi_field String
mi_field_value String
mi_id String
mi_start Datetime
mi_sys_created_by String
mi_sys_created_on Datetime
mi_sys_mod_count Int
mi_sys_tags String
mi_sys_updated_by String
mi_sys_updated_on Datetime
mi_table String
mi_value String
md_sys_id String
md_active Bool
md_description String
md_field String
md_name String
md_number String
md_order Int
md_script String
md_sys_class_name String
md_sys_created_by String
md_sys_created_on Datetime
md_sys_mod_count Int
md_sys_name String
md_sys_package String
md_sys_package_link String
md_sys_policy String
md_sys_scope String
md_sys_scope_link String
md_sys_tags String
md_sys_update_name String
md_sys_updated_by String
md_sys_updated_on Datetime
md_table String
md_timeline Bool
md_type String

change_task_sla

The ServiceNow view change_task_sla.

Columns

Name Type References Description
taskslatable_sys_id String
taskslatable_active Bool
taskslatable_business_duration Long
taskslatable_business_pause_duration Long
taskslatable_business_percentage Decimal
taskslatable_business_time_left Long
taskslatable_duration Long
taskslatable_end_time Datetime
taskslatable_has_breached Bool
taskslatable_original_breach_time Datetime
taskslatable_pause_duration Long
taskslatable_pause_time Datetime
taskslatable_percentage Decimal
taskslatable_planned_end_time Datetime
taskslatable_schedule String
taskslatable_schedule_link String
taskslatable_sla String
taskslatable_sla_link String
taskslatable_stage String
taskslatable_start_time Datetime
taskslatable_sys_created_by String
taskslatable_sys_created_on Datetime
taskslatable_sys_mod_count Int
taskslatable_sys_tags String
taskslatable_sys_updated_by String
taskslatable_sys_updated_on Datetime
taskslatable_task String
taskslatable_task_link String
taskslatable_time_left Long
taskslatable_timezone String
cht_sys_id String
cht_active Bool
cht_activity_due Datetime
cht_additional_assignee_list String
cht_approval String
cht_approval_history String
cht_approval_set Datetime
cht_assigned_to String
cht_assigned_to_link String
cht_assignment_group String
cht_assignment_group_link String
cht_business_duration Long
cht_business_service String
cht_business_service_link String
cht_calendar_duration Long
cht_change_request String
cht_change_request_link String
cht_change_task_type String
cht_close_code String
cht_close_notes String
cht_closed_at Datetime
cht_closed_by String
cht_closed_by_link String
cht_cmdb_ci String
cht_cmdb_ci_link String
cht_comments String
cht_comments_and_work_notes String
cht_company String
cht_company_link String
cht_contact_type String
cht_correlation_display String
cht_correlation_id String
cht_created_from String
cht_delivery_plan String
cht_delivery_plan_link String
cht_delivery_task String
cht_delivery_task_link String
cht_description String
cht_due_date Datetime
cht_escalation Int
cht_expected_start Datetime
cht_follow_up Datetime
cht_group_list String
cht_impact Int
cht_knowledge Bool
cht_location String
cht_location_link String
cht_made_sla Bool
cht_number String
cht_on_hold Bool
cht_on_hold_reason String
cht_opened_at Datetime
cht_opened_by String
cht_opened_by_link String
cht_order Int
cht_parent String
cht_parent_link String
cht_planned_end_date Datetime
cht_planned_start_date Datetime
cht_priority Int
cht_reassignment_count Int
cht_rejection_goto String
cht_rejection_goto_link String
cht_route_reason Int
cht_service_offering String
cht_service_offering_link String
cht_short_description String
cht_sla_due Datetime
cht_state Int
cht_sys_class_name String
cht_sys_created_by String
cht_sys_created_on Datetime
cht_sys_domain String
cht_sys_domain_path String
cht_sys_mod_count Int
cht_sys_tags String
cht_sys_updated_by String
cht_sys_updated_on Datetime
cht_task_effective_number String
cht_time_worked String
cht_u_comments String
cht_u_some_test_field String
cht_universal_request String
cht_universal_request_link String
cht_upon_approval String
cht_upon_reject String
cht_urgency Int
cht_user_input String
cht_variables String
cht_watch_list String
cht_wf_activity String
cht_wf_activity_link String
cht_work_end Datetime
cht_work_notes String
cht_work_notes_list String
cht_work_start Datetime

change_task_time_worked

The ServiceNow view change_task_time_worked.

Columns

Name Type References Description
twtable_sys_id String
twtable_comments String
twtable_sys_created_by String
twtable_sys_created_on Datetime
twtable_sys_mod_count Int
twtable_sys_tags String
twtable_sys_updated_by String
twtable_sys_updated_on Datetime
twtable_task String
twtable_task_link String
twtable_time_in_seconds Int
twtable_time_worked Long
twtable_user String
twtable_user_link String
cht_sys_id String
cht_active Bool
cht_activity_due Datetime
cht_additional_assignee_list String
cht_approval String
cht_approval_history String
cht_approval_set Datetime
cht_assigned_to String
cht_assigned_to_link String
cht_assignment_group String
cht_assignment_group_link String
cht_business_duration Long
cht_business_service String
cht_business_service_link String
cht_calendar_duration Long
cht_change_request String
cht_change_request_link String
cht_change_task_type String
cht_close_code String
cht_close_notes String
cht_closed_at Datetime
cht_closed_by String
cht_closed_by_link String
cht_cmdb_ci String
cht_cmdb_ci_link String
cht_comments String
cht_comments_and_work_notes String
cht_company String
cht_company_link String
cht_contact_type String
cht_correlation_display String
cht_correlation_id String
cht_created_from String
cht_delivery_plan String
cht_delivery_plan_link String
cht_delivery_task String
cht_delivery_task_link String
cht_description String
cht_due_date Datetime
cht_escalation Int
cht_expected_start Datetime
cht_follow_up Datetime
cht_group_list String
cht_impact Int
cht_knowledge Bool
cht_location String
cht_location_link String
cht_made_sla Bool
cht_number String
cht_on_hold Bool
cht_on_hold_reason String
cht_opened_at Datetime
cht_opened_by String
cht_opened_by_link String
cht_order Int
cht_parent String
cht_parent_link String
cht_planned_end_date Datetime
cht_planned_start_date Datetime
cht_priority Int
cht_reassignment_count Int
cht_rejection_goto String
cht_rejection_goto_link String
cht_route_reason Int
cht_service_offering String
cht_service_offering_link String
cht_short_description String
cht_sla_due Datetime
cht_state Int
cht_sys_class_name String
cht_sys_created_by String
cht_sys_created_on Datetime
cht_sys_domain String
cht_sys_domain_path String
cht_sys_mod_count Int
cht_sys_tags String
cht_sys_updated_by String
cht_sys_updated_on Datetime
cht_task_effective_number String
cht_time_worked String
cht_u_comments String
cht_u_some_test_field String
cht_universal_request String
cht_universal_request_link String
cht_upon_approval String
cht_upon_reject String
cht_urgency Int
cht_user_input String
cht_variables String
cht_watch_list String
cht_wf_activity String
cht_wf_activity_link String
cht_work_end Datetime
cht_work_notes String
cht_work_notes_list String
cht_work_start Datetime

cmdb_multisource_diff_query_view

The ServiceNow view cmdb_multisource_diff_query_view.

Columns

Name Type References Description
msd1_sys_id String
msd1_ci String
msd1_class String
msd1_cmdb_reference String
msd1_cmdb_reference_link String
msd1_col0 String
msd1_col1 String
msd1_col10 String
msd1_col11 String
msd1_col12 String
msd1_col13 String
msd1_col14 String
msd1_col15 String
msd1_col16 String
msd1_col17 String
msd1_col18 String
msd1_col19 String
msd1_col2 String
msd1_col20 String
msd1_col21 String
msd1_col22 String
msd1_col23 String
msd1_col24 String
msd1_col25 String
msd1_col26 String
msd1_col27 String
msd1_col28 String
msd1_col29 String
msd1_col3 String
msd1_col30 Bool
msd1_col31 Bool
msd1_col32 Bool
msd1_col33 Bool
msd1_col34 Bool
msd1_col35 Bool
msd1_col36 Long
msd1_col37 Long
msd1_col38 Long
msd1_col39 Long
msd1_col4 String
msd1_col40 Long
msd1_col41 Long
msd1_col42 Long
msd1_col43 Long
msd1_col44 Long
msd1_col45 Long
msd1_col46 Decimal
msd1_col47 Decimal
msd1_col48 Decimal
msd1_col49 Decimal
msd1_col5 String
msd1_col50 Decimal
msd1_col51 Datetime
msd1_col52 Datetime
msd1_col53 Datetime
msd1_col54 Datetime
msd1_col6 String
msd1_col7 String
msd1_col8 String
msd1_col9 String
msd1_discovery_source String
msd1_json String
msd1_parent String
msd1_sys_created_by String
msd1_sys_created_on Datetime
msd1_sys_domain String
msd1_sys_mod_count Int
msd1_sys_tags String
msd1_sys_updated_by String
msd1_sys_updated_on Datetime
msd2_sys_id String
msd2_ci String
msd2_class String
msd2_cmdb_reference String
msd2_cmdb_reference_link String
msd2_col0 String
msd2_col1 String
msd2_col10 String
msd2_col11 String
msd2_col12 String
msd2_col13 String
msd2_col14 String
msd2_col15 String
msd2_col16 String
msd2_col17 String
msd2_col18 String
msd2_col19 String
msd2_col2 String
msd2_col20 String
msd2_col21 String
msd2_col22 String
msd2_col23 String
msd2_col24 String
msd2_col25 String
msd2_col26 String
msd2_col27 String
msd2_col28 String
msd2_col29 String
msd2_col3 String
msd2_col30 Bool
msd2_col31 Bool
msd2_col32 Bool
msd2_col33 Bool
msd2_col34 Bool
msd2_col35 Bool
msd2_col36 Long
msd2_col37 Long
msd2_col38 Long
msd2_col39 Long
msd2_col4 String
msd2_col40 Long
msd2_col41 Long
msd2_col42 Long
msd2_col43 Long
msd2_col44 Long
msd2_col45 Long
msd2_col46 Decimal
msd2_col47 Decimal
msd2_col48 Decimal
msd2_col49 Decimal
msd2_col5 String
msd2_col50 Decimal
msd2_col51 Datetime
msd2_col52 Datetime
msd2_col53 Datetime
msd2_col54 Datetime
msd2_col6 String
msd2_col7 String
msd2_col8 String
msd2_col9 String
msd2_discovery_source String
msd2_json String
msd2_parent String
msd2_sys_created_by String
msd2_sys_created_on Datetime
msd2_sys_domain String
msd2_sys_mod_count Int
msd2_sys_tags String
msd2_sys_updated_by String
msd2_sys_updated_on Datetime

cmdb_multisource_view

The ServiceNow view cmdb_multisource_view.

Columns

Name Type References Description
msd_sys_id String
msd_ci String
msd_class String
msd_cmdb_reference String
msd_cmdb_reference_link String
msd_col0 String
msd_col1 String
msd_col10 String
msd_col11 String
msd_col12 String
msd_col13 String
msd_col14 String
msd_col15 String
msd_col16 String
msd_col17 String
msd_col18 String
msd_col19 String
msd_col2 String
msd_col20 String
msd_col21 String
msd_col22 String
msd_col23 String
msd_col24 String
msd_col25 String
msd_col26 String
msd_col27 String
msd_col28 String
msd_col29 String
msd_col3 String
msd_col30 Bool
msd_col31 Bool
msd_col32 Bool
msd_col33 Bool
msd_col34 Bool
msd_col35 Bool
msd_col36 Long
msd_col37 Long
msd_col38 Long
msd_col39 Long
msd_col4 String
msd_col40 Long
msd_col41 Long
msd_col42 Long
msd_col43 Long
msd_col44 Long
msd_col45 Long
msd_col46 Decimal
msd_col47 Decimal
msd_col48 Decimal
msd_col49 Decimal
msd_col5 String
msd_col50 Decimal
msd_col51 Datetime
msd_col52 Datetime
msd_col53 Datetime
msd_col54 Datetime
msd_col6 String
msd_col7 String
msd_col8 String
msd_col9 String
msd_discovery_source String
msd_json String
msd_parent String
msd_sys_created_by String
msd_sys_created_on Datetime
msd_sys_domain String
msd_sys_mod_count Int
msd_sys_tags String
msd_sys_updated_by String
msd_sys_updated_on Datetime

cmdb_task_chg

The ServiceNow view cmdb_task_chg.

Columns

Name Type References Description
task_sys_id String
task_applied Bool
task_applied_date Datetime
task_ci_item String
task_ci_item_link String
task_manual_proposed_change Bool
task_sys_created_by String
task_sys_created_on Datetime
task_sys_mod_count Int
task_sys_tags String
task_sys_updated_by String
task_sys_updated_on Datetime
task_task String
task_task_link String
task_xml String
chg_sys_id String
chg_active Bool
chg_activity_due Datetime
chg_additional_assignee_list String
chg_approval String
chg_approval_history String
chg_approval_set Datetime
chg_assigned_to String
chg_assigned_to_link String
chg_assignment_group String
chg_assignment_group_link String
chg_backout_plan String
chg_business_duration Long
chg_business_service String
chg_business_service_link String
chg_cab_date Date
chg_cab_delegate String
chg_cab_delegate_link String
chg_cab_recommendation String
chg_cab_required Bool
chg_calendar_duration Long
chg_category String
chg_change_plan String
chg_close_code String
chg_close_notes String
chg_closed_at Datetime
chg_closed_by String
chg_closed_by_link String
chg_cmdb_ci String
chg_cmdb_ci_link String
chg_comments String
chg_comments_and_work_notes String
chg_company String
chg_company_link String
chg_conflict_last_run Datetime
chg_conflict_status String
chg_contact_type String
chg_correlation_display String
chg_correlation_id String
chg_delivery_plan String
chg_delivery_plan_link String
chg_delivery_task String
chg_delivery_task_link String
chg_description String
chg_due_date Datetime
chg_end_date Datetime
chg_escalation Int
chg_expected_start Datetime
chg_follow_up Datetime
chg_group_list String
chg_impact Int
chg_implementation_plan String
chg_justification String
chg_knowledge Bool
chg_location String
chg_location_link String
chg_made_sla Bool
chg_number String
chg_on_hold Bool
chg_on_hold_reason String
chg_on_hold_task String
chg_opened_at Datetime
chg_opened_by String
chg_opened_by_link String
chg_order Int
chg_outside_maintenance_schedule Bool
chg_parent String
chg_parent_link String
chg_phase String
chg_phase_state String
chg_priority Int
chg_production_system Bool
chg_reason String
chg_reassignment_count Int
chg_rejection_goto String
chg_rejection_goto_link String
chg_requested_by String
chg_requested_by_date Datetime
chg_requested_by_link String
chg_review_comments String
chg_review_date Date
chg_review_status Int
chg_risk Int
chg_risk_impact_analysis String
chg_route_reason Int
chg_scope Int
chg_service_offering String
chg_service_offering_link String
chg_short_description String
chg_sla_due Datetime
chg_start_date Datetime
chg_state Int
chg_std_change_producer_version String
chg_std_change_producer_version_link String
chg_sys_class_name String
chg_sys_created_by String
chg_sys_created_on Datetime
chg_sys_domain String
chg_sys_domain_path String
chg_sys_mod_count Int
chg_sys_tags String
chg_sys_updated_by String
chg_sys_updated_on Datetime
chg_task_effective_number String
chg_test_plan String
chg_time_worked String
chg_type String
chg_u_comments String
chg_u_some_test_field String
chg_unauthorized Bool
chg_universal_request String
chg_universal_request_link String
chg_upon_approval String
chg_upon_reject String
chg_urgency Int
chg_user_input String
chg_variables String
chg_watch_list String
chg_wf_activity String
chg_wf_activity_link String
chg_work_end Datetime
chg_work_notes String
chg_work_notes_list String
chg_work_start Datetime
ci_sys_id String
ci_asset String
ci_asset_link String
ci_asset_tag String
ci_assigned Datetime
ci_assigned_to String
ci_assigned_to_link String
ci_assignment_group String
ci_assignment_group_link String
ci_attestation_score Int
ci_attested Bool
ci_attested_by String
ci_attested_by_link String
ci_attested_date Datetime
ci_attributes String
ci_can_print Bool
ci_category String
ci_change_control String
ci_change_control_link String
ci_checked_in Datetime
ci_checked_out Datetime
ci_comments String
ci_company String
ci_company_link String
ci_correlation_id String
ci_cost Float
ci_cost_cc String
ci_cost_center String
ci_cost_center_link String
ci_delivery_date Datetime
ci_department String
ci_department_link String
ci_discovery_source String
ci_dns_domain String
ci_due Datetime
ci_due_in String
ci_duplicate_of String
ci_duplicate_of_link String
ci_environment String
ci_fault_count Int
ci_first_discovered Datetime
ci_fqdn String
ci_gl_account String
ci_install_date Datetime
ci_install_status Int
ci_invoice_number String
ci_ip_address String
ci_justification String
ci_last_discovered Datetime
ci_lease_id String
ci_life_cycle_stage String
ci_life_cycle_stage_link String
ci_life_cycle_stage_status String
ci_life_cycle_stage_status_link String
ci_location String
ci_location_link String
ci_mac_address String
ci_maintenance_schedule String
ci_maintenance_schedule_link String
ci_managed_by String
ci_managed_by_group String
ci_managed_by_group_link String
ci_managed_by_link String
ci_manufacturer String
ci_manufacturer_link String
ci_model_id String
ci_model_id_link String
ci_model_number String
ci_monitor Bool
ci_name String
ci_operational_status Int
ci_order_date Datetime
ci_owned_by String
ci_owned_by_link String
ci_po_number String
ci_purchase_date Date
ci_schedule String
ci_schedule_link String
ci_serial_number String
ci_short_description String
ci_skip_sync Bool
ci_start_date Datetime
ci_subcategory String
ci_support_group String
ci_support_group_link String
ci_supported_by String
ci_supported_by_link String
ci_sys_class_name String
ci_sys_class_path String
ci_sys_created_by String
ci_sys_created_on Datetime
ci_sys_domain String
ci_sys_domain_path String
ci_sys_mod_count Int
ci_sys_tags String
ci_sys_updated_by String
ci_sys_updated_on Datetime
ci_unverified Bool
ci_vendor String
ci_vendor_link String
ci_warranty_expiration Date

cxs_relevant_doc_task

The ServiceNow view cxs_relevant_doc_task.

Columns

Name Type References Description
doc_sys_id String
doc_displayed_on String
doc_session_id String
doc_source_doc String
doc_source_doc_table String
doc_source_doc_url String
doc_sys_created_by String
doc_sys_created_on Datetime
doc_sys_domain String
doc_sys_domain_path String
doc_sys_mod_count Int
doc_sys_tags String
doc_sys_updated_by String
doc_sys_updated_on Datetime
doc_sys_user String
doc_sys_user_link String
task_number String
task_short_description String
task_state Int
detail_sys_id String
detail_cxs_relevant_doc String
detail_cxs_relevant_doc_link String
detail_cxs_search_res_config String
detail_cxs_search_res_config_link String
detail_original_search_terms String
detail_position Int
detail_relevance String
detail_relevant_doc String
detail_relevant_doc_table String
detail_relevant_doc_url String
detail_score Decimal
detail_search_request String
detail_search_term String
detail_sys_created_by String
detail_sys_created_on Datetime
detail_sys_domain String
detail_sys_domain_path String
detail_sys_mod_count Int
detail_sys_tags String
detail_sys_updated_by String
detail_sys_updated_on Datetime
kb_number String
kb_short_description String

dashboard_w_permission

The ServiceNow view dashboard_w_permission.

Columns

Name Type References Description
dsh_sys_id String
dsh_active Bool
dsh_group String
dsh_group_link String
dsh_name String
dsh_order Int
dsh_owner String
dsh_owner_link String
dsh_restrict_to_roles String
dsh_sys_domain String
dsh_sys_scope String
dsh_sys_scope_link String
prm_sys_id String
prm_dashboard String
prm_dashboard_link String
prm_identity String
prm_read Bool
prm_type Int
prm_write Bool

diagnostics_result_view

The ServiceNow view diagnostics_result_view.

Columns

Name Type References Description
cat_sys_id String
cat_access_type String
cat_active Bool
cat_availability String
cat_billable Bool
cat_category String
cat_category_link String
cat_cost Decimal
cat_custom_cart String
cat_custom_cart_link String
cat_delivery_plan String
cat_delivery_plan_link String
cat_delivery_plan_script String
cat_delivery_time Long
cat_description String
cat_display_price_property String
cat_entitlement_script String
cat_flow_designer_flow String
cat_flow_designer_flow_link String
cat_group String
cat_group_link String
cat_hide_sp Bool
cat_icon String
cat_ignore_price Bool
cat_image String
cat_list_price Decimal
cat_location String
cat_location_link String
cat_mandatory_attachment Bool
cat_meta String
cat_mobile_hide_price Bool
cat_mobile_picture String
cat_mobile_picture_type String
cat_model String
cat_model_link String
cat_name String
cat_no_attachment_v2 Bool
cat_no_cart Bool
cat_no_cart_v2 Bool
cat_no_delivery_time_v2 Bool
cat_no_order Bool
cat_no_order_now Bool
cat_no_proceed_checkout Bool
cat_no_quantity Bool
cat_no_quantity_v2 Bool
cat_no_search Bool
cat_no_wishlist_v2 Bool
cat_omit_price Bool
cat_order Int
cat_ordered_item_link String
cat_ordered_item_link_link String
cat_picture String
cat_preview String
cat_price Decimal
cat_recurring_frequency String
cat_recurring_price Decimal
cat_request_method String
cat_roles String
cat_sc_catalogs String
cat_sc_ic_item_staging String
cat_sc_ic_item_staging_link String
cat_sc_ic_version Int
cat_short_description String
cat_show_variable_help_on_load Bool
cat_start_closed Bool
cat_sys_class_name String
cat_sys_created_by String
cat_sys_created_on Datetime
cat_sys_mod_count Int
cat_sys_name String
cat_sys_package String
cat_sys_package_link String
cat_sys_policy String
cat_sys_scope String
cat_sys_scope_link String
cat_sys_tags String
cat_sys_update_name String
cat_sys_updated_by String
cat_sys_updated_on Datetime
cat_template String
cat_template_link String
cat_type String
cat_use_sc_layout Bool
cat_vendor String
cat_vendor_link String
cat_visible_bundle Bool
cat_visible_guide Bool
cat_visible_standalone Bool
cat_workflow String
cat_workflow_link String
dir_sys_id String
dir_application String
dir_application_link String
dir_item String
dir_score Int
dir_sys_created_by String
dir_sys_created_on Datetime
dir_sys_mod_count Int
dir_sys_tags String
dir_sys_updated_by String
dir_sys_updated_on Datetime
dir_table_name String
dir_timestamp Datetime

flow_report_chunk

The ServiceNow view flow_report_chunk.

Columns

Name Type References Description
jc_sys_id String
jc_data String
jc_document_id String
jc_field String
jc_length Int
jc_position Int
jc_source_table String
jc_sys_created_by String
jc_sys_created_on Datetime
jc_sys_tags String
frd_sys_id String
frd_context String
frd_context_link String
frd_sys_created_by String
frd_sys_created_on Datetime
frd_sys_tags String
frd_type String

incident_metric

The ServiceNow view incident_metric.

Columns

Name Type References Description
md_sys_id String
md_active Bool
md_description String
md_field String
md_name String
md_number String
md_order Int
md_script String
md_sys_class_name String
md_sys_created_by String
md_sys_created_on Datetime
md_sys_mod_count Int
md_sys_name String
md_sys_package String
md_sys_package_link String
md_sys_policy String
md_sys_scope String
md_sys_scope_link String
md_sys_tags String
md_sys_update_name String
md_sys_updated_by String
md_sys_updated_on Datetime
md_table String
md_timeline Bool
md_type String
mi_sys_id String
mi_business_duration Long
mi_calculation_complete Bool
mi_definition String
mi_definition_link String
mi_duration Long
mi_end Datetime
mi_field String
mi_field_value String
mi_id String
mi_start Datetime
mi_sys_created_by String
mi_sys_created_on Datetime
mi_sys_mod_count Int
mi_sys_tags String
mi_sys_updated_by String
mi_sys_updated_on Datetime
mi_table String
mi_value String
inc_sys_id String
inc_active Bool
inc_activity_due Datetime
inc_additional_assignee_list String
inc_approval String
inc_approval_history String
inc_approval_set Datetime
inc_assigned_to String
inc_assigned_to_link String
inc_assignment_group String
inc_assignment_group_link String
inc_business_duration Long
inc_business_service String
inc_business_service_link String
inc_business_stc Int
inc_calendar_duration Long
inc_calendar_stc Int
inc_caller_id String
inc_caller_id_link String
inc_category String
inc_caused_by String
inc_caused_by_link String
inc_child_incidents Int
inc_close_code String
inc_close_notes String
inc_closed_at Datetime
inc_closed_by String
inc_closed_by_link String
inc_cmdb_ci String
inc_cmdb_ci_link String
inc_comments String
inc_comments_and_work_notes String
inc_company String
inc_company_link String
inc_contact_type String
inc_correlation_display String
inc_correlation_id String
inc_delivery_plan String
inc_delivery_plan_link String
inc_delivery_task String
inc_delivery_task_link String
inc_description String
inc_due_date Datetime
inc_escalation Int
inc_expected_start Datetime
inc_follow_up Datetime
inc_group_list String
inc_hold_reason Int
inc_impact Int
inc_incident_state Int
inc_knowledge Bool
inc_location String
inc_location_link String
inc_made_sla Bool
inc_notify Int
inc_number String
inc_opened_at Datetime
inc_opened_by String
inc_opened_by_link String
inc_order Int
inc_parent String
inc_parent_incident String
inc_parent_incident_link String
inc_parent_link String
inc_priority Int
inc_problem_id String
inc_problem_id_link String
inc_reassignment_count Int
inc_rejection_goto String
inc_rejection_goto_link String
inc_reopen_count Int
inc_reopened_by String
inc_reopened_by_link String
inc_reopened_time Datetime
inc_resolved_at Datetime
inc_resolved_by String
inc_resolved_by_link String
inc_rfc String
inc_rfc_link String
inc_route_reason Int
inc_service_offering String
inc_service_offering_link String
inc_severity Int
inc_short_description String
inc_sla_due Datetime
inc_state Int
inc_subcategory String
inc_sys_class_name String
inc_sys_created_by String
inc_sys_created_on Datetime
inc_sys_domain String
inc_sys_domain_path String
inc_sys_mod_count Int
inc_sys_tags String
inc_sys_updated_by String
inc_sys_updated_on Datetime
inc_task_effective_number String
inc_time_worked String
inc_u_comments String
inc_u_some_test_field String
inc_u_test_custom_field String
inc_universal_request String
inc_universal_request_link String
inc_upon_approval String
inc_upon_reject String
inc_urgency Int
inc_user_input String
inc_variables String
inc_watch_list String
inc_wf_activity String
inc_wf_activity_link String
inc_work_end Datetime
inc_work_notes String
inc_work_notes_list String
inc_work_start Datetime

incident_sla

The ServiceNow view incident_sla.

Columns

Name Type References Description
taskslatable_sys_id String
taskslatable_active Bool
taskslatable_business_duration Long
taskslatable_business_pause_duration Long
taskslatable_business_percentage Decimal
taskslatable_business_time_left Long
taskslatable_duration Long
taskslatable_end_time Datetime
taskslatable_has_breached Bool
taskslatable_original_breach_time Datetime
taskslatable_pause_duration Long
taskslatable_pause_time Datetime
taskslatable_percentage Decimal
taskslatable_planned_end_time Datetime
taskslatable_schedule String
taskslatable_schedule_link String
taskslatable_sla String
taskslatable_sla_link String
taskslatable_stage String
taskslatable_start_time Datetime
taskslatable_sys_created_by String
taskslatable_sys_created_on Datetime
taskslatable_sys_mod_count Int
taskslatable_sys_tags String
taskslatable_sys_updated_by String
taskslatable_sys_updated_on Datetime
taskslatable_task String
taskslatable_task_link String
taskslatable_time_left Long
taskslatable_timezone String
inc_sys_id String
inc_active Bool
inc_activity_due Datetime
inc_additional_assignee_list String
inc_approval String
inc_approval_history String
inc_approval_set Datetime
inc_assigned_to String
inc_assigned_to_link String
inc_assignment_group String
inc_assignment_group_link String
inc_business_duration Long
inc_business_service String
inc_business_service_link String
inc_business_stc Int
inc_calendar_duration Long
inc_calendar_stc Int
inc_caller_id String
inc_caller_id_link String
inc_category String
inc_caused_by String
inc_caused_by_link String
inc_child_incidents Int
inc_close_code String
inc_close_notes String
inc_closed_at Datetime
inc_closed_by String
inc_closed_by_link String
inc_cmdb_ci String
inc_cmdb_ci_link String
inc_comments String
inc_comments_and_work_notes String
inc_company String
inc_company_link String
inc_contact_type String
inc_correlation_display String
inc_correlation_id String
inc_delivery_plan String
inc_delivery_plan_link String
inc_delivery_task String
inc_delivery_task_link String
inc_description String
inc_due_date Datetime
inc_escalation Int
inc_expected_start Datetime
inc_follow_up Datetime
inc_group_list String
inc_hold_reason Int
inc_impact Int
inc_incident_state Int
inc_knowledge Bool
inc_location String
inc_location_link String
inc_made_sla Bool
inc_notify Int
inc_number String
inc_opened_at Datetime
inc_opened_by String
inc_opened_by_link String
inc_order Int
inc_parent String
inc_parent_incident String
inc_parent_incident_link String
inc_parent_link String
inc_priority Int
inc_problem_id String
inc_problem_id_link String
inc_reassignment_count Int
inc_rejection_goto String
inc_rejection_goto_link String
inc_reopen_count Int
inc_reopened_by String
inc_reopened_by_link String
inc_reopened_time Datetime
inc_resolved_at Datetime
inc_resolved_by String
inc_resolved_by_link String
inc_rfc String
inc_rfc_link String
inc_route_reason Int
inc_service_offering String
inc_service_offering_link String
inc_severity Int
inc_short_description String
inc_sla_due Datetime
inc_state Int
inc_subcategory String
inc_sys_class_name String
inc_sys_created_by String
inc_sys_created_on Datetime
inc_sys_domain String
inc_sys_domain_path String
inc_sys_mod_count Int
inc_sys_tags String
inc_sys_updated_by String
inc_sys_updated_on Datetime
inc_task_effective_number String
inc_time_worked String
inc_u_comments String
inc_u_some_test_field String
inc_u_test_custom_field String
inc_universal_request String
inc_universal_request_link String
inc_upon_approval String
inc_upon_reject String
inc_urgency Int
inc_user_input String
inc_variables String
inc_watch_list String
inc_wf_activity String
inc_wf_activity_link String
inc_work_end Datetime
inc_work_notes String
inc_work_notes_list String
inc_work_start Datetime

incident_time_worked

The ServiceNow view incident_time_worked.

Columns

Name Type References Description
twtable_sys_id String
twtable_comments String
twtable_sys_created_on Datetime
twtable_time_worked Long
inc_active Bool
inc_activity_due Datetime
inc_additional_assignee_list String
inc_approval String
inc_approval_history String
inc_category String
inc_comments String
inc_u_test_custom_field String
inc_variables String
inc_work_end Datetime
inc_work_start Datetime

Items

Lists all catalog items.

Columns

Name Type References Description
ID [KEY] String Unique identifier of the item.
Name String Name of the item.
ShortDescription String Brief description of the item.
Price String Price of item expressed in the currency defined by PriceCurrency
PriceCurrency String Country currency code for which the item price is expressed.
Type String Type of the item.
Description String Detailed description of the item.
Icon String Source of the small icon displayed beside the item name.
URL String The URL of this item.
Picture String Path to the image to display for the item.
KBArticle String Knowledge based article associated with the item.
MandatoryAttachment Boolean The number of the comment local to the bug. The Description is 0, comments start with 1.
RequestMethod String The login name of the comment's author.
VisibleStandalone Boolean A flag indicating whether this item is visible as standalone or not.
LocalCurrency String Country currency code for the local currency.
SystemClassName String Table to which the record belongs, such as sc_cat_item_producer.
Order Int Pre-defined order to which the item belongs.
RecurringPrice Decimal Amount of the recurring fee associated with the item.
RecurringPriceCurrency String Country currency code for which the recurring fees are expressed.
LocalizedPrice Decimal Price of the item expressed in the currency defined by LocalCurrency.
LocalizedRecurringPrice Decimal Price of the recurring fee expressed in the currency defined by local_currency.
Category String Array of categories that contain this item.
Catalogs String Array of the catalogs that contain this item.

kb_feedback_task_metric

The ServiceNow view kb_feedback_task_metric.

Columns

Name Type References Description
mi_sys_id String
mi_business_duration Long
mi_calculation_complete Bool
mi_definition String
mi_definition_link String
mi_duration Long
mi_end Datetime
mi_field String
mi_field_value String
mi_id String
mi_start Datetime
mi_sys_created_by String
mi_sys_created_on Datetime
mi_sys_mod_count Int
mi_sys_tags String
mi_sys_updated_by String
mi_sys_updated_on Datetime
mi_table String
mi_value String
kft_sys_id String
kft_active Bool
kft_activity_due Datetime
kft_additional_assignee_list String
kft_approval String
kft_approval_history String
kft_approval_set Datetime
kft_assigned_to String
kft_assigned_to_link String
kft_assignment_group String
kft_assignment_group_link String
kft_business_duration Long
kft_business_service String
kft_business_service_link String
kft_calendar_duration Long
kft_close_notes String
kft_closed_at Datetime
kft_closed_by String
kft_closed_by_link String
kft_cmdb_ci String
kft_cmdb_ci_link String
kft_comments String
kft_comments_and_work_notes String
kft_company String
kft_company_link String
kft_contact_type String
kft_correlation_display String
kft_correlation_id String
kft_delivery_plan String
kft_delivery_plan_link String
kft_delivery_task String
kft_delivery_task_link String
kft_description String
kft_due_date Datetime
kft_escalation Int
kft_expected_start Datetime
kft_feedback String
kft_feedback_link String
kft_feedback_task_type String
kft_follow_up Datetime
kft_group_list String
kft_impact Int
kft_knowledge Bool
kft_location String
kft_location_link String
kft_made_sla Bool
kft_number String
kft_opened_at Datetime
kft_opened_by String
kft_opened_by_link String
kft_order Int
kft_outcome String
kft_outcome_link String
kft_parent String
kft_parent_link String
kft_priority Int
kft_reassignment_count Int
kft_rejection_goto String
kft_rejection_goto_link String
kft_resolution_code String
kft_route_reason Int
kft_service_offering String
kft_service_offering_link String
kft_short_description String
kft_sla_due Datetime
kft_state Int
kft_sys_class_name String
kft_sys_created_by String
kft_sys_created_on Datetime
kft_sys_domain String
kft_sys_domain_path String
kft_sys_mod_count Int
kft_sys_tags String
kft_sys_updated_by String
kft_sys_updated_on Datetime
kft_task_effective_number String
kft_time_worked String
kft_u_comments String
kft_u_some_test_field String
kft_universal_request String
kft_universal_request_link String
kft_upon_approval String
kft_upon_reject String
kft_urgency Int
kft_user_input String
kft_variables String
kft_watch_list String
kft_wf_activity String
kft_wf_activity_link String
kft_work_end Datetime
kft_work_notes String
kft_work_notes_list String
kft_work_start Datetime
md_sys_id String
md_active Bool
md_description String
md_field String
md_name String
md_number String
md_order Int
md_script String
md_sys_class_name String
md_sys_created_by String
md_sys_created_on Datetime
md_sys_mod_count Int
md_sys_name String
md_sys_package String
md_sys_package_link String
md_sys_policy String
md_sys_scope String
md_sys_scope_link String
md_sys_tags String
md_sys_update_name String
md_sys_updated_by String
md_sys_updated_on Datetime
md_table String
md_timeline Bool
md_type String

licensable_table

The ServiceNow view licensable_table.

Columns

Name Type References Description
sp_source String
af_app_id String
af_app_name String
af_skip_custom_role_eval Bool
la_app_id String
sm_sys_package String
sm_sys_package_link String
dbo_name String
ld_license_weight Int
ha_app String
ha_app_link String
ha_license String
ha_license_link String
lc_license_model String
lc_name String

licensed_app_usage

The ServiceNow view licensed_app_usage.

Columns

Name Type References Description
app_sys_id String
app_app_family_id String
app_app_family_id_link String
app_app_id String
app_app_name String
app_sys_created_by String
app_sys_created_on Datetime
app_sys_mod_count Int
app_sys_tags String
app_sys_updated_by String
app_sys_updated_on Datetime
usag_sys_id String
usag_access_count Int
usag_app_id String
usag_app_name String
usag_app_type String
usag_delete_count Int
usag_delete_other_count Int
usag_delete_own_count Int
usag_fulfill_count Int
usag_insert_count Int
usag_insert_other_count Int
usag_insert_own_count Int
usag_license_ids String
usag_lineage_id String
usag_page_names String
usag_produce_count Int
usag_scopes String
usag_status Int
usag_sys_created_by String
usag_sys_created_on Datetime
usag_sys_mod_count Int
usag_sys_tags String
usag_sys_updated_by String
usag_sys_updated_on Datetime
usag_table_names String
usag_time_stamp String
usag_update_count Int
usag_update_other_count Int
usag_update_own_count Int
usag_user String
usag_user_link String

license_details_assoc_roles

The ServiceNow view license_details_assoc_roles.

Columns

Name Type References Description
cti_sys_id String
cti_allotment_type Int
cti_app_name String
cti_app_scope String
cti_is_platform_runtime Bool
cti_license String
cti_license_link String
cti_sys_created_by String
cti_sys_created_on Datetime
cti_sys_mod_count Int
cti_sys_tags String
cti_sys_updated_by String
cti_sys_updated_on Datetime
cti_table_created_on Datetime
cti_table_name String
cti_table_ref String
cti_table_ref_id String
cti_table_ref_link String
lr_sys_id String
lr_active Bool
lr_application String
lr_application_link String
lr_category Int
lr_external_note String
lr_license_role_type String
lr_license_role_type_link String
lr_name String
lr_overridden Bool
lr_sys_created_by String
lr_sys_created_on Datetime
lr_sys_mod_count Int
lr_sys_tags String
lr_sys_updated_by String
lr_sys_updated_on Datetime
lr_sys_user_role String
lr_sys_user_role_link String
lf_sys_id String
lf_family_id String
lf_family_name String
lf_sys_created_by String
lf_sys_created_on Datetime
lf_sys_mod_count Int
lf_sys_tags String
lf_sys_updated_by String
lf_sys_updated_on Datetime
lhf_sys_id String
lhf_license String
lhf_license_details_item String
lhf_license_details_item_ref String
lhf_license_details_item_ref_link String
lhf_license_family String
lhf_license_family_link String
lhf_license_link String
lhf_sys_created_by String
lhf_sys_created_on Datetime
lhf_sys_mod_count Int
lhf_sys_tags String
lhf_sys_updated_by String
lhf_sys_updated_on Datetime
lhf_type_id String
lhf_type_name String
ract_sys_id String
ract_active Bool
ract_license_role_type String
ract_license_role_type_link String
ract_role_name String
ract_sys_created_by String
ract_sys_created_on Datetime
ract_sys_mod_count Int
ract_sys_tags String
ract_sys_updated_by String
ract_sys_updated_on Datetime
ract_sys_user_role String
ract_sys_user_role_link String
ract_table_name String
ract_table_ref String

notification_category_api

The ServiceNow view notification_category_api.

Columns

Name Type References Description
cat_sys_id String
cat_name String
cat_short_description String
cat_sys_class_name String
cat_sys_created_by String
cat_sys_created_on Datetime
cat_sys_mod_count Int
cat_sys_name String
cat_sys_package String
cat_sys_package_link String
cat_sys_policy String
cat_sys_scope String
cat_sys_scope_link String
cat_sys_tags String
cat_sys_update_name String
cat_sys_updated_by String
cat_sys_updated_on Datetime
notif_sys_id String
notif_action_insert Bool
notif_action_update Bool
notif_active Bool
notif_advanced_condition String
notif_affected_field_on_event String
notif_category String
notif_category_link String
notif_collection String
notif_condition String
notif_content_type String
notif_default_interval String
notif_default_interval_link String
notif_description String
notif_digest_from String
notif_digest_html String
notif_digest_reply_to String
notif_digest_separator_html String
notif_digest_separator_text String
notif_digest_subject String
notif_digest_template String
notif_digest_template_link String
notif_digest_text String
notif_digestable Bool
notif_event_name String
notif_event_parm_1 Bool
notif_event_parm_2 Bool
notif_exclude_delegates Bool
notif_force_delivery Bool
notif_from String
notif_generation_type String
notif_importance String
notif_include_attachments Bool
notif_item String
notif_item_table String
notif_mandatory Bool
notif_message String
notif_message_html String
notif_message_list String
notif_message_text String
notif_name String
notif_omit_watermark Bool
notif_order Int
notif_push_message_only Bool
notif_recipient_fields String
notif_recipient_groups String
notif_recipient_users String
notif_reply_to String
notif_send_self Bool
notif_sms_alternate String
notif_style String
notif_style_link String
notif_subject String
notif_subscribable Bool
notif_sys_class_name String
notif_sys_created_by String
notif_sys_created_on Datetime
notif_sys_domain String
notif_sys_domain_path String
notif_sys_mod_count Int
notif_sys_name String
notif_sys_overrides String
notif_sys_overrides_link String
notif_sys_package String
notif_sys_package_link String
notif_sys_policy String
notif_sys_scope String
notif_sys_scope_link String
notif_sys_tags String
notif_sys_update_name String
notif_sys_updated_by String
notif_sys_updated_on Datetime
notif_sys_version String
notif_template String
notif_template_link String
notif_type String
notif_weight Int

pa_widgets_stats

The ServiceNow view pa_widgets_stats.

Columns

Name Type References Description
paw_sys_id String
paw_lookup_name String
paw_name String
paw_type String
rstats_recent_avg_execution_duration Int
rstats_widget_sys_id String
rstats_widget_sys_id_link String

priv_command_mid_server

The ServiceNow view priv_command_mid_server.

Columns

Name Type References Description
priv_sys_id String
priv_command String
priv_password_prompt String
priv_sys_class_name String
priv_sys_created_by String
priv_sys_created_on Datetime
priv_sys_mod_count Int
priv_sys_name String
priv_sys_package String
priv_sys_package_link String
priv_sys_policy String
priv_sys_scope String
priv_sys_scope_link String
priv_sys_tags String
priv_sys_update_name String
priv_sys_updated_by String
priv_sys_updated_on Datetime
m2m_sys_id String
m2m_active Bool
m2m_mid String
m2m_mid_link String
m2m_order Int
m2m_priv_command String
m2m_priv_command_link String
m2m_sys_created_by String
m2m_sys_created_on Datetime
m2m_sys_mod_count Int
m2m_sys_tags String
m2m_sys_updated_by String
m2m_sys_updated_on Datetime

problem_metric

The ServiceNow view problem_metric.

Columns

Name Type References Description
md_sys_id String
md_active Bool
md_description String
md_field String
md_name String
md_number String
md_order Int
md_script String
md_sys_class_name String
md_sys_created_by String
md_sys_created_on Datetime
md_sys_mod_count Int
md_sys_name String
md_sys_package String
md_sys_package_link String
md_sys_policy String
md_sys_scope String
md_sys_scope_link String
md_sys_tags String
md_sys_update_name String
md_sys_updated_by String
md_sys_updated_on Datetime
md_table String
md_timeline Bool
md_type String
mi_sys_id String
mi_business_duration Long
mi_calculation_complete Bool
mi_definition String
mi_definition_link String
mi_duration Long
mi_end Datetime
mi_field String
mi_field_value String
mi_id String
mi_start Datetime
mi_sys_created_by String
mi_sys_created_on Datetime
mi_sys_mod_count Int
mi_sys_tags String
mi_sys_updated_by String
mi_sys_updated_on Datetime
mi_table String
mi_value String
prb_sys_id String
prb_active Bool
prb_activity_due Datetime
prb_additional_assignee_list String
prb_approval String
prb_approval_history String
prb_approval_set Datetime
prb_assigned_to String
prb_assigned_to_link String
prb_assignment_group String
prb_assignment_group_link String
prb_business_duration Long
prb_business_service String
prb_business_service_link String
prb_calendar_duration Long
prb_close_notes String
prb_closed_at Datetime
prb_closed_by String
prb_closed_by_link String
prb_cmdb_ci String
prb_cmdb_ci_link String
prb_comments String
prb_comments_and_work_notes String
prb_company String
prb_company_link String
prb_contact_type String
prb_correlation_display String
prb_correlation_id String
prb_delivery_plan String
prb_delivery_plan_link String
prb_delivery_task String
prb_delivery_task_link String
prb_description String
prb_due_date Datetime
prb_escalation Int
prb_expected_start Datetime
prb_follow_up Datetime
prb_group_list String
prb_impact Int
prb_knowledge Bool
prb_known_error Bool
prb_location String
prb_location_link String
prb_made_sla Bool
prb_major_problem Bool
prb_number String
prb_opened_at Datetime
prb_opened_by String
prb_opened_by_link String
prb_order Int
prb_parent String
prb_parent_link String
prb_priority Int
prb_problem_state Int
prb_reassignment_count Int
prb_rejection_goto String
prb_rejection_goto_link String
prb_related_incidents Int
prb_review_outcome String
prb_rfc String
prb_rfc_link String
prb_route_reason Int
prb_service_offering String
prb_service_offering_link String
prb_short_description String
prb_sla_due Datetime
prb_state Int
prb_sys_class_name String
prb_sys_created_by String
prb_sys_created_on Datetime
prb_sys_domain String
prb_sys_domain_path String
prb_sys_mod_count Int
prb_sys_tags String
prb_sys_updated_by String
prb_sys_updated_on Datetime
prb_task_effective_number String
prb_time_worked String
prb_u_comments String
prb_u_some_test_field String
prb_universal_request String
prb_universal_request_link String
prb_upon_approval String
prb_upon_reject String
prb_urgency Int
prb_user_input String
prb_variables String
prb_watch_list String
prb_wf_activity String
prb_wf_activity_link String
prb_work_around String
prb_work_end Datetime
prb_work_notes String
prb_work_notes_list String
prb_work_start Datetime

problem_sla

The ServiceNow view problem_sla.

Columns

Name Type References Description
taskslatable_sys_id String
taskslatable_active Bool
taskslatable_business_duration Long
taskslatable_business_pause_duration Long
taskslatable_business_percentage Decimal
taskslatable_business_time_left Long
taskslatable_duration Long
taskslatable_end_time Datetime
taskslatable_has_breached Bool
taskslatable_original_breach_time Datetime
taskslatable_pause_duration Long
taskslatable_pause_time Datetime
taskslatable_percentage Decimal
taskslatable_planned_end_time Datetime
taskslatable_schedule String
taskslatable_schedule_link String
taskslatable_sla String
taskslatable_sla_link String
taskslatable_stage String
taskslatable_start_time Datetime
taskslatable_sys_created_by String
taskslatable_sys_created_on Datetime
taskslatable_sys_mod_count Int
taskslatable_sys_tags String
taskslatable_sys_updated_by String
taskslatable_sys_updated_on Datetime
taskslatable_task String
taskslatable_task_link String
taskslatable_time_left Long
taskslatable_timezone String
prb_sys_id String
prb_active Bool
prb_activity_due Datetime
prb_additional_assignee_list String
prb_approval String
prb_approval_history String
prb_approval_set Datetime
prb_assigned_to String
prb_assigned_to_link String
prb_assignment_group String
prb_assignment_group_link String
prb_business_duration Long
prb_business_service String
prb_business_service_link String
prb_calendar_duration Long
prb_close_notes String
prb_closed_at Datetime
prb_closed_by String
prb_closed_by_link String
prb_cmdb_ci String
prb_cmdb_ci_link String
prb_comments String
prb_comments_and_work_notes String
prb_company String
prb_company_link String
prb_contact_type String
prb_correlation_display String
prb_correlation_id String
prb_delivery_plan String
prb_delivery_plan_link String
prb_delivery_task String
prb_delivery_task_link String
prb_description String
prb_due_date Datetime
prb_escalation Int
prb_expected_start Datetime
prb_follow_up Datetime
prb_group_list String
prb_impact Int
prb_knowledge Bool
prb_known_error Bool
prb_location String
prb_location_link String
prb_made_sla Bool
prb_major_problem Bool
prb_number String
prb_opened_at Datetime
prb_opened_by String
prb_opened_by_link String
prb_order Int
prb_parent String
prb_parent_link String
prb_priority Int
prb_problem_state Int
prb_reassignment_count Int
prb_rejection_goto String
prb_rejection_goto_link String
prb_related_incidents Int
prb_review_outcome String
prb_rfc String
prb_rfc_link String
prb_route_reason Int
prb_service_offering String
prb_service_offering_link String
prb_short_description String
prb_sla_due Datetime
prb_state Int
prb_sys_class_name String
prb_sys_created_by String
prb_sys_created_on Datetime
prb_sys_domain String
prb_sys_domain_path String
prb_sys_mod_count Int
prb_sys_tags String
prb_sys_updated_by String
prb_sys_updated_on Datetime
prb_task_effective_number String
prb_time_worked String
prb_u_comments String
prb_u_some_test_field String
prb_universal_request String
prb_universal_request_link String
prb_upon_approval String
prb_upon_reject String
prb_urgency Int
prb_user_input String
prb_variables String
prb_watch_list String
prb_wf_activity String
prb_wf_activity_link String
prb_work_around String
prb_work_end Datetime
prb_work_notes String
prb_work_notes_list String
prb_work_start Datetime

quarantined_file

The ServiceNow view quarantined_file.

Columns

Name Type References Description
ash_attachment_sys_id String
ash_scan_date Datetime
ash_status String
ash_virus String
sa_content_type String
sa_file_name String
sa_state String
sa_sys_created_by String
sa_sys_created_on Datetime
sa_table_name String
sa_table_sys_id String

query_based_service_basic_view

The ServiceNow view query_based_service_basic_view.

Columns

Name Type References Description
virtrel_child String
virtrel_child_link String
virtrel_parent String
virtrel_parent_link String
virtrel_type String
virtrel_type_link String
hostrel_child String
hostrel_child_link String
hostrel_parent String
hostrel_parent_link String
hostrel_type String
hostrel_type_link String
host_sys_id String
host_ip_address String
host_name String
host_os String
host_os_version String
host_sys_class_name String
hyper_sys_id String
hyper_name String
hyper_sys_class_name String
ci_sys_id String
ci_name String
ci_sys_class_name String

query_based_service_mapping

The ServiceNow view query_based_service_mapping.

Columns

Name Type References Description
comp_sys_id String
comp_ip_address String
comp_name String
comp_os String
comp_os_version String
comp_sys_class_name String
ciassoc_ci_id String
ciassoc_ci_id_link String
ciassoc_service_id String
ciassoc_service_id_link String
compvirt_sys_id String
compvirt_name String
compvirt_sys_class_name String
rel_child String
rel_child_link String
rel_parent String
rel_parent_link String
rel_type String
rel_type_link String
relvirt_child String
relvirt_child_link String
relvirt_parent String
relvirt_parent_link String
relvirt_type String
relvirt_type_link String
ci_sys_id String
ci_name String
ci_sys_class_name String

release_feature_metric

The ServiceNow view release_feature_metric.

Columns

Name Type References Description
ref_sys_id String
ref_active Bool
ref_actual_end_date Date
ref_actual_start_date Date
ref_assigned_to String
ref_assigned_to_link String
ref_documentation String
ref_due_date Date
ref_name String
ref_notes String
ref_number String
ref_percent_complete Decimal
ref_planned_end_date Date
ref_planned_start_date Date
ref_priority String
ref_product String
ref_product_link String
ref_release String
ref_release_link String
ref_requested_by String
ref_requested_by_link String
ref_requested_date Date
ref_rfc String
ref_rfc_link String
ref_risk String
ref_short_description String
ref_sys_created_by String
ref_sys_created_on Datetime
ref_sys_mod_count Int
ref_sys_tags String
ref_sys_updated_by String
ref_sys_updated_on Datetime
ref_type String
ref_workflow_state String
mi_sys_id String
mi_business_duration Long
mi_calculation_complete Bool
mi_definition String
mi_definition_link String
mi_duration Long
mi_end Datetime
mi_field String
mi_field_value String
mi_id String
mi_start Datetime
mi_sys_created_by String
mi_sys_created_on Datetime
mi_sys_mod_count Int
mi_sys_tags String
mi_sys_updated_by String
mi_sys_updated_on Datetime
mi_table String
mi_value String
md_sys_id String
md_active Bool
md_description String
md_field String
md_name String
md_number String
md_order Int
md_script String
md_sys_class_name String
md_sys_created_by String
md_sys_created_on Datetime
md_sys_mod_count Int
md_sys_name String
md_sys_package String
md_sys_package_link String
md_sys_policy String
md_sys_scope String
md_sys_scope_link String
md_sys_tags String
md_sys_update_name String
md_sys_updated_by String
md_sys_updated_on Datetime
md_table String
md_timeline Bool
md_type String

release_project_metric

The ServiceNow view release_project_metric.

Columns

Name Type References Description
rel_sys_id String
rel_active Bool
rel_actual_end_date Date
rel_actual_start_date Date
rel_description String
rel_due_date Date
rel_manager String
rel_manager_link String
rel_name String
rel_notes String
rel_number String
rel_parent String
rel_parent_link String
rel_phases String
rel_phases_wanted Bool
rel_planned_end_date Date
rel_planned_start_date Date
rel_priority String
rel_product String
rel_product_link String
rel_release_history String
rel_requested_by String
rel_requested_by_link String
rel_requested_date Date
rel_risk String
rel_short_description String
rel_sys_created_by String
rel_sys_created_on Datetime
rel_sys_mod_count Int
rel_sys_tags String
rel_sys_updated_by String
rel_sys_updated_on Datetime
rel_type String
rel_workflow_state String
mi_sys_id String
mi_business_duration Long
mi_calculation_complete Bool
mi_definition String
mi_definition_link String
mi_duration Long
mi_end Datetime
mi_field String
mi_field_value String
mi_id String
mi_start Datetime
mi_sys_created_by String
mi_sys_created_on Datetime
mi_sys_mod_count Int
mi_sys_tags String
mi_sys_updated_by String
mi_sys_updated_on Datetime
mi_table String
mi_value String
md_sys_id String
md_active Bool
md_description String
md_field String
md_name String
md_number String
md_order Int
md_script String
md_sys_class_name String
md_sys_created_by String
md_sys_created_on Datetime
md_sys_mod_count Int
md_sys_name String
md_sys_package String
md_sys_package_link String
md_sys_policy String
md_sys_scope String
md_sys_scope_link String
md_sys_tags String
md_sys_update_name String
md_sys_updated_by String
md_sys_updated_on Datetime
md_table String
md_timeline Bool
md_type String

release_task_metric

The ServiceNow view release_task_metric.

Columns

Name Type References Description
ret_sys_id String
ret_active Bool
ret_activity_due Datetime
ret_actual_end_date Date
ret_actual_start_date Date
ret_additional_assignee_list String
ret_approval String
ret_approval_history String
ret_approval_set Datetime
ret_assigned_to String
ret_assigned_to_link String
ret_assignment_group String
ret_assignment_group_link String
ret_business_duration Long
ret_business_service String
ret_business_service_link String
ret_calendar_duration Long
ret_close_notes String
ret_closed_at Datetime
ret_closed_by String
ret_closed_by_link String
ret_cmdb_ci String
ret_cmdb_ci_link String
ret_comments String
ret_comments_and_work_notes String
ret_company String
ret_company_link String
ret_contact_type String
ret_correlation_display String
ret_correlation_id String
ret_delivery_plan String
ret_delivery_plan_link String
ret_delivery_task String
ret_delivery_task_link String
ret_description String
ret_documentation String
ret_due_date Datetime
ret_escalation Int
ret_expected_start Datetime
ret_feature String
ret_feature_link String
ret_follow_up Datetime
ret_group_list String
ret_impact Int
ret_knowledge Bool
ret_location String
ret_location_link String
ret_made_sla Bool
ret_notes String
ret_number String
ret_opened_at Datetime
ret_opened_by String
ret_opened_by_link String
ret_order Int
ret_parent String
ret_parent_link String
ret_percent_complete Decimal
ret_planned_end_date Date
ret_planned_start_date Date
ret_priority Int
ret_reassignment_count Int
ret_rejection_goto String
ret_rejection_goto_link String
ret_route_reason Int
ret_service_offering String
ret_service_offering_link String
ret_short_description String
ret_sla_due Datetime
ret_state Int
ret_sys_class_name String
ret_sys_created_by String
ret_sys_created_on Datetime
ret_sys_domain String
ret_sys_domain_path String
ret_sys_mod_count Int
ret_sys_tags String
ret_sys_updated_by String
ret_sys_updated_on Datetime
ret_task_effective_number String
ret_time_worked String
ret_type String
ret_u_comments String
ret_u_some_test_field String
ret_universal_request String
ret_universal_request_link String
ret_upon_approval String
ret_upon_reject String
ret_urgency Int
ret_user_input String
ret_variables String
ret_watch_list String
ret_wf_activity String
ret_wf_activity_link String
ret_work_end Datetime
ret_work_notes String
ret_work_notes_list String
ret_work_start Datetime
ret_workflow_state String
mi_sys_id String
mi_business_duration Long
mi_calculation_complete Bool
mi_definition String
mi_definition_link String
mi_duration Long
mi_end Datetime
mi_field String
mi_field_value String
mi_id String
mi_start Datetime
mi_sys_created_by String
mi_sys_created_on Datetime
mi_sys_mod_count Int
mi_sys_tags String
mi_sys_updated_by String
mi_sys_updated_on Datetime
mi_table String
mi_value String
md_sys_id String
md_active Bool
md_description String
md_field String
md_name String
md_number String
md_order Int
md_script String
md_sys_class_name String
md_sys_created_by String
md_sys_created_on Datetime
md_sys_mod_count Int
md_sys_name String
md_sys_package String
md_sys_package_link String
md_sys_policy String
md_sys_scope String
md_sys_scope_link String
md_sys_tags String
md_sys_update_name String
md_sys_updated_by String
md_sys_updated_on Datetime
md_table String
md_timeline Bool
md_type String

release_task_sla

The ServiceNow view release_task_sla.

Columns

Name Type References Description
taskslatable_sys_id String
taskslatable_active Bool
taskslatable_business_duration Long
taskslatable_business_pause_duration Long
taskslatable_business_percentage Decimal
taskslatable_business_time_left Long
taskslatable_duration Long
taskslatable_end_time Datetime
taskslatable_has_breached Bool
taskslatable_original_breach_time Datetime
taskslatable_pause_duration Long
taskslatable_pause_time Datetime
taskslatable_percentage Decimal
taskslatable_planned_end_time Datetime
taskslatable_schedule String
taskslatable_schedule_link String
taskslatable_sla String
taskslatable_sla_link String
taskslatable_stage String
taskslatable_start_time Datetime
taskslatable_sys_created_by String
taskslatable_sys_created_on Datetime
taskslatable_sys_mod_count Int
taskslatable_sys_tags String
taskslatable_sys_updated_by String
taskslatable_sys_updated_on Datetime
taskslatable_task String
taskslatable_task_link String
taskslatable_time_left Long
taskslatable_timezone String
ret_sys_id String
ret_active Bool
ret_activity_due Datetime
ret_actual_end_date Date
ret_actual_start_date Date
ret_additional_assignee_list String
ret_approval String
ret_approval_history String
ret_approval_set Datetime
ret_assigned_to String
ret_assigned_to_link String
ret_assignment_group String
ret_assignment_group_link String
ret_business_duration Long
ret_business_service String
ret_business_service_link String
ret_calendar_duration Long
ret_close_notes String
ret_closed_at Datetime
ret_closed_by String
ret_closed_by_link String
ret_cmdb_ci String
ret_cmdb_ci_link String
ret_comments String
ret_comments_and_work_notes String
ret_company String
ret_company_link String
ret_contact_type String
ret_correlation_display String
ret_correlation_id String
ret_delivery_plan String
ret_delivery_plan_link String
ret_delivery_task String
ret_delivery_task_link String
ret_description String
ret_documentation String
ret_due_date Datetime
ret_escalation Int
ret_expected_start Datetime
ret_feature String
ret_feature_link String
ret_follow_up Datetime
ret_group_list String
ret_impact Int
ret_knowledge Bool
ret_location String
ret_location_link String
ret_made_sla Bool
ret_notes String
ret_number String
ret_opened_at Datetime
ret_opened_by String
ret_opened_by_link String
ret_order Int
ret_parent String
ret_parent_link String
ret_percent_complete Decimal
ret_planned_end_date Date
ret_planned_start_date Date
ret_priority Int
ret_reassignment_count Int
ret_rejection_goto String
ret_rejection_goto_link String
ret_route_reason Int
ret_service_offering String
ret_service_offering_link String
ret_short_description String
ret_sla_due Datetime
ret_state Int
ret_sys_class_name String
ret_sys_created_by String
ret_sys_created_on Datetime
ret_sys_domain String
ret_sys_domain_path String
ret_sys_mod_count Int
ret_sys_tags String
ret_sys_updated_by String
ret_sys_updated_on Datetime
ret_task_effective_number String
ret_time_worked String
ret_type String
ret_u_comments String
ret_u_some_test_field String
ret_universal_request String
ret_universal_request_link String
ret_upon_approval String
ret_upon_reject String
ret_urgency Int
ret_user_input String
ret_variables String
ret_watch_list String
ret_wf_activity String
ret_wf_activity_link String
ret_work_end Datetime
ret_work_notes String
ret_work_notes_list String
ret_work_start Datetime
ret_workflow_state String

report_home_details

The ServiceNow view report_home_details.

Columns

Name Type References Description
rep_sys_id String
rep_additional_groupby String
rep_aggregate String
rep_aggregation_source String
rep_allow_data_label_overlap Bool
rep_apply_alias Bool
rep_axis_max_color String
rep_axis_max_color_link String
rep_axis_min_color String
rep_axis_min_color_link String
rep_bar_unstack Bool
rep_chart_background_color String
rep_chart_background_color_link String
rep_chart_border_color String
rep_chart_border_color_link String
rep_chart_border_radius Int
rep_chart_border_width Int
rep_chart_height Int
rep_chart_size String
rep_chart_subtitle String
rep_chart_subtitle_color String
rep_chart_subtitle_color_link String
rep_chart_subtitle_size Int
rep_chart_subtitle_style String
rep_chart_title String
rep_chart_title_color String
rep_chart_title_color_link String
rep_chart_title_size Int
rep_chart_title_style String
rep_chart_title_x_position Int
rep_chart_title_y_position Int
rep_chart_width Int
rep_color String
rep_color_link String
rep_color_palette String
rep_color_palette_link String
rep_colors String
rep_column String
rep_compute_percent String
rep_content String
rep_created_by_user String
rep_created_by_user_link String
rep_custom_chart_size Bool
rep_custom_chart_title_position Bool
rep_custom_config String
rep_decimal_precision Int
rep_description String
rep_direction String
rep_display_column_lines Bool
rep_display_grid Bool
rep_display_row_lines Bool
rep_donut_width_percent Int
rep_end_time String
rep_exp_report_attrs Bool
rep_field String
rep_field_list String
rep_filter String
rep_from Int
rep_funnel_neck_percent Int
rep_gauge_autoscale Bool
rep_group String
rep_group_link String
rep_import_table String
rep_import_table_link String
rep_interval String
rep_is_published Bool
rep_is_real_time Bool
rep_is_scheduled Bool
rep_legend_align_columns Bool
rep_legend_background_color String
rep_legend_background_color_link String
rep_legend_border_color String
rep_legend_border_color_link String
rep_legend_border_radius Int
rep_legend_border_width Int
rep_legend_horizontal_alignment String
rep_legend_items_left_align Bool
rep_legend_vertical_alignment String
rep_list_ui_view String
rep_list_ui_view_link String
rep_location_field String
rep_lower_limit Int
rep_map String
rep_map_link String
rep_map_source String
rep_map_source_link String
rep_orderby_list String
rep_other_threshold Int
rep_others String
rep_page_hdrftr String
rep_page_hdrftr_link String
rep_pivot_expanded Bool
rep_report_drilldown String
rep_report_drilldown_link String
rep_report_source String
rep_report_source_link String
rep_roles String
rep_row String
rep_sc_groupby_item_id String
rep_sc_groupby_variable_id String
rep_sc_stackby_item_id String
rep_sc_stackby_variable_id String
rep_score_color String
rep_score_color_link String
rep_series_name_text String
rep_set_color String
rep_show_chart_border Bool
rep_show_chart_data_label Bool
rep_show_chart_title String
rep_show_chart_total Bool
rep_show_data_label_position_middle Bool
rep_show_empty Bool
rep_show_geographical_label Bool
rep_show_legend Bool
rep_show_legend_border Bool
rep_show_marker Bool
rep_show_zero Bool
rep_source_type String
rep_start_time String
rep_style_config String
rep_sumfield String
rep_sys_class_name String
rep_sys_created_by String
rep_sys_created_on Datetime
rep_sys_mod_count Int
rep_sys_name String
rep_sys_package String
rep_sys_package_link String
rep_sys_policy String
rep_sys_scope String
rep_sys_scope_link String
rep_sys_tags String
rep_sys_update_name String
rep_sys_updated_by String
rep_sys_updated_on Datetime
rep_table String
rep_title String
rep_title_horizontal_alignment String
rep_title_vertical_alignment String
rep_to Int
rep_trend_field String
rep_type String
rep_upper_limit Int
rep_use_color_heatmap Bool
rep_use_null_in_trend Bool
rep_user String
rep_x_axis_allow_decimals Bool
rep_x_axis_display_grid Bool
rep_x_axis_grid_color String
rep_x_axis_grid_color_link String
rep_x_axis_grid_dotted Bool
rep_x_axis_grid_width Int
rep_x_axis_label_bold Bool
rep_x_axis_label_color String
rep_x_axis_label_color_link String
rep_x_axis_label_size Int
rep_x_axis_label_tilt String
rep_x_axis_opposite Bool
rep_x_axis_title String
rep_x_axis_title_bold Bool
rep_x_axis_title_color String
rep_x_axis_title_color_link String
rep_x_axis_title_size Int
rep_y_axis_allow_decimals Bool
rep_y_axis_display_grid Bool
rep_y_axis_from Int
rep_y_axis_grid_color String
rep_y_axis_grid_color_link String
rep_y_axis_grid_dotted Bool
rep_y_axis_grid_width Int
rep_y_axis_label_bold Bool
rep_y_axis_label_color String
rep_y_axis_label_color_link String
rep_y_axis_label_size Int
rep_y_axis_label_tilt String
rep_y_axis_opposite Bool
rep_y_axis_title String
rep_y_axis_title_bold Bool
rep_y_axis_title_color String
rep_y_axis_title_color_link String
rep_y_axis_title_size Int
rep_y_axis_to Int
meta_sys_id String
meta_sys_class_name String
meta_sys_created_by String
meta_sys_created_on Datetime
meta_sys_mod_count Int
meta_sys_name String
meta_sys_package String
meta_sys_package_link String
meta_sys_policy String
meta_sys_scope String
meta_sys_scope_link String
meta_sys_tags String
meta_sys_update_name String
meta_sys_updated_by String
meta_sys_updated_on Datetime
stat_sys_id String
stat_average_execution_duration Int
stat_number_executions_homepage Int
stat_number_executions_schedule Int
stat_number_executions_total Int
stat_recent_avg_execution_duration Int
stat_recent_number_executions Int
stat_report_sys_id String
stat_report_sys_id_link String
stat_sys_created_by String
stat_sys_created_on Datetime
stat_sys_mod_count Int
stat_sys_tags String
stat_sys_updated_by String
stat_sys_updated_on Datetime
stat_total_executions_duration Int
stat_widget_sys_id String
stat_widget_sys_id_link String

sc_request_metric

The ServiceNow view sc_request_metric.

Columns

Name Type References Description
scr_sys_id String
scr_active Bool
scr_activity_due Datetime
scr_additional_assignee_list String
scr_approval String
scr_approval_history String
scr_approval_set Datetime
scr_assigned_to String
scr_assigned_to_link String
scr_assignment_group String
scr_assignment_group_link String
scr_business_duration Long
scr_business_service String
scr_business_service_link String
scr_calendar_duration Long
scr_calendar_stc Int
scr_close_notes String
scr_closed_at Datetime
scr_closed_by String
scr_closed_by_link String
scr_cmdb_ci String
scr_cmdb_ci_link String
scr_comments String
scr_comments_and_work_notes String
scr_company String
scr_company_link String
scr_contact_type String
scr_correlation_display String
scr_correlation_id String
scr_delivery_address String
scr_delivery_plan String
scr_delivery_plan_link String
scr_delivery_task String
scr_delivery_task_link String
scr_description String
scr_due_date Datetime
scr_escalation Int
scr_expected_start Datetime
scr_follow_up Datetime
scr_group_list String
scr_impact Int
scr_knowledge Bool
scr_location String
scr_location_link String
scr_made_sla Bool
scr_number String
scr_opened_at Datetime
scr_opened_by String
scr_opened_by_link String
scr_order Int
scr_parent String
scr_parent_interaction String
scr_parent_interaction_link String
scr_parent_link String
scr_price Decimal
scr_priority Int
scr_reassignment_count Int
scr_rejection_goto String
scr_rejection_goto_link String
scr_request_state String
scr_requested_date Date
scr_requested_for String
scr_requested_for_link String
scr_route_reason Int
scr_service_offering String
scr_service_offering_link String
scr_short_description String
scr_sla_due Datetime
scr_special_instructions String
scr_stage String
scr_state Int
scr_sys_class_name String
scr_sys_created_by String
scr_sys_created_on Datetime
scr_sys_domain String
scr_sys_domain_path String
scr_sys_mod_count Int
scr_sys_tags String
scr_sys_updated_by String
scr_sys_updated_on Datetime
scr_task_effective_number String
scr_time_worked String
scr_u_comments String
scr_u_some_test_field String
scr_universal_request String
scr_universal_request_link String
scr_upon_approval String
scr_upon_reject String
scr_urgency Int
scr_user_input String
scr_variables String
scr_watch_list String
scr_wf_activity String
scr_wf_activity_link String
scr_work_end Datetime
scr_work_notes String
scr_work_notes_list String
scr_work_start Datetime
mi_sys_id String
mi_business_duration Long
mi_calculation_complete Bool
mi_definition String
mi_definition_link String
mi_duration Long
mi_end Datetime
mi_field String
mi_field_value String
mi_id String
mi_start Datetime
mi_sys_created_by String
mi_sys_created_on Datetime
mi_sys_mod_count Int
mi_sys_tags String
mi_sys_updated_by String
mi_sys_updated_on Datetime
mi_table String
mi_value String
md_sys_id String
md_active Bool
md_description String
md_field String
md_name String
md_number String
md_order Int
md_script String
md_sys_class_name String
md_sys_created_by String
md_sys_created_on Datetime
md_sys_mod_count Int
md_sys_name String
md_sys_package String
md_sys_package_link String
md_sys_policy String
md_sys_scope String
md_sys_scope_link String
md_sys_tags String
md_sys_update_name String
md_sys_updated_by String
md_sys_updated_on Datetime
md_table String
md_timeline Bool
md_type String

sc_request_sla

The ServiceNow view sc_request_sla.

Columns

Name Type References Description
taskslatable_sys_id String
taskslatable_active Bool
taskslatable_business_duration Long
taskslatable_business_pause_duration Long
taskslatable_business_percentage Decimal
taskslatable_business_time_left Long
taskslatable_duration Long
taskslatable_end_time Datetime
taskslatable_has_breached Bool
taskslatable_original_breach_time Datetime
taskslatable_pause_duration Long
taskslatable_pause_time Datetime
taskslatable_percentage Decimal
taskslatable_planned_end_time Datetime
taskslatable_schedule String
taskslatable_schedule_link String
taskslatable_sla String
taskslatable_sla_link String
taskslatable_stage String
taskslatable_start_time Datetime
taskslatable_sys_created_by String
taskslatable_sys_created_on Datetime
taskslatable_sys_mod_count Int
taskslatable_sys_tags String
taskslatable_sys_updated_by String
taskslatable_sys_updated_on Datetime
taskslatable_task String
taskslatable_task_link String
taskslatable_time_left Long
taskslatable_timezone String
scr_sys_id String
scr_active Bool
scr_activity_due Datetime
scr_additional_assignee_list String
scr_approval String
scr_approval_history String
scr_approval_set Datetime
scr_assigned_to String
scr_assigned_to_link String
scr_assignment_group String
scr_assignment_group_link String
scr_business_duration Long
scr_business_service String
scr_business_service_link String
scr_calendar_duration Long
scr_calendar_stc Int
scr_close_notes String
scr_closed_at Datetime
scr_closed_by String
scr_closed_by_link String
scr_cmdb_ci String
scr_cmdb_ci_link String
scr_comments String
scr_comments_and_work_notes String
scr_company String
scr_company_link String
scr_contact_type String
scr_correlation_display String
scr_correlation_id String
scr_delivery_address String
scr_delivery_plan String
scr_delivery_plan_link String
scr_delivery_task String
scr_delivery_task_link String
scr_description String
scr_due_date Datetime
scr_escalation Int
scr_expected_start Datetime
scr_follow_up Datetime
scr_group_list String
scr_impact Int
scr_knowledge Bool
scr_location String
scr_location_link String
scr_made_sla Bool
scr_number String
scr_opened_at Datetime
scr_opened_by String
scr_opened_by_link String
scr_order Int
scr_parent String
scr_parent_interaction String
scr_parent_interaction_link String
scr_parent_link String
scr_price Decimal
scr_priority Int
scr_reassignment_count Int
scr_rejection_goto String
scr_rejection_goto_link String
scr_request_state String
scr_requested_date Date
scr_requested_for String
scr_requested_for_link String
scr_route_reason Int
scr_service_offering String
scr_service_offering_link String
scr_short_description String
scr_sla_due Datetime
scr_special_instructions String
scr_stage String
scr_state Int
scr_sys_class_name String
scr_sys_created_by String
scr_sys_created_on Datetime
scr_sys_domain String
scr_sys_domain_path String
scr_sys_mod_count Int
scr_sys_tags String
scr_sys_updated_by String
scr_sys_updated_on Datetime
scr_task_effective_number String
scr_time_worked String
scr_u_comments String
scr_u_some_test_field String
scr_universal_request String
scr_universal_request_link String
scr_upon_approval String
scr_upon_reject String
scr_urgency Int
scr_user_input String
scr_variables String
scr_watch_list String
scr_wf_activity String
scr_wf_activity_link String
scr_work_end Datetime
scr_work_notes String
scr_work_notes_list String
scr_work_start Datetime

sc_req_item_metric

The ServiceNow view sc_req_item_metric.

Columns

Name Type References Description
sci_sys_id String
sci_active Bool
sci_activity_due Datetime
sci_additional_assignee_list String
sci_approval String
sci_approval_history String
sci_approval_set Datetime
sci_assigned_to String
sci_assigned_to_link String
sci_assignment_group String
sci_assignment_group_link String
sci_backordered Bool
sci_billable Bool
sci_business_duration Long
sci_business_service String
sci_business_service_link String
sci_calendar_duration Long
sci_cat_item String
sci_cat_item_link String
sci_close_notes String
sci_closed_at Datetime
sci_closed_by String
sci_closed_by_link String
sci_cmdb_ci String
sci_cmdb_ci_link String
sci_comments String
sci_comments_and_work_notes String
sci_company String
sci_company_link String
sci_configuration_item String
sci_configuration_item_link String
sci_contact_type String
sci_context String
sci_context_link String
sci_correlation_display String
sci_correlation_id String
sci_delivery_plan String
sci_delivery_plan_link String
sci_delivery_task String
sci_delivery_task_link String
sci_description String
sci_due_date Datetime
sci_escalation Int
sci_estimated_delivery Datetime
sci_expected_start Datetime
sci_flow_context String
sci_flow_context_link String
sci_follow_up Datetime
sci_group_list String
sci_impact Int
sci_knowledge Bool
sci_location String
sci_location_link String
sci_made_sla Bool
sci_number String
sci_opened_at Datetime
sci_opened_by String
sci_opened_by_link String
sci_order Int
sci_order_guide String
sci_order_guide_link String
sci_parent String
sci_parent_link String
sci_price Decimal
sci_priority Int
sci_quantity Int
sci_reassignment_count Int
sci_recurring_frequency String
sci_recurring_price Decimal
sci_rejection_goto String
sci_rejection_goto_link String
sci_request String
sci_request_link String
sci_requested_for String
sci_requested_for_link String
sci_route_reason Int
sci_sc_catalog String
sci_sc_catalog_link String
sci_service_offering String
sci_service_offering_link String
sci_short_description String
sci_sla_due Datetime
sci_stage String
sci_state Int
sci_sys_class_name String
sci_sys_created_by String
sci_sys_created_on Datetime
sci_sys_domain String
sci_sys_domain_path String
sci_sys_mod_count Int
sci_sys_tags String
sci_sys_updated_by String
sci_sys_updated_on Datetime
sci_task_effective_number String
sci_time_worked String
sci_u_comments String
sci_u_some_test_field String
sci_universal_request String
sci_universal_request_link String
sci_upon_approval String
sci_upon_reject String
sci_urgency Int
sci_user_input String
sci_variables String
sci_watch_list String
sci_wf_activity String
sci_wf_activity_link String
sci_work_end Datetime
sci_work_notes String
sci_work_notes_list String
sci_work_start Datetime
mi_sys_id String
mi_business_duration Long
mi_calculation_complete Bool
mi_definition String
mi_definition_link String
mi_duration Long
mi_end Datetime
mi_field String
mi_field_value String
mi_id String
mi_start Datetime
mi_sys_created_by String
mi_sys_created_on Datetime
mi_sys_mod_count Int
mi_sys_tags String
mi_sys_updated_by String
mi_sys_updated_on Datetime
mi_table String
mi_value String
md_sys_id String
md_active Bool
md_description String
md_field String
md_name String
md_number String
md_order Int
md_script String
md_sys_class_name String
md_sys_created_by String
md_sys_created_on Datetime
md_sys_mod_count Int
md_sys_name String
md_sys_package String
md_sys_package_link String
md_sys_policy String
md_sys_scope String
md_sys_scope_link String
md_sys_tags String
md_sys_update_name String
md_sys_updated_by String
md_sys_updated_on Datetime
md_table String
md_timeline Bool
md_type String

sc_req_item_sla

The ServiceNow view sc_req_item_sla.

Columns

Name Type References Description
taskslatable_sys_id String
taskslatable_active Bool
taskslatable_business_duration Long
taskslatable_business_pause_duration Long
taskslatable_business_percentage Decimal
taskslatable_business_time_left Long
taskslatable_duration Long
taskslatable_end_time Datetime
taskslatable_has_breached Bool
taskslatable_original_breach_time Datetime
taskslatable_pause_duration Long
taskslatable_pause_time Datetime
taskslatable_percentage Decimal
taskslatable_planned_end_time Datetime
taskslatable_schedule String
taskslatable_schedule_link String
taskslatable_sla String
taskslatable_sla_link String
taskslatable_stage String
taskslatable_start_time Datetime
taskslatable_sys_created_by String
taskslatable_sys_created_on Datetime
taskslatable_sys_mod_count Int
taskslatable_sys_tags String
taskslatable_sys_updated_by String
taskslatable_sys_updated_on Datetime
taskslatable_task String
taskslatable_task_link String
taskslatable_time_left Long
taskslatable_timezone String
sci_sys_id String
sci_active Bool
sci_activity_due Datetime
sci_additional_assignee_list String
sci_approval String
sci_approval_history String
sci_approval_set Datetime
sci_assigned_to String
sci_assigned_to_link String
sci_assignment_group String
sci_assignment_group_link String
sci_backordered Bool
sci_billable Bool
sci_business_duration Long
sci_business_service String
sci_business_service_link String
sci_calendar_duration Long
sci_cat_item String
sci_cat_item_link String
sci_close_notes String
sci_closed_at Datetime
sci_closed_by String
sci_closed_by_link String
sci_cmdb_ci String
sci_cmdb_ci_link String
sci_comments String
sci_comments_and_work_notes String
sci_company String
sci_company_link String
sci_configuration_item String
sci_configuration_item_link String
sci_contact_type String
sci_context String
sci_context_link String
sci_correlation_display String
sci_correlation_id String
sci_delivery_plan String
sci_delivery_plan_link String
sci_delivery_task String
sci_delivery_task_link String
sci_description String
sci_due_date Datetime
sci_escalation Int
sci_estimated_delivery Datetime
sci_expected_start Datetime
sci_flow_context String
sci_flow_context_link String
sci_follow_up Datetime
sci_group_list String
sci_impact Int
sci_knowledge Bool
sci_location String
sci_location_link String
sci_made_sla Bool
sci_number String
sci_opened_at Datetime
sci_opened_by String
sci_opened_by_link String
sci_order Int
sci_order_guide String
sci_order_guide_link String
sci_parent String
sci_parent_link String
sci_price Decimal
sci_priority Int
sci_quantity Int
sci_reassignment_count Int
sci_recurring_frequency String
sci_recurring_price Decimal
sci_rejection_goto String
sci_rejection_goto_link String
sci_request String
sci_request_link String
sci_requested_for String
sci_requested_for_link String
sci_route_reason Int
sci_sc_catalog String
sci_sc_catalog_link String
sci_service_offering String
sci_service_offering_link String
sci_short_description String
sci_sla_due Datetime
sci_stage String
sci_state Int
sci_sys_class_name String
sci_sys_created_by String
sci_sys_created_on Datetime
sci_sys_domain String
sci_sys_domain_path String
sci_sys_mod_count Int
sci_sys_tags String
sci_sys_updated_by String
sci_sys_updated_on Datetime
sci_task_effective_number String
sci_time_worked String
sci_u_comments String
sci_u_some_test_field String
sci_universal_request String
sci_universal_request_link String
sci_upon_approval String
sci_upon_reject String
sci_urgency Int
sci_user_input String
sci_variables String
sci_watch_list String
sci_wf_activity String
sci_wf_activity_link String
sci_work_end Datetime
sci_work_notes String
sci_work_notes_list String
sci_work_start Datetime

sc_task_metric

The ServiceNow view sc_task_metric.

Columns

Name Type References Description
sct_sys_id String
sct_active Bool
sct_activity_due Datetime
sct_additional_assignee_list String
sct_approval String
sct_approval_history String
sct_approval_set Datetime
sct_assigned_to String
sct_assigned_to_link String
sct_assignment_group String
sct_assignment_group_link String
sct_business_duration Long
sct_business_service String
sct_business_service_link String
sct_calendar_duration Long
sct_calendar_stc Int
sct_close_notes String
sct_closed_at Datetime
sct_closed_by String
sct_closed_by_link String
sct_cmdb_ci String
sct_cmdb_ci_link String
sct_comments String
sct_comments_and_work_notes String
sct_company String
sct_company_link String
sct_contact_type String
sct_correlation_display String
sct_correlation_id String
sct_delivery_plan String
sct_delivery_plan_link String
sct_delivery_task String
sct_delivery_task_link String
sct_description String
sct_due_date Datetime
sct_escalation Int
sct_expected_start Datetime
sct_follow_up Datetime
sct_group_list String
sct_impact Int
sct_knowledge Bool
sct_location String
sct_location_link String
sct_made_sla Bool
sct_number String
sct_opened_at Datetime
sct_opened_by String
sct_opened_by_link String
sct_order Int
sct_parent String
sct_parent_link String
sct_priority Int
sct_reassignment_count Int
sct_rejection_goto String
sct_rejection_goto_link String
sct_request String
sct_request_item String
sct_request_item_link String
sct_request_link String
sct_route_reason Int
sct_sc_catalog String
sct_sc_catalog_link String
sct_service_offering String
sct_service_offering_link String
sct_short_description String
sct_sla_due Datetime
sct_state Int
sct_sys_class_name String
sct_sys_created_by String
sct_sys_created_on Datetime
sct_sys_domain String
sct_sys_domain_path String
sct_sys_mod_count Int
sct_sys_tags String
sct_sys_updated_by String
sct_sys_updated_on Datetime
sct_task_effective_number String
sct_time_worked String
sct_u_comments String
sct_u_some_test_field String
sct_universal_request String
sct_universal_request_link String
sct_upon_approval String
sct_upon_reject String
sct_urgency Int
sct_user_input String
sct_variables String
sct_watch_list String
sct_wf_activity String
sct_wf_activity_link String
sct_work_end Datetime
sct_work_notes String
sct_work_notes_list String
sct_work_start Datetime
mi_sys_id String
mi_business_duration Long
mi_calculation_complete Bool
mi_definition String
mi_definition_link String
mi_duration Long
mi_end Datetime
mi_field String
mi_field_value String
mi_id String
mi_start Datetime
mi_sys_created_by String
mi_sys_created_on Datetime
mi_sys_mod_count Int
mi_sys_tags String
mi_sys_updated_by String
mi_sys_updated_on Datetime
mi_table String
mi_value String
md_sys_id String
md_active Bool
md_description String
md_field String
md_name String
md_number String
md_order Int
md_script String
md_sys_class_name String
md_sys_created_by String
md_sys_created_on Datetime
md_sys_mod_count Int
md_sys_name String
md_sys_package String
md_sys_package_link String
md_sys_policy String
md_sys_scope String
md_sys_scope_link String
md_sys_tags String
md_sys_update_name String
md_sys_updated_by String
md_sys_updated_on Datetime
md_table String
md_timeline Bool
md_type String

sc_task_sla

The ServiceNow view sc_task_sla.

Columns

Name Type References Description
taskslatable_sys_id String
taskslatable_active Bool
taskslatable_business_duration Long
taskslatable_business_pause_duration Long
taskslatable_business_percentage Decimal
taskslatable_business_time_left Long
taskslatable_duration Long
taskslatable_end_time Datetime
taskslatable_has_breached Bool
taskslatable_original_breach_time Datetime
taskslatable_pause_duration Long
taskslatable_pause_time Datetime
taskslatable_percentage Decimal
taskslatable_planned_end_time Datetime
taskslatable_schedule String
taskslatable_schedule_link String
taskslatable_sla String
taskslatable_sla_link String
taskslatable_stage String
taskslatable_start_time Datetime
taskslatable_sys_created_by String
taskslatable_sys_created_on Datetime
taskslatable_sys_mod_count Int
taskslatable_sys_tags String
taskslatable_sys_updated_by String
taskslatable_sys_updated_on Datetime
taskslatable_task String
taskslatable_task_link String
taskslatable_time_left Long
taskslatable_timezone String
sct_sys_id String
sct_active Bool
sct_activity_due Datetime
sct_additional_assignee_list String
sct_approval String
sct_approval_history String
sct_approval_set Datetime
sct_assigned_to String
sct_assigned_to_link String
sct_assignment_group String
sct_assignment_group_link String
sct_business_duration Long
sct_business_service String
sct_business_service_link String
sct_calendar_duration Long
sct_calendar_stc Int
sct_close_notes String
sct_closed_at Datetime
sct_closed_by String
sct_closed_by_link String
sct_cmdb_ci String
sct_cmdb_ci_link String
sct_comments String
sct_comments_and_work_notes String
sct_company String
sct_company_link String
sct_contact_type String
sct_correlation_display String
sct_correlation_id String
sct_delivery_plan String
sct_delivery_plan_link String
sct_delivery_task String
sct_delivery_task_link String
sct_description String
sct_due_date Datetime
sct_escalation Int
sct_expected_start Datetime
sct_follow_up Datetime
sct_group_list String
sct_impact Int
sct_knowledge Bool
sct_location String
sct_location_link String
sct_made_sla Bool
sct_number String
sct_opened_at Datetime
sct_opened_by String
sct_opened_by_link String
sct_order Int
sct_parent String
sct_parent_link String
sct_priority Int
sct_reassignment_count Int
sct_rejection_goto String
sct_rejection_goto_link String
sct_request String
sct_request_item String
sct_request_item_link String
sct_request_link String
sct_route_reason Int
sct_sc_catalog String
sct_sc_catalog_link String
sct_service_offering String
sct_service_offering_link String
sct_short_description String
sct_sla_due Datetime
sct_state Int
sct_sys_class_name String
sct_sys_created_by String
sct_sys_created_on Datetime
sct_sys_domain String
sct_sys_domain_path String
sct_sys_mod_count Int
sct_sys_tags String
sct_sys_updated_by String
sct_sys_updated_on Datetime
sct_task_effective_number String
sct_time_worked String
sct_u_comments String
sct_u_some_test_field String
sct_universal_request String
sct_universal_request_link String
sct_upon_approval String
sct_upon_reject String
sct_urgency Int
sct_user_input String
sct_variables String
sct_watch_list String
sct_wf_activity String
sct_wf_activity_link String
sct_work_end Datetime
sct_work_notes String
sct_work_notes_list String
sct_work_start Datetime

security_acl_detail

The ServiceNow view security_acl_detail.

Columns

Name Type References Description
acl_sys_id String
acl_active Bool
acl_admin_overrides Bool
acl_advanced Bool
acl_condition String
acl_description String
acl_name String
acl_operation String
acl_operation_link String
acl_script String
acl_sys_class_name String
acl_sys_created_by String
acl_sys_created_on Datetime
acl_sys_mod_count Int
acl_sys_name String
acl_sys_package String
acl_sys_package_link String
acl_sys_policy String
acl_sys_scope String
acl_sys_scope_link String
acl_sys_tags String
acl_sys_update_name String
acl_sys_updated_by String
acl_sys_updated_on Datetime
acl_type String
acl_type_link String
aclrole_sys_id String
aclrole_sys_class_name String
aclrole_sys_created_by String
aclrole_sys_created_on Datetime
aclrole_sys_mod_count Int
aclrole_sys_name String
aclrole_sys_package String
aclrole_sys_package_link String
aclrole_sys_policy String
aclrole_sys_scope String
aclrole_sys_scope_link String
aclrole_sys_security_acl String
aclrole_sys_security_acl_link String
aclrole_sys_tags String
aclrole_sys_update_name String
aclrole_sys_updated_by String
aclrole_sys_updated_on Datetime
aclrole_sys_user_role String
aclrole_sys_user_role_link String
aclrole_transaction_id String

sn_bm_client_recommendation_view

The ServiceNow view sn_bm_client_recommendation_view.

Columns

Name Type References Description
re_sys_id String
re_date Date
re_evaluation Bool
re_recommendation String
re_recommendation_link String
re_result Bool
re_score Decimal
re_sys_created_by String
re_sys_created_on Datetime
re_sys_mod_count Int
re_sys_tags String
re_sys_updated_by String
re_sys_updated_on Datetime
ri_sys_id String
ri_active Bool
ri_check_global Bool
ri_indicator String
ri_indicator_link String
ri_recommendation String
ri_recommendation_link String
ri_sys_class_name String
ri_sys_created_by String
ri_sys_created_on Datetime
ri_sys_mod_count Int
ri_sys_name String
ri_sys_package String
ri_sys_package_link String
ri_sys_policy String
ri_sys_scope String
ri_sys_scope_link String
ri_sys_tags String
ri_sys_update_name String
ri_sys_updated_by String
ri_sys_updated_on Datetime
ri_weight Decimal
ra_sys_id String
ra_action_date Datetime
ra_implementation_date Datetime
ra_recommendation String
ra_recommendation_link String
ra_state String
ra_sys_created_by String
ra_sys_created_on Datetime
ra_sys_mod_count Int
ra_sys_tags String
ra_sys_updated_by String
ra_sys_updated_on Datetime

sp_page_widgets

The ServiceNow view sp_page_widgets.

Columns

Name Type References Description
pg_sys_id String
pg_category String
pg_css String
pg_draft Bool
pg_dynamic_title_structure String
pg_id String
pg_internal Bool
pg_omit_watcher Bool
pg_public Bool
pg_roles String
pg_seo_script String
pg_seo_script_link String
pg_short_description String
pg_sys_class_name String
pg_sys_created_by String
pg_sys_created_on Datetime
pg_sys_mod_count Int
pg_sys_name String
pg_sys_package String
pg_sys_package_link String
pg_sys_policy String
pg_sys_scope String
pg_sys_scope_link String
pg_sys_tags String
pg_sys_update_name String
pg_sys_updated_by String
pg_sys_updated_on Datetime
pg_title String
pg_use_seo_script Bool
row_sys_id String
row_class_name String
row_order Int
row_sp_column String
row_sp_column_link String
row_sp_container String
row_sp_container_link String
row_sys_class_name String
row_sys_created_by String
row_sys_created_on Datetime
row_sys_mod_count Int
row_sys_name String
row_sys_package String
row_sys_package_link String
row_sys_policy String
row_sys_scope String
row_sys_scope_link String
row_sys_tags String
row_sys_update_name String
row_sys_updated_by String
row_sys_updated_on Datetime
con_sys_id String
con_background_color String
con_background_image String
con_background_style String
con_bootstrap_alt Bool
con_class_name String
con_container_class_name String
con_name String
con_order Int
con_sp_page String
con_sp_page_link String
con_subheader Bool
con_sys_class_name String
con_sys_created_by String
con_sys_created_on Datetime
con_sys_mod_count Int
con_sys_name String
con_sys_package String
con_sys_package_link String
con_sys_policy String
con_sys_scope String
con_sys_scope_link String
con_sys_tags String
con_sys_update_name String
con_sys_updated_by String
con_sys_updated_on Datetime
con_title String
con_width String
col_sys_id String
col_class_name String
col_order Int
col_size Int
col_size_lg Int
col_size_sm Int
col_size_xs Int
col_sp_row String
col_sp_row_link String
col_sys_class_name String
col_sys_created_by String
col_sys_created_on Datetime
col_sys_mod_count Int
col_sys_name String
col_sys_package String
col_sys_package_link String
col_sys_policy String
col_sys_scope String
col_sys_scope_link String
col_sys_tags String
col_sys_update_name String
col_sys_updated_by String
col_sys_updated_on Datetime
inst_sys_id String
inst_active Bool
inst_class_name String
inst_color String
inst_css String
inst_glyph String
inst_id String
inst_order Int
inst_roles String
inst_short_description String
inst_size String
inst_sp_column String
inst_sp_column_link String
inst_sp_widget String
inst_sp_widget_link String
inst_sys_class_name String
inst_sys_created_by String
inst_sys_created_on Datetime
inst_sys_mod_count Int
inst_sys_name String
inst_sys_package String
inst_sys_package_link String
inst_sys_policy String
inst_sys_scope String
inst_sys_scope_link String
inst_sys_tags String
inst_sys_update_name String
inst_sys_updated_by String
inst_sys_updated_on Datetime
inst_title String
inst_url String
inst_widget_parameters String
wid_sys_id String
wid_category String
wid_client_script String
wid_controller_as String
wid_css String
wid_data_table String
wid_demo_data String
wid_description String
wid_docs String
wid_docs_link String
wid_field_list String
wid_has_preview Bool
wid_id String
wid_internal Bool
wid_link String
wid_name String
wid_option_schema String
wid_public Bool
wid_roles String
wid_script String
wid_servicenow Bool
wid_sys_class_name String
wid_sys_created_by String
wid_sys_created_on Datetime
wid_sys_mod_count Int
wid_sys_name String
wid_sys_package String
wid_sys_package_link String
wid_sys_policy String
wid_sys_scope String
wid_sys_scope_link String
wid_sys_tags String
wid_sys_update_name String
wid_sys_updated_by String
wid_sys_updated_on Datetime
wid_template String

subscribed_users_with_role

The ServiceNow view subscribed_users_with_role.

Columns

Name Type References Description
userrolect_sys_id String
userrolect_role_name String
userrolect_role_ref String
userrolect_role_ref_link String
userrolect_sys_created_by String
userrolect_sys_created_on Datetime
userrolect_sys_mod_count Int
userrolect_sys_tags String
userrolect_sys_updated_by String
userrolect_sys_updated_on Datetime
userrolect_table_name String
userrolect_table_ref String
userrolect_table_ref_link String
userrolect_user String
userrolect_user_link String
userct_sys_id String
userct_count Int
userct_end_month String
userct_roles String
userct_start_month String
userct_sys_created_by String
userct_sys_created_on Datetime
userct_sys_mod_count Int
userct_sys_tags String
userct_sys_updated_by String
userct_sys_updated_on Datetime
userct_user String
userct_user_link String

task_assessment_detail

The ServiceNow view task_assessment_detail.

Columns

Name Type References Description
asmtins_sys_id String
asmtins_assessment_group String
asmtins_assessment_group_link String
asmtins_due_date Date
asmtins_expiration_date Date
asmtins_metric_type String
asmtins_metric_type_link String
asmtins_number String
asmtins_percent_answered Decimal
asmtins_preview Bool
asmtins_related_id_1 String
asmtins_related_id_2 String
asmtins_related_id_3 String
asmtins_related_id_4 String
asmtins_related_table_1 String
asmtins_related_table_2 String
asmtins_related_table_3 String
asmtins_related_table_4 String
asmtins_signature String
asmtins_signature_link String
asmtins_signature_result String
asmtins_state String
asmtins_sys_created_by String
asmtins_sys_created_on Datetime
asmtins_sys_domain String
asmtins_sys_domain_path String
asmtins_sys_mod_count Int
asmtins_sys_tags String
asmtins_sys_updated_by String
asmtins_sys_updated_on Datetime
asmtins_taken_on Datetime
asmtins_task_id String
asmtins_task_id_link String
asmtins_trigger_condition String
asmtins_trigger_condition_link String
asmtins_trigger_id String
asmtins_trigger_table String
asmtins_user String
asmtins_user_link String
asmttype_sys_id String
asmttype_active Bool
asmttype_allow_public Bool
asmttype_allow_retake Bool
asmttype_anonymize Bool
asmttype_business_rule String
asmttype_business_rule_link String
asmttype_condition String
asmttype_default_filter String
asmttype_delete_business_rule String
asmttype_delete_business_rule_link String
asmttype_description String
asmttype_disable_ui_action String
asmttype_disable_ui_action_link String
asmttype_display_all_filters Bool
asmttype_display_field String
asmttype_duration Long
asmttype_enable_ui_action String
asmttype_enable_ui_action_link String
asmttype_end_note String
asmttype_enforce_condition Bool
asmttype_evaluation_method String
asmttype_filter_condition String
asmttype_filter_table String
asmttype_introduction String
asmttype_job String
asmttype_job_link String
asmttype_live_feed Bool
asmttype_name String
asmttype_not_show_intro_note Bool
asmttype_notify_if_overdue Bool
asmttype_notify_user Bool
asmttype_one_click_survey Bool
asmttype_overdue_notify_user String
asmttype_overdue_notify_user_link String
asmttype_portal_pagination String
asmttype_publish_state String
asmttype_roles String
asmttype_sample_metric String
asmttype_sample_metric_link String
asmttype_scale_factor Int
asmttype_schedule_period String
asmttype_schedule_type String
asmttype_scoring_type String
asmttype_signature String
asmttype_signature_link String
asmttype_source_table String
asmttype_survey_owners String
asmttype_sys_class_name String
asmttype_sys_created_by String
asmttype_sys_created_on Datetime
asmttype_sys_domain String
asmttype_sys_domain_path String
asmttype_sys_mod_count Int
asmttype_sys_name String
asmttype_sys_package String
asmttype_sys_package_link String
asmttype_sys_policy String
asmttype_sys_scope String
asmttype_sys_scope_link String
asmttype_sys_tags String
asmttype_sys_update_name String
asmttype_sys_updated_by String
asmttype_sys_updated_on Datetime
asmttype_table String
asmttype_url String
asmttype_user_field String
task_sys_id String
task_active Bool
task_activity_due Datetime
task_additional_assignee_list String
task_approval String
task_approval_history String
task_approval_set Datetime
task_assigned_to String
task_assigned_to_link String
task_assignment_group String
task_assignment_group_link String
task_business_duration Long
task_business_service String
task_business_service_link String
task_calendar_duration Long
task_close_notes String
task_closed_at Datetime
task_closed_by String
task_closed_by_link String
task_cmdb_ci String
task_cmdb_ci_link String
task_comments String
task_comments_and_work_notes String
task_company String
task_company_link String
task_contact_type String
task_correlation_display String
task_correlation_id String
task_delivery_plan String
task_delivery_plan_link String
task_delivery_task String
task_delivery_task_link String
task_description String
task_due_date Datetime
task_escalation Int
task_expected_start Datetime
task_follow_up Datetime
task_group_list String
task_impact Int
task_knowledge Bool
task_location String
task_location_link String
task_made_sla Bool
task_number String
task_opened_at Datetime
task_opened_by String
task_opened_by_link String
task_order Int
task_parent String
task_parent_link String
task_priority Int
task_reassignment_count Int
task_rejection_goto String
task_rejection_goto_link String
task_route_reason Int
task_service_offering String
task_service_offering_link String
task_short_description String
task_sla_due Datetime
task_state Int
task_sys_class_name String
task_sys_created_by String
task_sys_created_on Datetime
task_sys_domain String
task_sys_domain_path String
task_sys_mod_count Int
task_sys_tags String
task_sys_updated_by String
task_sys_updated_on Datetime
task_task_effective_number String
task_time_worked String
task_u_comments String
task_u_some_test_field String
task_universal_request String
task_universal_request_link String
task_upon_approval String
task_upon_reject String
task_urgency Int
task_user_input String
task_variables String
task_watch_list String
task_wf_activity String
task_wf_activity_link String
task_work_end Datetime
task_work_notes String
task_work_notes_list String
task_work_start Datetime
metricres_sys_id String
metricres_actual_value Decimal
metricres_add_info String
metricres_assessment_group String
metricres_assessment_group_link String
metricres_assign_to_order String
metricres_duration_value Long
metricres_instance String
metricres_instance_link String
metricres_instance_question String
metricres_instance_question_link String
metricres_is_default Bool
metricres_metric String
metricres_metric_definition String
metricres_metric_definition_link String
metricres_metric_link String
metricres_normalized_value Decimal
metricres_nps_value Int
metricres_passed String
metricres_reference_table String
metricres_reference_value String
metricres_scaled_value Decimal
metricres_source_id String
metricres_source_table String
metricres_string_value String
metricres_sys_created_by String
metricres_sys_created_on Datetime
metricres_sys_domain String
metricres_sys_domain_path String
metricres_sys_mod_count Int
metricres_sys_tags String
metricres_sys_updated_by String
metricres_sys_updated_on Datetime
metricres_template_definition String
metricres_template_definition_link String
metricres_user String
metricres_user_link String
metricres_weighted_value Decimal

upgrade_history_update_xml

The ServiceNow view upgrade_history_update_xml.

Columns

Name Type References Description
upgr_sys_id String
upgr_application_category String
upgr_change_type String
upgr_changed Bool
upgr_claim_status String
upgr_comments String
upgr_disposition Int
upgr_file_name String
upgr_file_path String
upgr_order Int
upgr_payload String
upgr_payload_diff String
upgr_plugin String
upgr_replace_on_upgrade Bool
upgr_resolution_status String
upgr_sys_created_by String
upgr_sys_created_on Datetime
upgr_sys_mod_count Int
upgr_sys_recorded_at String
upgr_sys_source_table String
upgr_sys_source_table_link String
upgr_sys_tags String
upgr_sys_updated_by String
upgr_sys_updated_on Datetime
upgr_target_name String
upgr_type String
upgr_type_priority Int
upgr_update_set String
upgr_update_set_link String
upgr_upgrade_history String
upgr_upgrade_history_link String
upd_sys_id String
upd_action String
upd_application String
upd_application_link String
upd_category String
upd_comments String
upd_name String
upd_payload String
upd_payload_hash String
upd_remote_update_set String
upd_remote_update_set_link String
upd_replace_on_upgrade Bool
upd_sys_created_by String
upd_sys_created_on Datetime
upd_sys_mod_count Int
upd_sys_recorded_at String
upd_sys_tags String
upd_sys_updated_by String
upd_sys_updated_on Datetime
upd_table String
upd_target_name String
upd_type String
upd_update_domain String
upd_update_guid String
upd_update_guid_history String
upd_update_set String
upd_update_set_link String
upd_view String

user_has_license_role

The ServiceNow view user_has_license_role.

Columns

Name Type References Description
u_sys_id String
u_accumulated_roles String
u_active Bool
u_avatar String
u_building String
u_building_link String
u_calendar_integration Int
u_city String
u_company String
u_company_link String
u_cost_center String
u_cost_center_link String
u_country String
u_date_format String
u_default_perspective String
u_default_perspective_link String
u_department String
u_department_link String
u_edu_status String
u_email String
u_employee_number String
u_enable_multifactor_authn Bool
u_failed_attempts Int
u_first_name String
u_gender String
u_home_phone String
u_internal_integration_user Bool
u_introduction String
u_last_login Date
u_last_login_device String
u_last_login_time Datetime
u_last_name String
u_last_password String
u_ldap_server String
u_ldap_server_link String
u_location String
u_location_link String
u_locked_out Bool
u_manager String
u_manager_link String
u_middle_name String
u_mobile_phone String
u_name String
u_notification Int
u_password_needs_reset Bool
u_phone String
u_photo String
u_preferred_language String
u_roles String
u_schedule String
u_schedule_link String
u_source String
u_sso_source String
u_state String
u_street String
u_sys_class_name String
u_sys_created_by String
u_sys_created_on Datetime
u_sys_domain String
u_sys_domain_path String
u_sys_mod_count Int
u_sys_tags String
u_sys_updated_by String
u_sys_updated_on Datetime
u_time_format String
u_time_zone String
u_title String
u_u_user_name String
u_user_name String
u_user_password String
u_vip Bool
u_web_service_access_only Bool
u_zip String
ur_sys_id String
ur_assignable_by String
ur_assignable_by_link String
ur_can_delegate Bool
ur_description String
ur_elevated_privilege Bool
ur_grantable Bool
ur_includes_roles String
ur_name String
ur_requires_subscription String
ur_scoped_admin Bool
ur_suffix String
ur_sys_class_name String
ur_sys_created_by String
ur_sys_created_on Datetime
ur_sys_mod_count Int
ur_sys_name String
ur_sys_package String
ur_sys_package_link String
ur_sys_policy String
ur_sys_scope String
ur_sys_scope_link String
ur_sys_tags String
ur_sys_update_name String
ur_sys_updated_by String
ur_sys_updated_on Datetime
lr_application String
lr_application_link String
lr_sys_user_role String
lr_sys_user_role_link String
uhr_role String
uhr_role_link String
uhr_user String
uhr_user_link String

user_role_license_role

The ServiceNow view user_role_license_role.

Columns

Name Type References Description
lr_category Int
lr_name String
lr_overridden Bool
ur_sys_id String
ur_name String

u_jhb_database_view

The ServiceNow view u_jhb_database_view.

Columns

Name Type References Description
variableprefix_sys_id String
variableprefix_u_test_custom_field String

wf_activity_context

The ServiceNow view wf_activity_context.

Columns

Name Type References Description
wc_sys_id String
wc_active Bool
wc_activity_count Int
wc_activity_index Int
wc_after_business_rules Bool
wc_auto_start Bool
wc_column_renderer String
wc_column_renderer_link String
wc_cumulated_avg_ert Bool
wc_due Datetime
wc_ended Datetime
wc_ert_long_running_actions String
wc_ert_outlier_workflow_actions String
wc_id String
wc_name String
wc_parent String
wc_parent_activity String
wc_parent_activity_link String
wc_parent_link String
wc_requires_ert Bool
wc_result String
wc_return_value String
wc_running_duration Long
wc_schedule String
wc_schedule_link String
wc_scratchpad String
wc_stage String
wc_stage_link String
wc_stage_state String
wc_started Datetime
wc_started_by String
wc_started_by_link String
wc_state String
wc_sys_created_by String
wc_sys_created_on Datetime
wc_sys_domain String
wc_sys_domain_path String
wc_sys_mod_count Int
wc_sys_tags String
wc_sys_updated_by String
wc_sys_updated_on Datetime
wc_table String
wc_timezone String
wc_without_current_wf_actions String
wc_workflow String
wc_workflow_link String
wc_workflow_version String
wc_workflow_version_link String
wa_sys_id String
wa_activity_definition String
wa_activity_definition_link String
wa_activity_definition_updated Bool
wa_databus_lookup_id Int
wa_height Int
wa_input String
wa_is_parent Bool
wa_name String
wa_new_activity_definition String
wa_new_activity_definition_link String
wa_notes String
wa_out_of_date Bool
wa_parent String
wa_parent_link String
wa_pinned Bool
wa_pinned_version String
wa_pinned_version_link String
wa_stage String
wa_stage_link String
wa_sys_created_by String
wa_sys_created_o