<?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 call workflow using DT API and how  to pass  workflow input parameters in that API in Automations</title>
    <link>https://community.dynatrace.com/t5/Automations/Call-workflow-using-Dynatrace-API-and-pass-workflow-input/m-p/247647#M1576</link>
    <description>&lt;P&gt;Hello!&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can make use of the API call /workflows/{id}/run to trigger the execution of a particular workflow. And then in the request body you can send some information. For example:&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;{
  "input": {
    "additionalProp1": "string",
    "additionalProp2": "string",
    "additionalProp3": "string"
  },
  "params": {
    "additionalProp1": "string",
    "additionalProp2": "string",
    "additionalProp3": "string"
  },
  "uniqueQualifier": "string"
}&lt;/LI-CODE&gt;&lt;P&gt;This information is then available for ypu to use in the workflow execution time.&amp;nbsp;&lt;/P&gt;&lt;P&gt;For executing this API call the&amp;nbsp;&lt;STRONG&gt;Required scope:&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;automation:workflows:run&lt;/SPAN&gt;&amp;nbsp;is needed for the token.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 07 Jun 2024 07:12:23 GMT</pubDate>
    <dc:creator>jaume_reverte</dc:creator>
    <dc:date>2024-06-07T07:12:23Z</dc:date>
    <item>
      <title>Call workflow using Dynatrace API and pass workflow input parameters</title>
      <link>https://community.dynatrace.com/t5/Automations/Call-workflow-using-Dynatrace-API-and-pass-workflow-input/m-p/247583#M1574</link>
      <description>&lt;P&gt;Hi All,&lt;BR /&gt;I have workflow having task&amp;nbsp; of SRG validation and this task needs input as test timeframe to evaluate srg.&lt;BR /&gt;&lt;BR /&gt;Howe we can call this workflow using dynatrace API and how we can pass SRG task input from API??&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Heramb Sawant&lt;/P&gt;</description>
      <pubDate>Mon, 15 Dec 2025 12:17:06 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Automations/Call-workflow-using-Dynatrace-API-and-pass-workflow-input/m-p/247583#M1574</guid>
      <dc:creator>heramb_sawant</dc:creator>
      <dc:date>2025-12-15T12:17:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to call workflow using DT API and how  to pass  workflow input parameters in that API</title>
      <link>https://community.dynatrace.com/t5/Automations/Call-workflow-using-Dynatrace-API-and-pass-workflow-input/m-p/247633#M1575</link>
      <description>&lt;P&gt;Please help me to on this issue.&lt;/P&gt;</description>
      <pubDate>Fri, 07 Jun 2024 05:17:10 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Automations/Call-workflow-using-Dynatrace-API-and-pass-workflow-input/m-p/247633#M1575</guid>
      <dc:creator>heramb_sawant</dc:creator>
      <dc:date>2024-06-07T05:17:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to call workflow using DT API and how  to pass  workflow input parameters in that API</title>
      <link>https://community.dynatrace.com/t5/Automations/Call-workflow-using-Dynatrace-API-and-pass-workflow-input/m-p/247647#M1576</link>
      <description>&lt;P&gt;Hello!&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can make use of the API call /workflows/{id}/run to trigger the execution of a particular workflow. And then in the request body you can send some information. For example:&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;{
  "input": {
    "additionalProp1": "string",
    "additionalProp2": "string",
    "additionalProp3": "string"
  },
  "params": {
    "additionalProp1": "string",
    "additionalProp2": "string",
    "additionalProp3": "string"
  },
  "uniqueQualifier": "string"
}&lt;/LI-CODE&gt;&lt;P&gt;This information is then available for ypu to use in the workflow execution time.&amp;nbsp;&lt;/P&gt;&lt;P&gt;For executing this API call the&amp;nbsp;&lt;STRONG&gt;Required scope:&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;automation:workflows:run&lt;/SPAN&gt;&amp;nbsp;is needed for the token.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 07 Jun 2024 07:12:23 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Automations/Call-workflow-using-Dynatrace-API-and-pass-workflow-input/m-p/247647#M1576</guid>
      <dc:creator>jaume_reverte</dc:creator>
      <dc:date>2024-06-07T07:12:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to call workflow using DT API and how  to pass  workflow input parameters in that API</title>
      <link>https://community.dynatrace.com/t5/Automations/Call-workflow-using-Dynatrace-API-and-pass-workflow-input/m-p/249969#M1668</link>
      <description>&lt;P&gt;Could you please tell me how to capture/receive these input parameters in workflow task.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Heramb&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Jul 2024 10:57:23 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Automations/Call-workflow-using-Dynatrace-API-and-pass-workflow-input/m-p/249969#M1668</guid>
      <dc:creator>heramb_sawant</dc:creator>
      <dc:date>2024-07-05T10:57:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to call workflow using DT API and how  to pass  workflow input parameters in that API</title>
      <link>https://community.dynatrace.com/t5/Automations/Call-workflow-using-Dynatrace-API-and-pass-workflow-input/m-p/249976#M1669</link>
      <description>&lt;P&gt;Also If I add above given parameters in the api body as it is. in the response I get workflow&amp;nbsp; status &lt;STRONG&gt;success but workflow do not triggered&lt;/STRONG&gt; and&amp;nbsp; If I&amp;nbsp; just remove the above given input&amp;nbsp; parameters , API works fine workflow status is Running.&lt;BR /&gt;&lt;BR /&gt;What could be the reason here ??&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;Regards,&lt;BR /&gt;Heramb sawant&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Jul 2024 12:30:05 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Automations/Call-workflow-using-Dynatrace-API-and-pass-workflow-input/m-p/249976#M1669</guid>
      <dc:creator>heramb_sawant</dc:creator>
      <dc:date>2024-07-05T12:30:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to call workflow using DT API and how  to pass  workflow input parameters in that API</title>
      <link>https://community.dynatrace.com/t5/Automations/Call-workflow-using-Dynatrace-API-and-pass-workflow-input/m-p/250005#M1671</link>
      <description>&lt;P&gt;You might be able to get that information from the execution log with a js block:&lt;/P&gt;&lt;P&gt;&lt;A href="https://developer.dynatrace.com/reference/sdks/client-automation/#getexecutionlog" target="_blank"&gt;https://developer.dynatrace.com/reference/sdks/client-automation/#getexecutionlog&lt;/A&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;import { executionsClient } from "@dynatrace-sdk/client-automation";

const data = await executionsClient.getExecutionLog({
  id: "...",
});&lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;An alternative to send the values you want is to change the trigger to a bizevent and send all the information you need in that bizevent:&lt;BR /&gt;&lt;A href="https://docs.dynatrace.com/docs/shortlink/ba-api-ingest" target="_blank"&gt;https://docs.dynatrace.com/docs/shortlink/ba-api-ingest&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Jul 2024 17:38:18 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Automations/Call-workflow-using-Dynatrace-API-and-pass-workflow-input/m-p/250005#M1671</guid>
      <dc:creator>Eric_Yu</dc:creator>
      <dc:date>2024-07-05T17:38:18Z</dc:date>
    </item>
  </channel>
</rss>

