Workflow Send Email Task Error

Good Morning,

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.

The error that I get is as follows

Detailed log

Email Send Task

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.

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.

Did something change in Dynatrace and jscode tasks or am I missing something. Any help and advice will be much appreciated.

Thanks

Charl

Hi I found the issue and its resolved.

Please see link below.

https://community.dynatrace.com/t5/Dynatrace-tips/Tips-Understanding-Recipient-Handling-in-quot-Dynatrace-Send/m-p/279521

Tips: Understanding Recipient Handling in “Dynatrace Send Email Action” vs “M365 Send Email Action” - Dynatrace Community

Dynatrace Tips: Handling Multiple Recipients in Email Actions When configuring email notifications in Dynatrace, it’s important to understand how

Regards

Charl