<?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: Question about javascript (struture) used in workflow in Automations</title>
    <link>https://community.dynatrace.com/t5/Automations/Question-about-javascript-struture-used-in-workflow/m-p/247983#M1584</link>
    <description>&lt;P&gt;Hello Christopher,&lt;/P&gt;&lt;P&gt;Just letting you know your answer really clarified a lot! It all makes sense now!&lt;/P&gt;&lt;P&gt;Thanks Henk&lt;/P&gt;</description>
    <pubDate>Tue, 11 Jun 2024 11:33:23 GMT</pubDate>
    <dc:creator>henk_stobbe</dc:creator>
    <dc:date>2024-06-11T11:33:23Z</dc:date>
    <item>
      <title>Question about javascript (struture) used in workflow</title>
      <link>https://community.dynatrace.com/t5/Automations/Question-about-javascript-struture-used-in-workflow/m-p/247957#M1582</link>
      <description>&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;Maybe a beginners question, but what is the reason in that in the documentation this is used:&lt;/P&gt;&lt;P&gt;export default async function ({ execution_id }) ??&lt;/P&gt;&lt;P&gt;You define a function "execution_id" that will be called by the workflow? And is this mandatory?&lt;/P&gt;&lt;P&gt;KR Henk&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jun 2024 08:21:26 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Automations/Question-about-javascript-struture-used-in-workflow/m-p/247957#M1582</guid>
      <dc:creator>henk_stobbe</dc:creator>
      <dc:date>2024-06-11T08:21:26Z</dc:date>
    </item>
    <item>
      <title>Re: Question about javascript (struture) used in workflow</title>
      <link>https://community.dynatrace.com/t5/Automations/Question-about-javascript-struture-used-in-workflow/m-p/247960#M1583</link>
      <description>&lt;P&gt;The export default async function is required for the javascript runtime to pick it up and automatiacally run it (and optionally pick up the result that is returned by the function).&lt;BR /&gt;The { execution_id } is a parameter that is passed to the function by the workflow, which holds the ID of the workflow execution that caused this function to run. With this ID we can use the SDK to load context from that execution, for example grab the result of a previous task. &lt;A href="https://docs.dynatrace.com/docs/shortlink/workflows-action-javascript#task-result" target="_blank"&gt;https://docs.dynatrace.com/docs/shortlink/workflows-action-javascript#task-result&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jun 2024 08:44:48 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Automations/Question-about-javascript-struture-used-in-workflow/m-p/247960#M1583</guid>
      <dc:creator>ChristopherHejl</dc:creator>
      <dc:date>2024-06-11T08:44:48Z</dc:date>
    </item>
    <item>
      <title>Re: Question about javascript (struture) used in workflow</title>
      <link>https://community.dynatrace.com/t5/Automations/Question-about-javascript-struture-used-in-workflow/m-p/247983#M1584</link>
      <description>&lt;P&gt;Hello Christopher,&lt;/P&gt;&lt;P&gt;Just letting you know your answer really clarified a lot! It all makes sense now!&lt;/P&gt;&lt;P&gt;Thanks Henk&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jun 2024 11:33:23 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Automations/Question-about-javascript-struture-used-in-workflow/m-p/247983#M1584</guid>
      <dc:creator>henk_stobbe</dc:creator>
      <dc:date>2024-06-11T11:33:23Z</dc:date>
    </item>
  </channel>
</rss>

