<?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: Looping through For loop items in DQL Query in Workflow in Automations</title>
    <link>https://community.dynatrace.com/t5/Automations/Looping-through-For-loop-items-in-DQL-Query-in-Workflow/m-p/267725#M2000</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;on a first glance this looks alright. Can you please add a screenshot of the "Options" tab of the analyze_with_davis_1 task? I suspect that something might need to be changed on that tab.&lt;/P&gt;&lt;P&gt;See &lt;A href="https://docs.dynatrace.com/docs/analyze-explore-automate/workflows/building#task-options" target="_blank"&gt;https://docs.dynatrace.com/docs/analyze-explore-automate/workflows/building#task-options&lt;/A&gt; for details about loops.&lt;/P&gt;</description>
    <pubDate>Fri, 17 Jan 2025 07:02:37 GMT</pubDate>
    <dc:creator>christian_kreuz</dc:creator>
    <dc:date>2025-01-17T07:02:37Z</dc:date>
    <item>
      <title>Looping through For loop items in DQL Query in Workflow</title>
      <link>https://community.dynatrace.com/t5/Automations/Looping-through-For-loop-items-in-DQL-Query-in-Workflow/m-p/267721#M1999</link>
      <description>&lt;DIV class=""&gt;Hello Team,&lt;/DIV&gt;
