Problems are automatically opened by Dynatrace when anomalies or alert conditions are detected in your environment.
In Workflows, build a simple workflow that listens to problems and automatically sends
email alerts.
This guide shows you how.
In this tutorial, you'll learn how to alert your team in real time by emailing the details of a new problem to a specific email recipient.
At a short glance, you will:
Untitled workflow
, and enter a meaningful name.
The workflow type is set to simple workflow by default.Add an event trigger for Davis problems.
Add an email notification.
Select Add task on the trigger node.
In the Choose action section, select Send email action type. Give the action type a meaningful title.
Enter the recipient's email address in the To field.
In the Subject field, enter the following:
{{ event()["event.status"] }} Problem {{ event()["display_id"] }}: {{ event()["event.category"] }} {{ event()["event.name"] }}
In the Message field, enter the following:
{{ event()["event.description"] }}Go to problem: {{ environment().url }}//ui/apps/dynatrace.davis.problems/problem/{{ event()["event.id"] }}
This configuration uses event context placeholders to dynamically populate the email with relevant problem details .
The Davis problems trigger returns the problem record.
You can use any field from the problem record, stored in dt.davis.problems
, in the email notification.
Save and run the workflow to get email notifications.
Verify that your workflow is working as expected:
Go to your workflow.
Select Run.
Select Run again to execute the workflow.
After the workflow has executed, you should see a Success state at the top of the workflow editor. In case of an error, you can view the log output at the bottom of the editor for troubleshooting.
You’ve created a simple workflow that sends email notifications when problems are opened or closed. This setup helps to ensure that your team is immediately informed about critical issues in your environment.
You can extend this workflow by
This workflow is a great starting point for automating incident response and improving operational awareness.