Review the
ServiceNow Connector actions to see which IT Service Management (ITSM) and IT Operations Management (ITOM) tasks you can automate in a workflow.
Depending on your ServiceNow setup, you can create, comment on, search, and resolve incidents, or send events to ServiceNow Event Management, and each action uses a connection to your ServiceNow instance.
This page describes the available actions and their inputs. To add an action to a workflow, see Add ServiceNow Connector actions.
Your Dynatrace environment can integrate with a ServiceNow IT Service Management (ITSM) instance using the
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.
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 |
|---|---|---|
Add a new comment to a ServiceNow incident record. |
| |
Creates a vulnerability item in your ServiceNow instance. |
| |
Create a comment on an entry in your ServiceNow instance. |
| |
Creates an incident in your ServiceNow instance. An incident represents a problem or an issue that needs to be addressed and resolved. |
| |
Create a new record in a specified ServiceNow table. |
| |
Get groups from your ServiceNow instance. |
| |
Update a ServiceNow incident to mark it as resolved. |
| |
Generic search action that allows searching your ServiceNow instance. |
| |
Query ServiceNow to retrieve a list of incidents matching specified criteria. |
| |
Update an existing record in a specified ServiceNow table. |
|
For more details, see the official ServiceNow documentation.
Add a new comment to a ServiceNow incident record. Identify the incident by its number.
| Field | Description | Required |
|---|---|---|
Incident Number | The number of the incident to comment on. | Required |
Comment | The comment to create. | Required |
Create a vulnerability item in your ServiceNow instance.
| Field | Description | Required |
|---|---|---|
External ID | ID which is associated with the vulnerable item. | Optional |
Description | A detailed description of the vulnerability item. | Optional |
Short description | A brief description of the vulnerability item. | Optional |
Risk score | The risk score of the vulnerability item. | Optional |
Risk rating | The risk rating of the vulnerability item. | Optional |
Source | The source which detected the vulnerable item. | Optional |
Source risk score | The risk score in the source system of the vulnerability item. | Optional |
Configuration item | The affected entity. | Optional |
First found | The date of the detection. | Optional |
Priority | The priority of the vulnerability item. | Optional |
Create a comment on an entry in your ServiceNow instance. Identify the entry by its table and sys_id.
| Field | Description | Required |
|---|---|---|
Table | The table name of the entry to comment on. | Required |
Unique record identifier ( | The | Required |
Comment | The comment to create. | Required |
Raise a ServiceNow incident in a workflow.
| Field | Description | Required |
|---|---|---|
Correlation ID | Unique identifier, usually the Dynatrace event ID. | Optional |
Caller | The user who reports the incident. | Optional |
Category | The category of the incident. Category options are derived by querying the | Required |
Subcategory | The subcategory of the incident. Subcategory options are derived by querying the | Required |
Impact | The impact of the incident. | Required |
Urgency | The urgency of the incident. | Required |
Assignment Group | The group that works on the incident. Assignment group options are derived by querying the | Required |
Configuration item | The affected entity. | Optional |
Short description | A brief description of the incident. | Optional |
Description | A detailed description of the incident. | Optional |
Create a new record in a specified ServiceNow table.
| Field | Description | Required |
|---|---|---|
Table | The name of the table in which to create a record. | Required |
Payload Fields | Key-value pairs of table field names and their values. | Optional |
Get groups from your ServiceNow instance. You can import them as Ownership teams.
| Field | Description | Required |
|---|---|---|
SysParm Query | An encoded query used to filter the result set. | Optional |
Limit | Maximum number of results to return. The default setting is | Optional |
Update a ServiceNow incident to mark it as resolved. Provide resolution notes and a resolution code.
| Field | Description | Required |
|---|---|---|
Incident Number | The number of the incident to resolve. | Required |
Resolution Notes | Add notes for the resolution of the incident. | Required |
Resolution Code | The close code for the resolution. | Required |
Search your ServiceNow instance. Select the table to search in, and optionally filter, limit, and sort the results.
| Field | Description | Required |
|---|---|---|
Table | Select the table in which to search. | Required |
SysParm Query | An encoded query used to filter the result set. | Optional |
SysParm Fields | Comma-separated list of fields that limit the result. | Optional |
Query category | Category to filter search results. | Optional |
Limit | Maximum number of results to return. The default setting is | Optional |
Offset | Records to skip. The default setting is | Optional |
Order by asc | Field name to sort results in ascending order. | Optional |
Order by desc | Field name to sort results in descending order. | Optional |
Query ServiceNow to retrieve a list of incidents that match the criteria you specify.
| Field | Description | Required |
|---|---|---|
SysParm Query | An encoded query used to filter the result set. | Optional |
SysParm Fields | Comma-separated list of fields that limit the result. | Optional |
Limit | Maximum number of results to return. The default setting is | Optional |
Update an existing record in a specified ServiceNow table.
| Field | Description | Required |
|---|---|---|
Table | The name of the table in which to update a record. | Required |
Unique record identifier ( | The | Required |
Payload Fields | Key-value pairs of table field names and their values. | Optional |
Send events from your monitoring data to ServiceNow Event Management, which correlates them into alerts based on your ServiceNow configuration.
Your Dynatrace environment can integrate with a ServiceNow IT Operations Management (ITOM) instance using the
ServiceNow Connector.
| Action | Description | ServiceNow API endpoint |
|---|---|---|
Send an event to ServiceNow Event Management using the ITOM inbound web service. Requires an ITOM events connection. |
|
The Send ITOM Event action sends a single event to ServiceNow Event Management using the ITOM inbound web service. ServiceNow uses the Message Key to deduplicate incoming events and correlate them into the same alert. The action requires an ITOM events connection.
| Field | Description | Required |
|---|---|---|
Node | The hostname of the affected Configuration Item (CI) in ServiceNow's CMDB. | Optional |
Type | The event type, for example, | Required |
Resource | The specific resource on the node that generated the event, for example, | Optional |
Message Key | Unique identifier for the event. ServiceNow uses this to deduplicate incoming events and correlate them into the same alert. | Required |
Severity | ServiceNow event severity numbers | Required |
Resolution State | Indicates to ServiceNow whether to open ( | Required |
Time Of Event | Event timestamp (UTC) in GlideDateTime format | Required |
Metric Name | A label for the affected metric or indicator. | Required |
Description | Human-readable description of the event. | Optional |
Additional Info | A JSON object with key-value pairs appended to the event payload.
| Optional |
ServiceNow Event Management binds each ITOM alert to the Configuration Item (CI) in the Configuration Management Database (CMDB) that represents the affected Dynatrace entity.
How it finds that CI depends on whether you set a Connection_sys_id when you set up the push connector.
Connection_sys_id, the push connector uses this key to bind each incoming alert directly to the matching CI.
Alerts then carry service context from the CMDB topology, participate in service impact analysis, and can be automatically routed to the CI's support group.