<?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: Workflow triggered by API how to give results back to the caller in Automations</title>
    <link>https://community.dynatrace.com/t5/Automations/Workflow-triggered-by-API-how-to-give-results-back-to-the-caller/m-p/248138#M1602</link>
    <description>&lt;P&gt;Correct, you can get the execution details using the ID you get back via the /executions API (&lt;A href="https://&amp;lt;YOUR_TENANT&amp;gt;.apps.dynatrace.com/platform/swagger-ui/index.html?urls.primaryName=Automation#/executions" target="_blank" rel="noopener"&gt;https://&amp;lt;YOUR_TENANT&amp;gt;.apps.dynatrace.com/platform/swagger-ui/index.html?urls.primaryName=Automation#/executions&lt;/A&gt;) or the Javascript SDK client (which simply wraps the API calls). We don't include all the data in the execution object as this could be rather large, but rather split them into seperate endpoint to get task details or their result&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ChristopherHejl_0-1718196178064.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/20500i24079AF23556760C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ChristopherHejl_0-1718196178064.png" alt="ChristopherHejl_0-1718196178064.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Once we add support to define default Workflow input parameters, we will also add an option to define a result for the whole workflow, so you don't have to look up individual task results.&lt;/P&gt;</description>
    <pubDate>Wed, 12 Jun 2024 12:43:53 GMT</pubDate>
    <dc:creator>ChristopherHejl</dc:creator>
    <dc:date>2024-06-12T12:43:53Z</dc:date>
    <item>
      <title>Workflow triggered by API how to give results back to the caller</title>
      <link>https://community.dynatrace.com/t5/Automations/Workflow-triggered-by-API-how-to-give-results-back-to-the-caller/m-p/248133#M1601</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;(I promise, last one for today,)&lt;/P&gt;&lt;P&gt;When a workflow is triggered by API, I assume you can use the executionID you get back, you can later retrieve the Json that is created with all results and returns?&lt;/P&gt;&lt;P&gt;The "client" has to extract info as needed?&lt;/P&gt;&lt;P&gt;KR Henk&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jun 2024 12:33:15 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Automations/Workflow-triggered-by-API-how-to-give-results-back-to-the-caller/m-p/248133#M1601</guid>
      <dc:creator>henk_stobbe</dc:creator>
      <dc:date>2024-06-12T12:33:15Z</dc:date>
    </item>
    <item>
      <title>Re: Workflow triggered by API how to give results back to the caller</title>
      <link>https://community.dynatrace.com/t5/Automations/Workflow-triggered-by-API-how-to-give-results-back-to-the-caller/m-p/248138#M1602</link>
      <description>&lt;P&gt;Correct, you can get the execution details using the ID you get back via the /executions API (&lt;A href="https://&amp;lt;YOUR_TENANT&amp;gt;.apps.dynatrace.com/platform/swagger-ui/index.html?urls.primaryName=Automation#/executions" target="_blank" rel="noopener"&gt;https://&amp;lt;YOUR_TENANT&amp;gt;.apps.dynatrace.com/platform/swagger-ui/index.html?urls.primaryName=Automation#/executions&lt;/A&gt;) or the Javascript SDK client (which simply wraps the API calls). We don't include all the data in the execution object as this could be rather large, but rather split them into seperate endpoint to get task details or their result&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ChristopherHejl_0-1718196178064.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/20500i24079AF23556760C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ChristopherHejl_0-1718196178064.png" alt="ChristopherHejl_0-1718196178064.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Once we add support to define default Workflow input parameters, we will also add an option to define a result for the whole workflow, so you don't have to look up individual task results.&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jun 2024 12:43:53 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Automations/Workflow-triggered-by-API-how-to-give-results-back-to-the-caller/m-p/248138#M1602</guid>
      <dc:creator>ChristopherHejl</dc:creator>
      <dc:date>2024-06-12T12:43:53Z</dc:date>
    </item>
  </channel>
</rss>

