<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Event Trigger on Problem Closure in Alerting</title>
    <link>https://community.dynatrace.com/t5/Alerting/Event-Trigger-on-Problem-Closure/m-p/301680#M6403</link>
    <description>&lt;P&gt;If there are cases where users close problems manually and you want to exclude those from your workflow—so that it only processes problems closed by Davis—you could add the dt.davis.mute.status field to your filter.&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;event.status_transition == "CLOSED" AND&amp;nbsp;&lt;/SPAN&gt;dt.davis.mute.status == "NOT_MUTED"&lt;/P&gt;</description>
    <pubDate>Wed, 08 Jul 2026 07:21:54 GMT</pubDate>
    <dc:creator>dylan_taelemans</dc:creator>
    <dc:date>2026-07-08T07:21:54Z</dc:date>
    <item>
      <title>Event Trigger on Problem Closure</title>
      <link>https://community.dynatrace.com/t5/Alerting/Event-Trigger-on-Problem-Closure/m-p/290443#M6098</link>
      <description>&lt;P&gt;Does anyone know what parameters I need to define in the DAVIS EVENT TRIGGER in the workflow that is trigger the workflow when a DAVIS AI closes a problem.&lt;/P&gt;
&lt;P&gt;I appreciate any support on this.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Dec 2025 07:25:09 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Alerting/Event-Trigger-on-Problem-Closure/m-p/290443#M6098</guid>
      <dc:creator>MarwanC</dc:creator>
      <dc:date>2025-12-18T07:25:09Z</dc:date>
    </item>
    <item>
      <title>Re: Event Trigger on Problem Closure</title>
      <link>https://community.dynatrace.com/t5/Alerting/Event-Trigger-on-Problem-Closure/m-p/290481#M6099</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/64346"&gt;@MarwanC&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Maybe I do not understand your request well.&lt;/P&gt;&lt;P&gt;In case on Davis Problem trigger there are two options active and active or closed:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Mizs_4-1764323044789.png" style="width: 692px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/31048i657C89CBD2D73CA6/image-dimensions/692x728?v=v2" width="692" height="728" role="button" title="Mizs_4-1764323044789.png" alt="Mizs_4-1764323044789.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;In case of Davis event trigger you can use this DQL:&lt;/P&gt;&lt;P&gt;fetch events&lt;BR /&gt;| filter matchesValue(event.status, "CLOSED")&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Mizs_3-1764323007369.png" style="width: 665px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/31047i3D7ABA370FBE3505/image-dimensions/665x364?v=v2" width="665" height="364" role="button" title="Mizs_3-1764323007369.png" alt="Mizs_3-1764323007369.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I hope it helps.&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;János&lt;/P&gt;</description>
      <pubDate>Fri, 28 Nov 2025 09:45:40 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Alerting/Event-Trigger-on-Problem-Closure/m-p/290481#M6099</guid>
      <dc:creator>Mizső</dc:creator>
      <dc:date>2025-11-28T09:45:40Z</dc:date>
    </item>
    <item>
      <title>Re: Event Trigger on Problem Closure</title>
      <link>https://community.dynatrace.com/t5/Alerting/Event-Trigger-on-Problem-Closure/m-p/291696#M6100</link>
      <description>&lt;P&gt;Thanks indeed. In order to summarise this to other as well, there different places where you can focus the type of the trigger event when it comes to your workflow&lt;/P&gt;&lt;P&gt;1) In the trigger box, there is a pulldown menu which you choose, active or active or closed, this will give you the otion, it will be nice to have a feature to have the closed aswell.&lt;/P&gt;&lt;P&gt;2) You can also implement a gate box to allow what you need ACTIVE or CLOSE like this:&lt;/P&gt;&lt;P&gt;import { execution } from '@dynatrace-sdk/automation-utils';&lt;BR /&gt;import { settingsObjectsClient } from '@dynatrace-sdk/client-classic-environment-v2';&lt;BR /&gt;import { result } from '@dynatrace-sdk/automation-utils';&lt;/P&gt;&lt;P&gt;export default async function ({ execution_id }) {&lt;BR /&gt;const exe = await execution(execution_id);&lt;BR /&gt;const eventContext = exe.event(); // Access the event payload&lt;/P&gt;&lt;P&gt;const problemId = eventContext['event.id']; // Extract the problem ID&lt;BR /&gt;const displayId = eventContext['display_id']; // Extract the problem Display ID&lt;BR /&gt;const eventStatus = eventContext['event.status'];&lt;/P&gt;&lt;P&gt;console.log('Problem ID (Used in the API):', problemId);&lt;BR /&gt;console.log('Problem Display ID (Used in the Problems APP):', displayId);&lt;BR /&gt;console.log('Problem Event Status:', eventStatus);&lt;BR /&gt;console.log('Payload:', eventContext);&lt;/P&gt;&lt;P&gt;// &lt;span class="lia-unicode-emoji" title=":white_heavy_check_mark:"&gt;✅&lt;/span&gt; Check if eventStatus is not CLOSED&lt;BR /&gt;&lt;BR /&gt;if (eventStatus == 'ACTIVE') {&lt;BR /&gt;console.log("eventStatus=", eventStatus);&lt;BR /&gt;return 0;&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;return {&lt;BR /&gt;problemId,&lt;BR /&gt;displayId,&lt;BR /&gt;eventStatus&lt;BR /&gt;};&lt;BR /&gt;&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;and in the next task you stop the workflow by a matcher in the condition section of the task:&amp;nbsp;{{ result("gate") != 0 }}&lt;/P&gt;&lt;P&gt;So overall you can control the workflow by filter at the top or using gates.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;One important thing as well to mention is very important to add a wait task at the begining of the workflow as the trigger can go go out of control when problems flooding can occur.&lt;/P&gt;&lt;P&gt;Hope this helps you in your workflow design.&lt;/P&gt;</description>
      <pubDate>Wed, 17 Dec 2025 12:28:27 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Alerting/Event-Trigger-on-Problem-Closure/m-p/291696#M6100</guid>
      <dc:creator>MarwanC</dc:creator>
      <dc:date>2025-12-17T12:28:27Z</dc:date>
    </item>
    <item>
      <title>Re: Event Trigger on Problem Closure</title>
      <link>https://community.dynatrace.com/t5/Alerting/Event-Trigger-on-Problem-Closure/m-p/301672#M6402</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/64346"&gt;@MarwanC&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;I think you need the condition you need is&lt;/P&gt;&lt;P&gt;event.status_transition == "CLOSED"&lt;/P&gt;&lt;P&gt;This field dectects when an event on status "Active" goes to "Closed"&lt;/P&gt;&lt;P&gt;Test it and I hope it works.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Elena.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jul 2026 04:49:32 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Alerting/Event-Trigger-on-Problem-Closure/m-p/301672#M6402</guid>
      <dc:creator>erh_inetum</dc:creator>
      <dc:date>2026-07-08T04:49:32Z</dc:date>
    </item>
    <item>
      <title>Re: Event Trigger on Problem Closure</title>
      <link>https://community.dynatrace.com/t5/Alerting/Event-Trigger-on-Problem-Closure/m-p/301680#M6403</link>
      <description>&lt;P&gt;If there are cases where users close problems manually and you want to exclude those from your workflow—so that it only processes problems closed by Davis—you could add the dt.davis.mute.status field to your filter.&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;event.status_transition == "CLOSED" AND&amp;nbsp;&lt;/SPAN&gt;dt.davis.mute.status == "NOT_MUTED"&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jul 2026 07:21:54 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Alerting/Event-Trigger-on-Problem-Closure/m-p/301680#M6403</guid>
      <dc:creator>dylan_taelemans</dc:creator>
      <dc:date>2026-07-08T07:21:54Z</dc:date>
    </item>
  </channel>
</rss>

