# Variable for Root cause in notification

**URL:** <https://community.dynatrace.com/t/variable-for-root-cause-in-notification/41152>\
**Category:** Alerting\
**Tags:** problem-notification, problems-classic\
**Created:** [August 10, 2023, 12:31pm UTC](https://community.dynatrace.com/t/variable-for-root-cause-in-notification/41152 "2023-08-10T12:31:08Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![vonsolo29](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/vonsolo29/32/28354_2.png) [@vonsolo29](https://community.dynatrace.com/u/vonsolo29)\
**Post date:** [August 10, 2023, 12:31pm UTC](https://community.dynatrace.com/t/variable-for-root-cause-in-notification/41152/1 "2023-08-10T12:31:08Z")

</div>

Is there a variable specifically for Root Cause in that we can use in the problem notification? We have found that it is a part of the&nbsp;{ProblemDetailsText} but that also has other information about the problem. We are looking for just the root cause to use in our Event Management System.

---

<div class="post-metadata">

**Author:** ![AntonPineiro](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/antonpineiro/32/49_2.png) [@AntonPineiro](https://community.dynatrace.com/u/AntonPineiro)\
**Post date:** [August 10, 2023, 1:54pm UTC](https://community.dynatrace.com/t/variable-for-root-cause-in-notification/41152/2 "2023-08-10T13:54:39Z")

</div>

Hi,

I am not aware of that. I think no variable with that piece of information isolated.

Best regards

---

<div class="post-metadata">

**Author:** ![Islam\_Zedan](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/islam_zedan/32/31999_2.png) [@Islam\_Zedan](https://community.dynatrace.com/u/Islam_Zedan)\
**Post date:** [August 10, 2023, 8:26pm UTC](https://community.dynatrace.com/t/variable-for-root-cause-in-notification/41152/3 "2023-08-10T20:26:05Z")

</div>

Hello,

You can better use “ProblemDetailsJSONv2”, it has a specific parameter called “evidenceDetails” which is the actual root cause.

Thanks,

Islam

---

<div class="post-metadata">

**Author:** ![cesarsaravia](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/cesarsaravia/32/12818_2.png) [@cesarsaravia](https://community.dynatrace.com/u/cesarsaravia)\
**Post date:** [August 11, 2023, 1:24pm UTC](https://community.dynatrace.com/t/variable-for-root-cause-in-notification/41152/4 "2023-08-11T13:24:02Z")

</div>

Hi,  
You can use the&nbsp;[Problems API v2 - GET problems details](https://www.dynatrace.com/support/help/shortlink/api-problems-v2-get-details) and use the&nbsp;evidenceDetails property for the entities identified as the root cause.

 ![cesarsaravia_0-1691760181926.png](https://global.discourse-cdn.com/dynatrace/original/3X/9/e/9e6c07d007e9ddcc3ff9ce329767e751975ac7b1.png)

BR,  
Cesar S.

---

<div class="post-metadata">

**Author:** ![vonsolo29](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/vonsolo29/32/28354_2.png) [@vonsolo29](https://community.dynatrace.com/u/vonsolo29)\
**Post date:** [August 11, 2023, 2:47pm UTC](https://community.dynatrace.com/t/variable-for-root-cause-in-notification/41152/5 "2023-08-11T14:47:41Z")

</div>

Thank you for this, this is good. Is it possible to use this in the problem notification webhook?

---

<div class="post-metadata">

**Author:** ![cesarsaravia](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/cesarsaravia/32/12818_2.png) [@cesarsaravia](https://community.dynatrace.com/u/cesarsaravia)\
**Post date:** [August 15, 2023, 2:02pm UTC](https://community.dynatrace.com/t/variable-for-root-cause-in-notification/41152/6 "2023-08-15T14:02:45Z")

</div>

Yes!  
You can use the&nbsp; **ProblemDetailsJSONv2** as a placeholder in the problem notification webhook, then you can use these properties/objects like&nbsp;[**evidenceDetailes** , **impactAnalysis** , and **recentComments**](https://www.dynatrace.com/support/help/shortlink/api-problems-v2-get-details#response-body-objects).
