<?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 Send Email Task Error in Automations</title>
    <link>https://community.dynatrace.com/t5/Automations/Workflow-Send-Email-Task-Error/m-p/280712#M2251</link>
    <description>&lt;P&gt;Hi I found the issue and its resolved.&lt;/P&gt;&lt;P&gt;Please see link below.&lt;/P&gt;&lt;P&gt;&lt;A title="https://community.dynatrace.com/t5/dynatrace-tips/tips-understanding-recipient-handling-in-quot-dynatrace-send/m-p/279521" href="https://community.dynatrace.com/t5/Dynatrace-tips/Tips-Understanding-Recipient-Handling-in-quot-Dynatrace-Send/m-p/279521" target="_blank" rel="noreferrer noopener"&gt;https://community.dynatrace.com/t5/Dynatrace-tips/Tips-Understanding-Recipient-Handling-in-quot-Dynatrace-Send/m-p/279521&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Tips: Understanding Recipient Handling in "Dynatrace Send Email Action" vs "M365 Send Email Action" - Dynatrace Community&lt;/P&gt;&lt;P&gt;Dynatrace Tips: Handling Multiple Recipients in Email Actions When configuring email notifications in Dynatrace, it's important to understand how&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Charl&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 03 Jul 2025 13:42:22 GMT</pubDate>
    <dc:creator>Charl_Pienaar</dc:creator>
    <dc:date>2025-07-03T13:42:22Z</dc:date>
    <item>
      <title>Workflow Send Email Task Error</title>
      <link>https://community.dynatrace.com/t5/Automations/Workflow-Send-Email-Task-Error/m-p/280501#M2250</link>
      <description>&lt;P&gt;Good Morning,&lt;/P&gt;&lt;P&gt;I have a scenario where a workflow has been successfully sending weekly emails to a customer for the past six months without any issues. Each email contains exception details and their corresponding counts. The workflow is straightforward: it starts, runs a JavaScript code task to retrieve the metric data, passes that data to the email task, and then completes.&lt;/P&gt;&lt;P&gt;The error that I get is as follows&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2025-07-01 09_28_08-scr4.png" style="width: 999px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/28755iEB216A09262158B8/image-size/large?v=v2&amp;amp;px=999" role="button" title="2025-07-01 09_28_08-scr4.png" alt="2025-07-01 09_28_08-scr4.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Detailed log&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2025-07-01 09_28_08-scr5.png" style="width: 962px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/28756i35C388D2FD871EC3/image-size/large?v=v2&amp;amp;px=999" role="button" title="2025-07-01 09_28_08-scr5.png" alt="2025-07-01 09_28_08-scr5.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Email Send Task&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2025-07-01 09_28_08-scr1.png" style="width: 999px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/28757i84FBABA2262E3521/image-size/large?v=v2&amp;amp;px=999" role="button" title="2025-07-01 09_28_08-scr1.png" alt="2025-07-01 09_28_08-scr1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I added the send_email_1 task for testing so if I send plain text the email task works fine. If I add the message code to extract the details from the exception1_1 jscode task the email fails.&lt;/P&gt;&lt;P&gt;All though the "Preview" of the detail extraction for the message works fine in the Preview window. As you can see below there is the preview with the relevant exceptions and there counts.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2025-07-01 09_28_08-scr2.png" style="width: 999px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/28758i8BFFFF9466BB1794/image-size/large?v=v2&amp;amp;px=999" role="button" title="2025-07-01 09_28_08-scr2.png" alt="2025-07-01 09_28_08-scr2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Did something change in Dynatrace and jscode tasks or am I missing something. Any help and advice will be much appreciated.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Charl&lt;/P&gt;</description>
      <pubDate>Tue, 01 Jul 2025 08:07:12 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Automations/Workflow-Send-Email-Task-Error/m-p/280501#M2250</guid>
      <dc:creator>Charl_Pienaar</dc:creator>
      <dc:date>2025-07-01T08:07:12Z</dc:date>
    </item>
    <item>
      <title>Re: Workflow Send Email Task Error</title>
      <link>https://community.dynatrace.com/t5/Automations/Workflow-Send-Email-Task-Error/m-p/280712#M2251</link>
      <description>&lt;P&gt;Hi I found the issue and its resolved.&lt;/P&gt;&lt;P&gt;Please see link below.&lt;/P&gt;&lt;P&gt;&lt;A title="https://community.dynatrace.com/t5/dynatrace-tips/tips-understanding-recipient-handling-in-quot-dynatrace-send/m-p/279521" href="https://community.dynatrace.com/t5/Dynatrace-tips/Tips-Understanding-Recipient-Handling-in-quot-Dynatrace-Send/m-p/279521" target="_blank" rel="noreferrer noopener"&gt;https://community.dynatrace.com/t5/Dynatrace-tips/Tips-Understanding-Recipient-Handling-in-quot-Dynatrace-Send/m-p/279521&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Tips: Understanding Recipient Handling in "Dynatrace Send Email Action" vs "M365 Send Email Action" - Dynatrace Community&lt;/P&gt;&lt;P&gt;Dynatrace Tips: Handling Multiple Recipients in Email Actions When configuring email notifications in Dynatrace, it's important to understand how&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Charl&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Jul 2025 13:42:22 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Automations/Workflow-Send-Email-Task-Error/m-p/280712#M2251</guid>
      <dc:creator>Charl_Pienaar</dc:creator>
      <dc:date>2025-07-03T13:42:22Z</dc:date>
    </item>
  </channel>
</rss>

