# replace characters in {ProblemDetailsText} for custom intergration in problem notification

**URL:** <https://community.dynatrace.com/t/replace-characters-in-problemdetailstext-for-custom-intergration-in-problem-notification/33495>\
**Category:** Automations\
**Tags:** problem-notification\
**Created:** [December 8, 2021, 3:09pm UTC](https://community.dynatrace.com/t/replace-characters-in-problemdetailstext-for-custom-intergration-in-problem-notification/33495 "2021-12-08T15:09:02Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![EmreA](https://avatars.discourse-cdn.com/v4/letter/e/eada6e/32.png) [@EmreA](https://community.dynatrace.com/u/EmreA)\
**Post date:** [December 8, 2021, 3:09pm UTC](https://community.dynatrace.com/t/replace-characters-in-problemdetailstext-for-custom-intergration-in-problem-notification/33495/1 "2021-12-08T15:09:02Z")

</div>

Hi,

We have a custom problem notification integration. When we send the payload as:

\<xml\>

\<ProblemDetailsText\>{ProblemDetailsText}\</ProblemDetailsText\>

\</xml\>

it is displayed as :

OPEN Problem P-211214211 in environment Production\nProblem detected at: 18:03 (TRT) 08.12.2021\n\n1 impacted service\n\nWeb request service\nSecure Span Gateway\n\nResponse time degradation\n23.4 requests\/min impacted\nThe current response time (7.57 s) within the slowest 10% exceeds the auto-detected baseline (61.2 ms) by 12,256 %\nService method: \/MyGroup\/grouprequestdetail\/create\/v1\n\nhttps:\/\/dtmonitor\/e\/4d4a1b99-123b-457f-ac83-57a07754aaeb\/#problems\/problemdetails;pid=-2425595876421843175\_1638975480000V2

Is it possible to replace “\n” s?

Regards

---

_[View the full topic](https://community.dynatrace.com/t/replace-characters-in-problemdetailstext-for-custom-intergration-in-problem-notification/33495)._
