<?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 Custom Configurations in Workflow Task in Automations</title>
    <link>https://community.dynatrace.com/t5/Automations/Custom-Configurations-in-Workflow-Task/m-p/278457#M2234</link>
    <description>&lt;P&gt;I have a custom configuration at the beginning of a HTTP task (sn-prod-inc-creation). The condition is:&lt;BR /&gt;{{ result("parse_entity_tags").prime_alert_type == 'inc' }} and validates as 'true' in the "preview".&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;The result is from a javascript task and the HTTP task waits for the javascript task to complete before it is run.&lt;BR /&gt;&lt;BR /&gt;However, when I run the workflow I get the following error:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Unhandled failed task(s) during workflow execution:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;sn-prod-inc-creation:&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Error evaluating custom condition. Undefined variables: prime_alert_type.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Sat, 31 May 2025 17:31:10 GMT</pubDate>
    <dc:creator>jbone128</dc:creator>
    <dc:date>2025-05-31T17:31:10Z</dc:date>
    <item>
      <title>Custom Configurations in Workflow Task</title>
      <link>https://community.dynatrace.com/t5/Automations/Custom-Configurations-in-Workflow-Task/m-p/278457#M2234</link>
      <description>&lt;P&gt;I have a custom configuration at the beginning of a HTTP task (sn-prod-inc-creation). The condition is:&lt;BR /&gt;{{ result("parse_entity_tags").prime_alert_type == 'inc' }} and validates as 'true' in the "preview".&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;The result is from a javascript task and the HTTP task waits for the javascript task to complete before it is run.&lt;BR /&gt;&lt;BR /&gt;However, when I run the workflow I get the following error:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Unhandled failed task(s) during workflow execution:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;sn-prod-inc-creation:&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Error evaluating custom condition. Undefined variables: prime_alert_type.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 31 May 2025 17:31:10 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Automations/Custom-Configurations-in-Workflow-Task/m-p/278457#M2234</guid>
      <dc:creator>jbone128</dc:creator>
      <dc:date>2025-05-31T17:31:10Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Configurations in Workflow Task</title>
      <link>https://community.dynatrace.com/t5/Automations/Custom-Configurations-in-Workflow-Task/m-p/278524#M2235</link>
      <description>&lt;P&gt;Hi jbone!&lt;BR /&gt;&lt;BR /&gt;Can you please send a screenshot of the JavaScript task Result tab?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2025-06-02 at 18.17.59.png" style="width: 999px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/28307i73A8E1AEEF438EBE/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2025-06-02 at 18.17.59.png" alt="Screenshot 2025-06-02 at 18.17.59.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;The best approach is the following syntax:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;{{result("run_javascript_1")["boolean"] == True}}&lt;/LI-CODE&gt;
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 02 Jun 2025 16:20:01 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Automations/Custom-Configurations-in-Workflow-Task/m-p/278524#M2235</guid>
      <dc:creator>haris</dc:creator>
      <dc:date>2025-06-02T16:20:01Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Configurations in Workflow Task</title>
      <link>https://community.dynatrace.com/t5/Automations/Custom-Configurations-in-Workflow-Task/m-p/285411#M2342</link>
      <description>&lt;P&gt;I have workflow , having task1 as dql task that provides app_id in its output.&lt;BR /&gt;task 1 has output like this,&lt;BR /&gt;[&lt;BR /&gt;{&lt;BR /&gt;"app_id": "sample_app_1"&lt;BR /&gt;}&lt;BR /&gt;]&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;i want to write condition for the task 2 , if previous task has value for app_id then only run task2&lt;BR /&gt;&lt;BR /&gt;How Can I write that condition?&lt;/P&gt;</description>
      <pubDate>Thu, 04 Sep 2025 13:34:22 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Automations/Custom-Configurations-in-Workflow-Task/m-p/285411#M2342</guid>
      <dc:creator>heramb_sawant</dc:creator>
      <dc:date>2025-09-04T13:34:22Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Configurations in Workflow Task</title>
      <link>https://community.dynatrace.com/t5/Automations/Custom-Configurations-in-Workflow-Task/m-p/285597#M2347</link>
      <description>&lt;P&gt;Hi Heramb,&lt;BR /&gt;&lt;BR /&gt;in the step afterwards, you can have a condition for the result such as this:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;{{result("task_1")["app_id"] == "sample_app"}}&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;BR /&gt;And you'd put it in the task 2 in the condition on the right side:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2025-09-09 at 09.13.45.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/30006i384EE70F566806CA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot 2025-09-09 at 09.13.45.png" alt="Screenshot 2025-09-09 at 09.13.45.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;Let me know if you can get it working or if you have issues with it.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Sep 2025 07:14:23 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Automations/Custom-Configurations-in-Workflow-Task/m-p/285597#M2347</guid>
      <dc:creator>haris</dc:creator>
      <dc:date>2025-09-09T07:14:23Z</dc:date>
    </item>
  </channel>
</rss>

