Skip to main content

ServiceNow Relay

Supported versions: REST v1

The ServiceNow Relay connectoris based on the generic REST connector. See the REST section for the full description of tabs, fields, and configuration options. The connector only relays provisioning tasks to the external provisioning system.

Out of the box the ServiceNow Relay connector can create Requests and Request items (RITM). As the connector is using ServiceNow Table API, it is possible to also configure custom task mappings and objects other than request objects. When the job is relayed to ServiceNow, the connector queries and determines the job status based on the Request state, as well as the task status based on the Request item state. Thanks to that capability, it is possible to recognize which Requests are completed, failed, pending, and partially completed.

Supported objects and operations

The ServiceNow Relay connector allows you to create and relay request and request item objects to ServiceNow, and indirectly manage access rights.

ResourcePossible operations
RequestCreate, read
Request itemCreate, read

Minimum required permissions

You need to have access to ServiceNow REST API. Depending on the client's configuration, you may also need access to an existing ServiceNow account with the user_admin role to manually manage sent requests.

Implementation notes

For information on how to build a developer ServiceNow instance, refer to the ServiceNow documentation.

Network requirements

The collector requires the port to the ServiceNow API endpoint to be open. The default port number for HTTPS is 443.


Prerequisites

For the ServiceNow Relay Connector to work correctly, you need to configure ServiceNow portal to authorize Omada Identity user to log in using OAuth credentials. ServiceNow supports several ways of enabling OAuth authentication against their web services. Follow the steps below to setup OAuth Password Credential authentication in ServiceNow and enable Omada Identity to access ServiceNow API endpoint.

note

The default Token URL takes the following form: https://[instance name].service-now.com/oauth_token.do

  1. Log in as a system administrator to the ServiceNow administration portal and go to the Application Registry page.

application registry

  1. Create an OAuth API endpoint for external clients.

    1. Select the New button and select Create an OAuth API endpoint for external clients.
    2. Enter a unique name for the profile, e.g., OmadaClient. Click Submit.
    3. Open the created object and make a note of the Client ID and Client Secret (The Client Secret can be read by clicking the lock next to the field).

    OAuthAPI

  2. Create a third-party OAuth provider.

    1. From the list of Application Registries select the New button again and select Connect to a third-party OAuth Provider.
    2. Enter a unique name for the profile, e.g., OmadaProvider.
    3. Enter Client ID and Client secret values generated in the previous step.
    4. Set Grant type to Resource Owner Password Credentials.
    5. Specify the Token URL like this https://[instancename].service-now.com/oauth_token.do.

    OAuthProvider