&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class=""&gt;I am trying&amp;nbsp;to create a workflow where I am executing the Davis Analyzer Task using DQL query, In the previous task, I am using the DQL Task which will return the list of records, now in Davis Analyzer Task, I am using For loop option which will iterate over the list of records and execute the task accordingly, I am trying to use the for loop variable in my Davis Analyzer Query, However I am getting an saying "Field {{._item }} does not exit". Please find the below snapshots for the task that I am trying&amp;nbsp;to create.&lt;/DIV&gt;
&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class=""&gt;Workflow -&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class=""&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="abhijitmorye_0-1737095143840.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/25775i7C5B4FBFD58356F6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="abhijitmorye_0-1737095143840.png" alt="abhijitmorye_0-1737095143840.png" /&gt;&lt;/span&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class=""&gt;Execute DQL Query Result -&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class=""&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="abhijitmorye_1-1737095143843.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/25776iE7CFE68A3995753F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="abhijitmorye_1-1737095143843.png" alt="abhijitmorye_1-1737095143843.png" /&gt;&lt;/span&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/DIV&gt;
&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class=""&gt;Davis Analyzer Task Query -&lt;/DIV&gt;
&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class=""&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="abhijitmorye_2-1737095143848.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/25777i4C71C5C9A2F88705/image-size/medium?v=v2&amp;amp;px=400" role="button" title="abhijitmorye_2-1737095143848.png" alt="abhijitmorye_2-1737095143848.png" /&gt;&lt;/span&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Abhijit Morye&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Fri, 17 Jan 2025 07:39:44 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Automations/Looping-through-For-loop-items-in-DQL-Query-in-Workflow/m-p/267721#M1999</guid>
      <dc:creator>abhijitmorye</dc:creator>
      <dc:date>2025-01-17T07:39:44Z</dc:date>
    </item>
    <item>
      <title>Re: Looping through For loop items in DQL Query in Workflow</title>
      <link>https://community.dynatrace.com/t5/Automations/Looping-through-For-loop-items-in-DQL-Query-in-Workflow/m-p/267725#M2000</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;on a first glance this looks alright. Can you please add a screenshot of the "Options" tab of the analyze_with_davis_1 task? I suspect that something might need to be changed on that tab.&lt;/P&gt;&lt;P&gt;See &lt;A href="https://docs.dynatrace.com/docs/analyze-explore-automate/workflows/building#task-options" target="_blank"&gt;https://docs.dynatrace.com/docs/analyze-explore-automate/workflows/building#task-options&lt;/A&gt; for details about loops.&lt;/P&gt;</description>
      <pubDate>Fri, 17 Jan 2025 07:02:37 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Automations/Looping-through-For-loop-items-in-DQL-Query-in-Workflow/m-p/267725#M2000</guid>
      <dc:creator>christian_kreuz</dc:creator>
      <dc:date>2025-01-17T07:02:37Z</dc:date>
    </item>
    <item>
      <title>Re: Looping through For loop items in DQL Query in Workflow</title>
      <link>https://community.dynatrace.com/t5/Automations/Looping-through-For-loop-items-in-DQL-Query-in-Workflow/m-p/267728#M2001</link>
      <description>&lt;P&gt;Hi Christian,&lt;/P&gt;&lt;P&gt;Thanks for the reply.&lt;/P&gt;&lt;P&gt;Please find the below snapshot for the Option in Davis Analyzer Task.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="abhijitmorye_0-1737097752559.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/25778iF4309EE434183720/image-size/medium?v=v2&amp;amp;px=400" role="button" title="abhijitmorye_0-1737097752559.png" alt="abhijitmorye_0-1737097752559.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Abhijit M.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Jan 2025 07:09:35 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Automations/Looping-through-For-loop-items-in-DQL-Query-in-Workflow/m-p/267728#M2001</guid>
      <dc:creator>abhijitmorye</dc:creator>
      <dc:date>2025-01-17T07:09:35Z</dc:date>
    </item>
    <item>
      <title>Re: Looping through For loop items in DQL Query in Workflow</title>
      <link>https://community.dynatrace.com/t5/Automations/Looping-through-For-loop-items-in-DQL-Query-in-Workflow/m-p/267730#M2002</link>
      <description>&lt;P&gt;Hi Abhijit, and for the Options Tab itself? Does it look like this? Specifically the Item variable name needs to be &lt;STRONG&gt;item&lt;/STRONG&gt;, if you want to reference it with &lt;STRONG&gt;{{ _.item }}&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="christian_kreuz_0-1737098045127.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/25779iF48760EC0EA77A1F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="christian_kreuz_0-1737098045127.png" alt="christian_kreuz_0-1737098045127.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Jan 2025 07:14:20 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Automations/Looping-through-For-loop-items-in-DQL-Query-in-Workflow/m-p/267730#M2002</guid>
      <dc:creator>christian_kreuz</dc:creator>
      <dc:date>2025-01-17T07:14:20Z</dc:date>
    </item>
    <item>
      <title>Re: Looping through For loop items in DQL Query in Workflow</title>
      <link>https://community.dynatrace.com/t5/Automations/Looping-through-For-loop-items-in-DQL-Query-in-Workflow/m-p/267731#M2003</link>
      <description>&lt;P&gt;Yes, I have kept variable name as &lt;STRONG&gt;item&lt;/STRONG&gt; and using this variable as &lt;STRONG&gt;{{ _.item }}&lt;/STRONG&gt; in DQL query as suggested.&lt;/P&gt;</description>
      <pubDate>Fri, 17 Jan 2025 07:25:05 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Automations/Looping-through-For-loop-items-in-DQL-Query-in-Workflow/m-p/267731#M2003</guid>
      <dc:creator>abhijitmorye</dc:creator>
      <dc:date>2025-01-17T07:25:05Z</dc:date>
    </item>
    <item>
      <title>Re: Looping through For loop items in DQL Query in Workflow</title>
      <link>https://community.dynatrace.com/t5/Automations/Looping-through-For-loop-items-in-DQL-Query-in-Workflow/m-p/267733#M2004</link>
      <description>&lt;P&gt;&amp;nbsp;Hi &lt;SPAN&gt;Christian,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I got the answer for this, correct way to use jinja variable in DQL is "{{ _.item }}". Thanks for your prompt response.&lt;/P&gt;</description>
      <pubDate>Fri, 17 Jan 2025 07:44:28 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Automations/Looping-through-For-loop-items-in-DQL-Query-in-Workflow/m-p/267733#M2004</guid>
      <dc:creator>abhijitmorye</dc:creator>
      <dc:date>2025-01-17T07:44:28Z</dc:date>
    </item>
  </channel>
</rss>

