ServiceNow

Installation

6min

ServiceNow Integration allows you to:

  • Creating an incident in Rootly will create an incident in ServiceNow if you choose to.
  • Changing incident title, description, status in Rootly will update the incident in ServiceNow.
  • 

Installation

You can setup this integration as a logged in admin user in the integrations page:

Document image


Configuration

First login to your service now instance and let's create an OAuth application:

1. Click on System OAuth > Application Registry as shown below:

Document image




2. Click on New as shown below:

Document image




3. Click on Create an OAuth API endpoint for external clients as shown below:

Document image




4. Fill out and as shown below:

Name: Rootly

Redirect Url: https://rootly.com/auth/service_now/callback

Document image




5. Copy your instance url and client Id and client secret generated:

Document image




You are all set !

Webhooks

  1. In your ServiceNow instance, go to System Definition > Business Rules.
  2. Select New.
  3. Give your new Business Rule a descriptive name, choose what table you want it to trigger on, and check the Advanced box.
  4. Next, choose After for when you want it to run. You may also choose to add filter conditions, but we want it to trigger for all incident tickets in this example. Also, for this example, we want to select Insert because we want it to trigger when a new incident ticket is created.
  5. Navigate to the Advanced tab. In the Script editor, add the following code. Make sure to replace <insert webhook public URL> with whatever the webhook target is. The target URL may be a web server that will parse and use the data or another service that accepts incoming webhooks.
  6. Lastly, replace the <secret> field with the sercret key of your webhook API.
JS


Uninstall

You can uninstall this integration in the integrations panel by clicking Configure > Delete

Support

If you need help or more information about this integration, please contact [email protected] or use the lower right chat widget to get connected with an engineer.