<?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 Show workflow last execution status in dashboard in Automations</title>
    <link>https://community.dynatrace.com/t5/Automations/Show-workflow-last-execution-status-in-dashboard/m-p/241906#M1525</link>
    <description>&lt;P&gt;How to show workflow last execution status in dashboard?&lt;/P&gt;</description>
    <pubDate>Mon, 15 Dec 2025 12:27:44 GMT</pubDate>
    <dc:creator>susmita_k</dc:creator>
    <dc:date>2025-12-15T12:27:44Z</dc:date>
    <item>
      <title>Show workflow last execution status in dashboard</title>
      <link>https://community.dynatrace.com/t5/Automations/Show-workflow-last-execution-status-in-dashboard/m-p/241906#M1525</link>
      <description>&lt;P&gt;How to show workflow last execution status in dashboard?&lt;/P&gt;</description>
      <pubDate>Mon, 15 Dec 2025 12:27:44 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Automations/Show-workflow-last-execution-status-in-dashboard/m-p/241906#M1525</guid>
      <dc:creator>susmita_k</dc:creator>
      <dc:date>2025-12-15T12:27:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to show workflow last execution status in dashboard?</title>
      <link>https://community.dynatrace.com/t5/Automations/Show-workflow-last-execution-status-in-dashboard/m-p/241963#M1527</link>
      <description>&lt;P&gt;I'm afraid the workflow status is only available through the workflow app.&lt;BR /&gt;You can try to play with &lt;A href="https://docs.dynatrace.com/docs/observe-and-explore/dashboards-new/components/dashboard-component-code" target="_self"&gt;code&lt;/A&gt; and &lt;A href="https://docs.dynatrace.com/docs/observe-and-explore/dashboards-new/components/dashboard-component-variable" target="_self"&gt;variables&lt;/A&gt;.&lt;BR /&gt;As variable you can define a&amp;nbsp;workflowId variable in the dashboard:&lt;/P&gt;&lt;LI-CODE lang="php"&gt;fetch dt.system.events
| filter event.type == "Automation Workflow" 
| fields workflow.id&lt;/LI-CODE&gt;&lt;P&gt;And as intial JS code you can start with something like this&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;export default async function () {
  // Using $workflowId as a variable
  
  const requestWorkflow = `/platform/automation/v1/executions?workflow=${$workflowId}`
  const executions = await fetch(requestWorkflow);
  const executions_results = await executions.json();

  console.log(executions);
  console.log(executions_results)
  
  const res = executions_results.results;

  return res;
  
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Apr 2024 11:20:08 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Automations/Show-workflow-last-execution-status-in-dashboard/m-p/241963#M1527</guid>
      <dc:creator>PacoPorro</dc:creator>
      <dc:date>2024-04-05T11:20:08Z</dc:date>
    </item>
  </channel>
</rss>

