<?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 Passing outcome of Javascript task to next task in Workflow in Automations</title>
    <link>https://community.dynatrace.com/t5/Automations/Passing-outcome-of-Javascript-task-to-next-task-in-Workflow/m-p/292367#M2464</link>
    <description>&lt;P&gt;I have created a workflow for creating the incident in Servicenow. with default/fix values it works fine.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to derive the values for category, subcategory, imapct, urgency etc. specific to the problem and send this data to SNOW instead of fixed values. For this I have added additional javascript task to get the values from problem data. which provides the output like&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="pradeepkadam_0-1767269163761.png" style="width: 267px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/31389i03F01F1D7AFFC301/image-dimensions/267x216?v=v2" width="267" height="216" role="button" title="pradeepkadam_0-1767269163761.png" alt="pradeepkadam_0-1767269163761.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Next task is create incident and value for category is passed as expression =&amp;nbsp;{{ result('js_transform').[issue_category] }}&lt;/P&gt;&lt;P&gt;tried few others way like {{ result('js_transform').issue_category }} or&amp;nbsp;{{ result('js_transform').["issue_category"] }} still not able to capture the variable with error - Error evaluating 'category' in input. Undefined variables: issue_category.&lt;BR /&gt;Use the expression preview in edit mode to review the input.&lt;/P&gt;</description>
    <pubDate>Thu, 01 Jan 2026 12:13:09 GMT</pubDate>
    <dc:creator>pradeepkadam</dc:creator>
    <dc:date>2026-01-01T12:13:09Z</dc:date>
    <item>
      <title>Passing outcome of Javascript task to next task in Workflow</title>
      <link>https://community.dynatrace.com/t5/Automations/Passing-outcome-of-Javascript-task-to-next-task-in-Workflow/m-p/292367#M2464</link>
      <description>&lt;P&gt;I have created a workflow for creating the incident in Servicenow. with default/fix values it works fine.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to derive the values for category, subcategory, imapct, urgency etc. specific to the problem and send this data to SNOW instead of fixed values. For this I have added additional javascript task to get the values from problem data. which provides the output like&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="pradeepkadam_0-1767269163761.png" style="width: 267px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/31389i03F01F1D7AFFC301/image-dimensions/267x216?v=v2" width="267" height="216" role="button" title="pradeepkadam_0-1767269163761.png" alt="pradeepkadam_0-1767269163761.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Next task is create incident and value for category is passed as expression =&amp;nbsp;{{ result('js_transform').[issue_category] }}&lt;/P&gt;&lt;P&gt;tried few others way like {{ result('js_transform').issue_category }} or&amp;nbsp;{{ result('js_transform').["issue_category"] }} still not able to capture the variable with error - Error evaluating 'category' in input. Undefined variables: issue_category.&lt;BR /&gt;Use the expression preview in edit mode to review the input.&lt;/P&gt;</description>
      <pubDate>Thu, 01 Jan 2026 12:13:09 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Automations/Passing-outcome-of-Javascript-task-to-next-task-in-Workflow/m-p/292367#M2464</guid>
      <dc:creator>pradeepkadam</dc:creator>
      <dc:date>2026-01-01T12:13:09Z</dc:date>
    </item>
  </channel>
</rss>

