<?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: Is it possible to use or logic in workflow conditions? in Automations</title>
    <link>https://community.dynatrace.com/t5/Automations/Is-it-possible-to-use-or-logic-in-workflow-conditions/m-p/222158#M47</link>
    <description>&lt;P&gt;Yes, it is possible look at the link&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://developer.dynatrace.com/develop/workflows/run-periodically/" target="_blank"&gt;https://developer.dynatrace.com/develop/workflows/run-periodically/&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 01 Sep 2023 20:11:39 GMT</pubDate>
    <dc:creator>natanael_mendes</dc:creator>
    <dc:date>2023-09-01T20:11:39Z</dc:date>
    <item>
      <title>Is it possible to use or logic in workflow conditions?</title>
      <link>https://community.dynatrace.com/t5/Automations/Is-it-possible-to-use-or-logic-in-workflow-conditions/m-p/222156#M46</link>
      <description>&lt;P&gt;Hi is it possible to use OR logic in an expression condition for workflow tasks?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've tried the following:&lt;/P&gt;&lt;P&gt;{{ event().get('propA', 'false') == 'true' || event().get('propB', 'false') == 'true' }}&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;I also tried to default to property b if property a didn't exist but that didn't work either&lt;/P&gt;&lt;P&gt;{{ event().get('propA', event().get('propB')) == 'true' }}&lt;BR /&gt;&lt;BR /&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;Jack&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 01 Sep 2023 19:52:00 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Automations/Is-it-possible-to-use-or-logic-in-workflow-conditions/m-p/222156#M46</guid>
      <dc:creator>Jack_Stuart</dc:creator>
      <dc:date>2023-09-01T19:52:00Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to use or logic in workflow conditions?</title>
      <link>https://community.dynatrace.com/t5/Automations/Is-it-possible-to-use-or-logic-in-workflow-conditions/m-p/222158#M47</link>
      <description>&lt;P&gt;Yes, it is possible look at the link&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://developer.dynatrace.com/develop/workflows/run-periodically/" target="_blank"&gt;https://developer.dynatrace.com/develop/workflows/run-periodically/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 01 Sep 2023 20:11:39 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Automations/Is-it-possible-to-use-or-logic-in-workflow-conditions/m-p/222158#M47</guid>
      <dc:creator>natanael_mendes</dc:creator>
      <dc:date>2023-09-01T20:11:39Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to use or logic in workflow conditions?</title>
      <link>https://community.dynatrace.com/t5/Automations/Is-it-possible-to-use-or-logic-in-workflow-conditions/m-p/222188#M48</link>
      <description>&lt;P&gt;I found this section of the expression reference which suits my needs&amp;nbsp;&lt;A href="https://www.dynatrace.com/support/help/shortlink/automation-workflow-expression-reference#if-statement" target="_blank"&gt;https://www.dynatrace.com/support/help/shortlink/automation-workflow-expression-reference#if-statement&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Sep 2023 08:08:26 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Automations/Is-it-possible-to-use-or-logic-in-workflow-conditions/m-p/222188#M48</guid>
      <dc:creator>Jack_Stuart</dc:creator>
      <dc:date>2023-09-04T08:08:26Z</dc:date>
    </item>
  </channel>
</rss>

