ServiceNow Connector
Documentation
Version: 1
Documentation

Write data in ServiceNow using ServiceNow Connector in SSIS


In this section we will learn how to configure and use ServiceNow Connector in the API Destination to write data in the ServiceNow.

Video Tutorial - Write or lookup data to ServiceNow using SSIS

This video covers following and more so watch carefully. After watching this video follow the steps described in this article.

  • How to download SSIS PowerPack for ServiceNow integration in SSIS
  • How to configure connection for ServiceNow
  • How to Write or lookup data to ServiceNow
  • Features about SSIS API Destination
  • Using ServiceNow Connector in SSIS




How to write or lookup data to ServiceNow in SSIS (Import data)


In upper section we learned how to read data, now in this section we will learn how to configure ServiceNow in the API Source to Post data to the ServiceNow.

  1. Read the data from the source, being any desired source component. In example we will use ZappySys Dummy Data Source component.

  2. From the SSIS Toolbox drag and drop API Destination (Predefined Templates) on the Data Flow Designer surface and connect source component with it, and double click to edit it.
    SSIS API Destination (Predefined Templates) - Drag and Drop

  3. Select New Connection to create a new connection:

    API Destination - ServiceNow
    Allows the reading and writing of incidents, attachments, and more in ServiceNow without coding! The ZappySys ServiceNow API Connector provides easy-to-use, high-performance API access.
    API Destination - New Connection

  4. Use a preinstalled ServiceNow Connector from Popular Connector List or press Search Online radio button to download ServiceNow Connector. Once downloaded simply use it in the configuration:

    ServiceNow
    ServiceNow Connector Selection

  5. Proceed with selecting the desired Authentication Type. Then select API Base URL (in most cases default one is the right one). Finally, fill in all the required parameters and set optional parameters if needed. You may press a link Steps to Configure which will help set certain parameters. More info is available in Authentication section.

    Authenticate using ServiceNow instance username and password

    Steps to get ServiceNow Credentials

    To get your Instance name, Username and Password:

    1. Log in into your ServiceNow and go to https://developer.servicenow.com/dev.do.
    2. Click on your profile icon.
    3. Select your instance.
    4. Click on "Manage instance password" or similar link.
    5. In the opened page you should see Instance name, Username and Password.
    ServiceNow
    Basic Auth [Http]
    https://[$InstanceName$].service-now.com/api/now
    Required Parameters
    InstanceName Fill in the parameter...
    User name Fill in the parameter...
    Password Fill in the parameter...
    ApiVersion Fill in the parameter...
    Optional Parameters
    RetryMode Fill in the parameter...
    RetryStatusCodeList Fill in the parameter...
    RetryCountMax Fill in the parameter...
    RetryMultiplyWaitTime Fill in the parameter...
    ZappySys Http Connection

    Authenticate using ServiceNow instance username, password and clientid, clientsecret [API Help..]

    Steps to get ServiceNow Credentials

    To get your OAuth client ID / ClientSecret perform the below steps:

    1. Login to your instance https://{your-instance-id}.service-now.com/.
    2. Click on All > System OAuth > Application Registry (or just search for "Application Registry" under All menu)
    3. You can also Navigate to "Application Registry" using this link (Replace your instance-id in link) https://{your-instance-id}.service-now.com/now/nav/ui/classic/params/target/oauth_entity_list.do.
    4. Click on "New" button (see top-right corner for most user) and select "Create an OAuth API endpoint for external clients".
    5. Fill out the form according to your requirement and click "Submit". If you are unsure then populating the "Name" field will suffice. Please note down the "Client ID" and "Client Secret" as they will be used later.
    6. Go back to Connection UI and enter your UserName, Password and ClientID, Secret.
    7. To create new User you can go to All > Organization > Users
    8. Click Test Connection.
    ServiceNow
    OAuth [OAuth]
    https://[$InstanceName$].service-now.com/api/now
    Required Parameters
    InstanceName Fill in the parameter...
    User name Fill in the parameter...
    Password Fill in the parameter...
    Client ID Fill in the parameter...
    Client Secret Fill in the parameter...
    ApiVersion Fill in the parameter...
    Optional Parameters
    RetryMode Fill in the parameter...
    RetryStatusCodeList Fill in the parameter...
    RetryCountMax Fill in the parameter...
    RetryMultiplyWaitTime Fill in the parameter...
    ZappySys OAuth Connection

  6. Select the desired endpoint, change/pass the properties values, and go to the Mappings tab to map the columns.

    API Destination - ServiceNow
    Allows the reading and writing of incidents, attachments, and more in ServiceNow without coding! The ZappySys ServiceNow API Connector provides easy-to-use, high-performance API access.
    API Destination - Select Endpoint

  7. Finally, map the desired columns:

    API Destination - ServiceNow
    Allows the reading and writing of incidents, attachments, and more in ServiceNow without coding! The ZappySys ServiceNow API Connector provides easy-to-use, high-performance API access.
    API Destination - Columns Mapping

  8. That's it; we successfully configured the POST API Call. In a few clicks we configured the ServiceNow API call using ZappySys ServiceNow Connector

    Execute Package - Reading data from API Source and load into target