<?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 Display custom condition results as string in workflows in Automations</title>
    <link>https://community.dynatrace.com/t5/Automations/Display-custom-condition-results-as-string-in-workflows/m-p/287025#M2381</link>
    <description>&lt;P&gt;In workflows I need to build an alert to execute this script which does a countIf of two parameters and then trigger an alert if both counts are higher than a hardcoded threshold. The results are showing as below as type long, but the actual value appears to be a string.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="loopy_0-1759187392972.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/30298i61E1E672E08550E6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="loopy_0-1759187392972.png" alt="loopy_0-1759187392972.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;As an example of just trying to get a second trigger to run I have a custom condition of:&lt;/P&gt;
&lt;P&gt;{{result("execute_query")["records"][0]["count_process"]&amp;gt;0}}&lt;/P&gt;
&lt;P&gt;Which bring back an error saying the given results are of type string while I'm trying to do an int operator.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="loopy_1-1759187631879.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/30299iEABD4E46C206C691/image-size/medium?v=v2&amp;amp;px=400" role="button" title="loopy_1-1759187631879.png" alt="loopy_1-1759187631879.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Any suggestions of what I am doing wrong here, in the custom conditions, the DQL, or another setting to get the output to be properly as a long/int?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 15 Dec 2025 10:42:10 GMT</pubDate>
    <dc:creator>loopy</dc:creator>
    <dc:date>2025-12-15T10:42:10Z</dc:date>
    <item>
      <title>Display custom condition results as string in workflows</title>
      <link>https://community.dynatrace.com/t5/Automations/Display-custom-condition-results-as-string-in-workflows/m-p/287025#M2381</link>
      <description>&lt;P&gt;In workflows I need to build an alert to execute this script which does a countIf of two parameters and then trigger an alert if both counts are higher than a hardcoded threshold. The results are showing as below as type long, but the actual value appears to be a string.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="loopy_0-1759187392972.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/30298i61E1E672E08550E6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="loopy_0-1759187392972.png" alt="loopy_0-1759187392972.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;As an example of just trying to get a second trigger to run I have a custom condition of:&lt;/P&gt;
&lt;P&gt;{{result("execute_query")["records"][0]["count_process"]&amp;gt;0}}&lt;/P&gt;
&lt;P&gt;Which bring back an error saying the given results are of type string while I'm trying to do an int operator.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="loopy_1-1759187631879.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/30299iEABD4E46C206C691/image-size/medium?v=v2&amp;amp;px=400" role="button" title="loopy_1-1759187631879.png" alt="loopy_1-1759187631879.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Any suggestions of what I am doing wrong here, in the custom conditions, the DQL, or another setting to get the output to be properly as a long/int?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 15 Dec 2025 10:42:10 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Automations/Display-custom-condition-results-as-string-in-workflows/m-p/287025#M2381</guid>
      <dc:creator>loopy</dc:creator>
      <dc:date>2025-12-15T10:42:10Z</dc:date>
    </item>
    <item>
      <title>Re: Display custom condition results as string in workflows</title>
      <link>https://community.dynatrace.com/t5/Automations/Display-custom-condition-results-as-string-in-workflows/m-p/291465#M2445</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/94466"&gt;@loopy&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;DIV&gt;I just wanted to check in and see if you still need help with this. If so, I’d be happy to look into it for you! &lt;span class="lia-unicode-emoji" title=":smiling_face_with_smiling_eyes:"&gt;😊&lt;/span&gt;&lt;BR /&gt;Please let me know what works best for you.&lt;/DIV&gt;</description>
      <pubDate>Mon, 15 Dec 2025 10:41:47 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Automations/Display-custom-condition-results-as-string-in-workflows/m-p/291465#M2445</guid>
      <dc:creator>IzabelaRokita</dc:creator>
      <dc:date>2025-12-15T10:41:47Z</dc:date>
    </item>
    <item>
      <title>Re: Display custom condition results as string in workflows</title>
      <link>https://community.dynatrace.com/t5/Automations/Display-custom-condition-results-as-string-in-workflows/m-p/291520#M2459</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/67399"&gt;@IzabelaRokita&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;No solution has been found yet so I had to impliment a work around. If you are able to look into this, much appreciated.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Dec 2025 02:09:00 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Automations/Display-custom-condition-results-as-string-in-workflows/m-p/291520#M2459</guid>
      <dc:creator>loopy</dc:creator>
      <dc:date>2025-12-16T02:09:00Z</dc:date>
    </item>
  </channel>
</rss>

