ServiceNow Connection¶
Introduction¶
A ServiceNow connection, created using the ServiceNow connector, establishes access to ServiceNow. Once a connection is configured, you can create instances of ServiceNow activities associated with that connection to be used either as sources (to provide data in an operation) or as targets (to consume data in an operation).
Note
Before configuring a ServiceNow connection, review the ServiceNow prerequisites to ensure that the ServiceNow instance has been configured correctly.
Note
This connector supports the Enable Re-authentication on Change organization policy. If enabled, a change to the Client ID, Username, or Instance in this connection requires users to re-enter the Client Secret and Password for the connection.
Create or Edit a ServiceNow Connection¶
A new ServiceNow connection is created using the ServiceNow connector from one of these locations:
- The design component palette's Connections tab (see Design Component Palette).
- The Global Connections page (see Create a Global Connection in Global Connections).
An existing ServiceNow connection can be edited from these locations:
- The design component palette's Connections tab (see Design Component Palette).
- The project pane's Components tab (see Component Actions Menu in Project Pane Components Tab).
- The Global Connections page (see Edit a Global Connection in Global Connections).
Configure a ServiceNow Connection¶
Each user interface element of the ServiceNow connection configuration screen is described below.
Tip
Fields with a variable icon support using global variables, project variables, and Jitterbit variables. Begin either by typing an open square bracket
[
into the field or by clicking the variable icon to display a list of the existing variables to choose from.
-
Connection Name: Enter a name to use to identify the connection. The name must be unique for each ServiceNow connection and must not contain forward slashes
/
or colons:
. This name is also used to identify the ServiceNow endpoint, which refers to both a specific connection and its activities. -
Client ID: Enter the client ID for the ServiceNow instance. See ServiceNow Prerequisites for details.
-
Client Secret: Enter the client secret for the ServiceNow instance. See ServiceNow Prerequisites for details.
-
Username: Enter the username for the ServiceNow instance. See ServiceNow Prerequisites for details.
-
Password: Enter the password for the ServiceNow instance. See ServiceNow Prerequisites for details.
-
Instance: Enter the URL of the ServiceNow instance, such as
https://example.service-now.com/
. -
Advanced Configurations: Click to expand and enter additional advanced configuration settings. This option and its settings are only effective if the project is running on a Private Agent. Settings are entered as name-value pairs. See the Connection String Options of the ServiceNow connection documentation, which is provided at a dedicated website, for details on the available advanced configuration settings.
-
Test: Click to verify the connection using the provided configuration.
-
Save Changes: Click to save and close the connection configuration.
-
Discard Changes: After making changes to a new or existing configuration, click to close the configuration without saving. A message asks you to confirm that you want to discard changes.
-
Delete: After opening an existing connection configuration, click to permanently delete the connection from the project and close the configuration (see Component Dependencies, Deletion, and Removal). A message asks you to confirm that you want to delete the connection.
Next Steps¶
After a ServiceNow connection has been created, you place an activity type on the design canvas to create activity instances to be used either as sources (to provide data in an operation) or as targets (to consume data in an operation).
Menu actions for a connection and its activity types are accessible from the project pane and design component palette. For details, see Actions Menus in Connector Basics.
These activity types are available:
-
Query: Retrieves records from ServiceNow and is intended to be used as a source in an operation.
-
Create: Creates new records at ServiceNow and is intended to be used as a target in an operation.
-
Update: Updates existing records at ServiceNow and is intended to be used as a target in an operation.
-
Delete: Deletes existing records from ServiceNow and is intended to be used as a target in an operation.