<?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: How to reference return fro previous in Automations</title>
    <link>https://community.dynatrace.com/t5/Automations/How-to-reference-return-from-previous-task/m-p/252250#M1734</link>
    <description>&lt;P&gt;You will need to reference the task via the name/id.&lt;/P&gt;&lt;P&gt;The code to copy/paste:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;  var task_info = await fetch(`/platform/automation/v0.1/executions/${execution_id}/tasks/get_top10_error_logs`)
  var error_logs_task = await task_info.json()&lt;/LI-CODE&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mark_bley_0-1722509920444.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/21573iFEF94B199CFD03A6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="mark_bley_0-1722509920444.png" alt="mark_bley_0-1722509920444.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 01 Aug 2024 11:00:16 GMT</pubDate>
    <dc:creator>mark_bley</dc:creator>
    <dc:date>2024-08-01T11:00:16Z</dc:date>
    <item>
      <title>How to reference return from previous task</title>
      <link>https://community.dynatrace.com/t5/Automations/How-to-reference-return-from-previous-task/m-p/249399#M1651</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="henk_stobbe_0-1719577385592.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/20832iB5D34AAC8D3E0665/image-size/medium?v=v2&amp;amp;px=400" role="button" title="henk_stobbe_0-1719577385592.png" alt="henk_stobbe_0-1719577385592.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So what is the name in javascript when when you want to reference in the next task?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;KR Henk&lt;/P&gt;</description>
      <pubDate>Thu, 01 Aug 2024 11:22:20 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Automations/How-to-reference-return-from-previous-task/m-p/249399#M1651</guid>
      <dc:creator>henk_stobbe</dc:creator>
      <dc:date>2024-08-01T11:22:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to reference return fro previous</title>
      <link>https://community.dynatrace.com/t5/Automations/How-to-reference-return-from-previous-task/m-p/252250#M1734</link>
      <description>&lt;P&gt;You will need to reference the task via the name/id.&lt;/P&gt;&lt;P&gt;The code to copy/paste:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;  var task_info = await fetch(`/platform/automation/v0.1/executions/${execution_id}/tasks/get_top10_error_logs`)
  var error_logs_task = await task_info.json()&lt;/LI-CODE&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mark_bley_0-1722509920444.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/21573iFEF94B199CFD03A6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="mark_bley_0-1722509920444.png" alt="mark_bley_0-1722509920444.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Aug 2024 11:00:16 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Automations/How-to-reference-return-from-previous-task/m-p/252250#M1734</guid>
      <dc:creator>mark_bley</dc:creator>
      <dc:date>2024-08-01T11:00:16Z</dc:date>
    </item>
  </channel>
</rss>

