<?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: Workflow if statement in Automations</title>
    <link>https://community.dynatrace.com/t5/Automations/Workflow-if-statement/m-p/301091#M2636</link>
    <description>&lt;P&gt;Hi Julius,&lt;/P&gt;&lt;P&gt;Coming back to this as it does sort of work but they're wanting it so that when the alert triggers the problem trigger it goes to the request to snow functions and if it contains&amp;nbsp;250 MS Timedrift go down the p2 tree if its 100&amp;nbsp;MS Timedrift it goes down the p3 tree as the alert won't always contains&amp;nbsp; the name of the machine if they are wanting multiple machines set up for the alert.&amp;nbsp;&lt;BR /&gt;The contains function doesn't seem to work in the conditions does it have to be operators only?&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 23 Jun 2026 10:32:56 GMT</pubDate>
    <dc:creator>Nathanieltat</dc:creator>
    <dc:date>2026-06-23T10:32:56Z</dc:date>
    <item>
      <title>Workflow if statement</title>
      <link>https://community.dynatrace.com/t5/Automations/Workflow-if-statement/m-p/300885#M2633</link>
      <description>&lt;P&gt;Hi All,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have tried to understand the conditions parts on the workflows but i'm struggling.&amp;nbsp;Im wanting to use the same workflow rather than making two.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Im wanting if it is the 250 MS alert to go down the p2 tree and not the p3 but if its the 100 MS alert to go down the p3 tree and not the p2 tree.&lt;/P&gt;&lt;P&gt;I'm not sure how to do it with the conditions.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Nathanieltat_0-1781700768797.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/33466iEA6BF763AF701BF9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Nathanieltat_0-1781700768797.png" alt="Nathanieltat_0-1781700768797.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jun 2026 13:05:20 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Automations/Workflow-if-statement/m-p/300885#M2633</guid>
      <dc:creator>Nathanieltat</dc:creator>
      <dc:date>2026-06-17T13:05:20Z</dc:date>
    </item>
    <item>
      <title>Re: Workflow if statement</title>
      <link>https://community.dynatrace.com/t5/Automations/Workflow-if-statement/m-p/300897#M2634</link>
      <description>&lt;P&gt;Conditions are set on the nodes. So you need to set appropriate conditions on the request_to_snow_p2 and request_to_snow_p3 . See more &lt;A href="https://docs.dynatrace.com/docs/shortlink/workflows-building#task-conditions" target="_blank"&gt;here&lt;/A&gt;. Probably you need something like for the p3 condition:&lt;BR /&gt;&lt;BR /&gt;{{ event()["event.name"] in ["WRAC 01 100MS Timedrift Alert", "WRAC 02 100MS Timedrift Alert"] }}&lt;BR /&gt;&lt;BR /&gt;You are setting trigger on Davis event (not Davis problems), just be sure you are alerting on the right information.&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jun 2026 19:41:34 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Automations/Workflow-if-statement/m-p/300897#M2634</guid>
      <dc:creator>Julius_Loman</dc:creator>
      <dc:date>2026-06-17T19:41:34Z</dc:date>
    </item>
    <item>
      <title>Re: Workflow if statement</title>
      <link>https://community.dynatrace.com/t5/Automations/Workflow-if-statement/m-p/300921#M2635</link>
      <description>&lt;P&gt;Nice thank you, i will try this.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Good spot i changed it to match the other workflow i have so it shows the following.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Nathanieltat_0-1781771611097.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/33474iC36B727858DC999E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Nathanieltat_0-1781771611097.png" alt="Nathanieltat_0-1781771611097.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Jun 2026 08:33:52 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Automations/Workflow-if-statement/m-p/300921#M2635</guid>
      <dc:creator>Nathanieltat</dc:creator>
      <dc:date>2026-06-18T08:33:52Z</dc:date>
    </item>
    <item>
      <title>Re: Workflow if statement</title>
      <link>https://community.dynatrace.com/t5/Automations/Workflow-if-statement/m-p/301091#M2636</link>
      <description>&lt;P&gt;Hi Julius,&lt;/P&gt;&lt;P&gt;Coming back to this as it does sort of work but they're wanting it so that when the alert triggers the problem trigger it goes to the request to snow functions and if it contains&amp;nbsp;250 MS Timedrift go down the p2 tree if its 100&amp;nbsp;MS Timedrift it goes down the p3 tree as the alert won't always contains&amp;nbsp; the name of the machine if they are wanting multiple machines set up for the alert.&amp;nbsp;&lt;BR /&gt;The contains function doesn't seem to work in the conditions does it have to be operators only?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jun 2026 10:32:56 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Automations/Workflow-if-statement/m-p/301091#M2636</guid>
      <dc:creator>Nathanieltat</dc:creator>
      <dc:date>2026-06-23T10:32:56Z</dc:date>
    </item>
    <item>
      <title>Re: Workflow if statement</title>
      <link>https://community.dynatrace.com/t5/Automations/Workflow-if-statement/m-p/301105#M2638</link>
      <description>&lt;P&gt;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/86469"&gt;@Nathanieltat&lt;/a&gt;&amp;nbsp;can you elaborate little bit more on that? I don't have your context and environment and do not fully understand the issue.&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jun 2026 15:30:09 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Automations/Workflow-if-statement/m-p/301105#M2638</guid>
      <dc:creator>Julius_Loman</dc:creator>
      <dc:date>2026-06-23T15:30:09Z</dc:date>
    </item>
    <item>
      <title>Re: Workflow if statement</title>
      <link>https://community.dynatrace.com/t5/Automations/Workflow-if-statement/m-p/301131#M2641</link>
      <description>&lt;P&gt;I would probably use a JavaScript task that would do the evaluation you are atlking about. And - that task then finishes by preparing a task result with the decision on whether it is p2 or p3. After that JavaScript task you can then have your p2 and p3 with a condition on the outcome of your JavaScript task.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jun 2026 07:28:52 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Automations/Workflow-if-statement/m-p/301131#M2641</guid>
      <dc:creator>andreas_grabner</dc:creator>
      <dc:date>2026-06-24T07:28:52Z</dc:date>
    </item>
  </channel>
</rss>

