Preview
Your Dynatrace environment can integrate with a ServiceNow environment using ServiceNow Connector , enabling you to create incidents based on your monitoring data and events automatically. Furthermore, you can retrieve groups from ServiceNow and import them as Ownership teams.
To use ServiceNow workflow actions, you first need to install ServiceNow for Workflows from Dynatrace Hub.
In Dynatrace Hub , select ServiceNow.
Select Install.
Follow the procedures below to configure your ServiceNow integration.
Some permissions are required by Workflows to run actions on your behalf. Other permissions are required by actions that come bundled with ServiceNow Connector itself.
To fine-tune permissions granted to Workflows
app-settings:objects:read
For more on general Workflows user permissions, see User permissions for workflows.
Sign in to your ServiceNow instance and create basic authentication credentials with the following permissions. You will need these credentials in the next step.
ServiceNow user permissions:
You need a configured connection for each of your ServiceNow environments.
To configure a connection
The following workflow actions are available for the ServiceNow integration. Each action corresponds to an endpoint of the ServiceNow API.
Action
Description
ServiceNow API endpoint
Create Incident
Creates an incident in your ServiceNow environment. An incident represents a problem or an issue that needs to be addressed and resolved.
POST /api/now/v2/table/incident
Create a vulnerability item
Creates a vulnerability item in your ServiceNow environment.
POST /api/now/v2/table/sn_vul_vulnerable_item
Get Groups
Get groups from your ServiceNow environment.
GET /api/now/v2/table/sys_user_group
Comment
Create a comment on an entry in your ServiceNow environment
PUT /api/now/v2/table/${tableName}/${sysId}
Search
Generic search action that allows searching your ServiceNow environment
GET /api/now/v2/table/${tableName}
To raise a ServiceNow incident in your workflow
In the Choose action pane, search for ServiceNow and select Create Incident.
In the Create Incident action, select the Connection to your ServiceNow environment.
Configure the input fields as needed.
sys_choice
table with sysparm_query: 'name=incident^element=category^inactive=false'
.sys_choice
table with sysparm_query: 'name=incident^element=subcategory^inactive=false^dependent_value=${category}'
.sys_user_group
table with sysparm_display_value: 'all'
.For more details, see the official ServiceNow documentation.
To create a ServiceNow vulnerability item in your workflow
In the Choose action pane, search for ServiceNow and select Create a vulnerability item.
In the Create a vulnerability item action, select the Connection to your ServiceNow environment.
Configure the input fields as needed.
For more details, see the official ServiceNow documentation.
To fetch groups from ServiceNow in your workflow
In the Choose action pane, search for ServiceNow and select Get Groups.
In the Get Group action, select the Connection to your ServiceNow environment.
Configure the input fields as needed.
For more details, see the official ServiceNow documentation.
To create a comment on an entry in a ServiceNow table in your workflow
In the Choose action pane, search for ServiceNow and select Create Comment.
In the Create Comment action, select the Connection to your ServiceNow environment.
Configure the input fields as needed.
For more details, see the official ServiceNow documentation.
To search ServiceNow in your workflow
In the Choose action pane, search for ServiceNow and select Search.
In the Search action, select the Connection to your ServiceNow environment.
Configure the input fields as needed.
For more details, see the official ServiceNow documentation.
The following is a solution to a problem some people have.