# Resolve a problem in Dynatrace when the incident is closed in ServiceNow

**URL:** <https://community.dynatrace.com/t/resolve-a-problem-in-dynatrace-when-the-incident-is-closed-in-servicenow/23017>\
**Category:** Automations\
**Tags:** servicenow\
**Created:** [February 11, 2020, 9:10am UTC](https://community.dynatrace.com/t/resolve-a-problem-in-dynatrace-when-the-incident-is-closed-in-servicenow/23017 "2020-02-11T09:10:07Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![sonia\_urbaneja\_1](https://avatars.discourse-cdn.com/v4/letter/s/85f322/32.png) [@sonia\_urbaneja\_1](https://community.dynatrace.com/u/sonia_urbaneja_1)\
**Post date:** [February 11, 2020, 9:10am UTC](https://community.dynatrace.com/t/resolve-a-problem-in-dynatrace-when-the-incident-is-closed-in-servicenow/23017/1 "2020-02-11T09:10:07Z")

</div>

Hello everyone,

we want to integrate Dynatrace with ServiceNow in otrder to create incidents in ServiceNow from problems generated in Dynatrace.

We would like to resolve the problem when the incident is closed and I think this feature is not included in Dynatrace-ServiceNow integration, so to achieve this objective would we use WSDL to call Dynatrace from ServiceNow and change the problem status?

Thank you in advanced for your help!

BR,  
Sonia

---

<div class="post-metadata">

**Author:** ![Julius\_Loman](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/julius_loman/32/51_2.png) [@Julius\_Loman](https://community.dynatrace.com/u/Julius_Loman)\
**Post date:** [February 11, 2020, 9:16am UTC](https://community.dynatrace.com/t/resolve-a-problem-in-dynatrace-when-the-incident-is-closed-in-servicenow/23017/2 "2020-02-11T09:16:33Z")

</div>

If you want your integration between ServiceNow and Dynatrace to behave this way, then you can use the Environment API for problems. You can then call Problems API - POST close operation to close an existing Problem in Dynatrace and add a comment to it.

Here is more information about the particular call and detailed description:

> **[Problems API - POST close](https://docs.dynatrace.com/docs/dynatrace-api/environment-api/problems/problems/post-close)**
>
> Close a problem and add a closing comment via Problems v1 API.

---

<div class="post-metadata">

**Author:** ![wolfgang\_beer](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/wolfgang_beer/32/14717_2.png) [@wolfgang\_beer](https://community.dynatrace.com/u/wolfgang_beer)\
**Post date:** [February 11, 2020, 9:37am UTC](https://community.dynatrace.com/t/resolve-a-problem-in-dynatrace-when-the-incident-is-closed-in-servicenow/23017/3 "2020-02-11T09:37:19Z")

</div>

Dynatrace integration with ServiceNow automatically resolves incidents once the problem is closed on the Dynatrace side.

---

<div class="post-metadata">

**Author:** ![sonia\_urbaneja\_1](https://avatars.discourse-cdn.com/v4/letter/s/85f322/32.png) [@sonia\_urbaneja\_1](https://community.dynatrace.com/u/sonia_urbaneja_1)\
**Post date:** [February 11, 2020, 10:02am UTC](https://community.dynatrace.com/t/resolve-a-problem-in-dynatrace-when-the-incident-is-closed-in-servicenow/23017/4 "2020-02-11T10:02:44Z")

</div>

Thank you very much for this information.

BR,  
Sonia

---

<div class="post-metadata">

**Author:** ![sonia\_urbaneja\_1](https://avatars.discourse-cdn.com/v4/letter/s/85f322/32.png) [@sonia\_urbaneja\_1](https://community.dynatrace.com/u/sonia_urbaneja_1)\
**Post date:** [February 11, 2020, 11:57am UTC](https://community.dynatrace.com/t/resolve-a-problem-in-dynatrace-when-the-incident-is-closed-in-servicenow/23017/5 "2020-02-11T11:57:49Z")

</div>

One more question

about this case.  
To synchornize data from problems un DT and incidents in SN, a transform map is used.

What element is used to update from SN to DT?

BR,  
sonia

---

<div class="post-metadata">

**Author:** ![Mike\_L](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/mike_l/32/11717_2.png) [@Mike\_L](https://community.dynatrace.com/u/Mike_L)\
**Post date:** [February 11, 2020, 2:16pm UTC](https://community.dynatrace.com/t/resolve-a-problem-in-dynatrace-when-the-incident-is-closed-in-servicenow/23017/6 "2020-02-11T14:16:55Z")

</div>

Based on the question I believe that this is the answer you’re looking for Sonia, as Wolfgangs answer is the other direction. You can customize the integration to do this, or reach out to the Dynatrace services team to do it for you.

Mike

---

<div class="post-metadata">

**Author:** ![Prathyusha](https://avatars.discourse-cdn.com/v4/letter/p/5e9695/32.png) [@Prathyusha](https://community.dynatrace.com/u/Prathyusha)\
**Post date:** [April 21, 2021, 9:13am UTC](https://community.dynatrace.com/t/resolve-a-problem-in-dynatrace-when-the-incident-is-closed-in-servicenow/23017/7 "2021-04-21T09:13:53Z")

</div>

Hello,

Can someone help me with the documentation which shows the configurations to be made in order to have the problems on Dynatrace resolved when the incident is closed in ServiceNow. Thank you.

Regards,

Prathyusha

---

<div class="post-metadata">

**Author:** ![Mike\_L](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/mike_l/32/11717_2.png) [@Mike\_L](https://community.dynatrace.com/u/Mike_L)\
**Post date:** [April 21, 2021, 9:33am UTC](https://community.dynatrace.com/t/resolve-a-problem-in-dynatrace-when-the-incident-is-closed-in-servicenow/23017/8 "2021-04-21T09:33:34Z")

</div>

Hi, there is no documentation for that. You’d have to add code on the ServiceNow side which listens to the closing of issues and then call the API that Julius linked to close the problem in Dynatrace.

---

<div class="post-metadata">

**Author:** ![Prathyusha](https://avatars.discourse-cdn.com/v4/letter/p/5e9695/32.png) [@Prathyusha](https://community.dynatrace.com/u/Prathyusha)\
**Post date:** [April 23, 2021, 10:23am UTC](https://community.dynatrace.com/t/resolve-a-problem-in-dynatrace-when-the-incident-is-closed-in-servicenow/23017/9 "2021-04-23T10:23:31Z")

</div>

Thank you Mike. Will try this.
