Setup

Add ServiceNow Endpoint

  1. Login to vRA tenant
  2. Click on the Catalog tab
  3. Request the Add ServiceNow Endpoint vRA Catalog Item
  4. Fill out the form accordingly (see below) and Submit
Add ServiceNow Endpoint
Add ServiceNow Endpoint

FieldValue
Configuration label

No spaces, periods or special characters except underscore (_) and dash (-)

Unique label

DO NOT prepend with your tenant name and an underscore, e.g. mytenant_

Instance URL

URL to ServiceNow (start with http or https)

Version

Select the ServiceNow version

Proxy Server for ServiceNow Endpoint
Create Proxy Server?

Select whether to create a new Proxy Server or select from an existing list of Proxy Servers

Proxy Server

Shown if 'Create Proxy Server?' is checked

Select an existing proxy server

Configuration label

No spaces, periods or special characters except underscore (_) and dash (-)

Unique label

DO NOT prepend with your tenant name and an underscore, e.g. mytenant_

Proxy Type

Shown if Action is 'Create' or 'Update'

Select type of Proxy Server

Proxy Server Address

Shown if Action is 'Create' or 'Update'

Proxy server address

Proxy Port

Proxy Port

Credential Configuration for ServiceNow Endpoint
Create credential?

Check the checkbox to create a new credential.

Uncheck the checkbox to use an existing credential.

Credential

Shown when 'Create credential?' is not checked

Select the appropriate credential from an existing list of credentials

Credential Configuration label

Shown when 'Create credential?' is checked

No spaces, periods or special characters except underscore (_) and dash (-)

Unique label

DO NOT prepend with your tenant name and an underscore, e.g. mytenant_

Username

Shown when 'Create credential?' is checked

Username that has necessary permissions

Password

Shown when 'Create credential?' is checked

User's password


Add ServiceNow CMDB Configuration

  1. Login to vRA tenant
  2. Click on the Catalog tab
  3. Request the Add ServiceNow CMDB Configuration vRA Catalog Item
  4. Fill out the form accordingly (see below) and Submit
Add ServiceNow CMDB Configuration
Add ServiceNow CMDB Configuration

FieldValue
Configuration label

No spaces, periods or special characters except underscore (_) and dash (-)

Unique label

DO NOT prepend with your tenant name and an underscore, e.g. mytenant_

ServiceNow Endpoint

Select the desired ServiceNow Endpoint

Use Import Set?

Select whether or not to use Import Set

Table name

Select the table to add/remove records from

Import Set Name

Shown when 'Use Import Set?' is checked

Import set name in ServiceNow

Delete using Import Set?

Shown when 'Use Import Set?' is checked

If unchecked, the record will be deleted from the database tables directly. Otherwise, select to delete using the Import Set.

If checked, verify that the u_action field is configured on the Import Set and defined in the Transform script


if (source.u_action == 'delete') {
  var vms = new GlideRecord('cmdb_ci_vm_instance');
  vms.addQuery('correlation_id', source.u_sovlabs_id);
  vms.deleteMultiple();
}

JSON templated

Modify the JSON template accordingly

This field is templatable. Click the link below to view documentation on the SovLabs Template Engine

SovLabs Template Engine page