# \#automations

**URL:** https://community.dynatrace.com/tag/automations/365.md

[Latest](https://community.dynatrace.com/latest.md) · [Categories](https://community.dynatrace.com/categories.md) · [Tags](https://community.dynatrace.com/tags.md)

---

## [Managing Dynatrace Workflows as Code: Importing Existing Workflows into Terraform with Spacelift CI/CD](https://community.dynatrace.com/t/managing-dynatrace-workflows-as-code-importing-existing-workflows-into-terraform-with-spacelift-ci-cd/57791)

<div class="topic-metadata">

**Author:** [@Georgi\_V](https://community.dynatrace.com/u/Georgi_V)\
**Replies:** 1\
**Last updated:** [November 17, 2026, 6:36am UTC](https://community.dynatrace.com/t/managing-dynatrace-workflows-as-code-importing-existing-workflows-into-terraform-with-spacelift-ci-cd/57791 "2026-11-17T06:36:08Z")

</div>

We recently moved our Dynatrace workflows into Terraform and got them under full CI/CD with drift detection. If you have workflows built by hand in the UI and want them versioned, reviewed, and protected from drift, here…

---

## [Is there a way to run an executable file on a set path from a workflow action?](https://community.dynatrace.com/t/is-there-a-way-to-run-an-executable-file-on-a-set-path-from-a-workflow-action/53016)

<div class="topic-metadata">

**Author:** [@derick\_hewetson](https://community.dynatrace.com/u/derick_hewetson)\
**Replies:** 4\
**Last updated:** [November 10, 2026, 12:38pm UTC](https://community.dynatrace.com/t/is-there-a-way-to-run-an-executable-file-on-a-set-path-from-a-workflow-action/53016 "2026-11-10T12:38:31Z")

</div>

I am trying to find a way to run an executable file on a remote host using a workflow action. I don’t see any existing options on the Hub. Has anyone tried something like this? I suppose it is theoretically possible, bu…

---

## [End to End Monitoring and alerting as code with dtctl and GitHub Co-Pilot](https://community.dynatrace.com/t/end-to-end-monitoring-and-alerting-as-code-with-dtctl-and-github-co-pilot/57069)

<div class="topic-metadata">

**Author:** [@Georgi\_V](https://community.dynatrace.com/u/Georgi_V)\
**Replies:** 2\
**Last updated:** [October 13, 2026, 1:29pm UTC](https://community.dynatrace.com/t/end-to-end-monitoring-and-alerting-as-code-with-dtctl-and-github-co-pilot/57069 "2026-10-13T13:29:05Z")

</div>

I just learned that Dynatrace dtctl cli also supports OS Service monitoring policies as YAML. This is great for automation, let’s say you want to monitor specific OS services and trigger alerting workflows on specific c…

---

## [Accessing a credential vault in a workflow without coding, using a custom Header field](https://community.dynatrace.com/t/accessing-a-credential-vault-in-a-workflow-without-coding-using-a-custom-header-field/52505)

<div class="topic-metadata">

**Author:** [@jegron](https://community.dynatrace.com/u/jegron)\
**Replies:** 8\
**Last updated:** [September 14, 2026, 2:50pm UTC](https://community.dynatrace.com/t/accessing-a-credential-vault-in-a-workflow-without-coding-using-a-custom-header-field/52505 "2026-09-14T14:50:11Z")

</div>

Hi, Is there a way to access the vault without writing code, using only header configuration—such as through authentication fields? My header need to be "MyKey: my\_token" Thanks!

---

## [Drift Detection for Dynatrace Workflows with GitHub Actions](https://community.dynatrace.com/t/drift-detection-for-dynatrace-workflows-with-github-actions/56877)

<div class="topic-metadata">

**Author:** [@Georgi\_V](https://community.dynatrace.com/u/Georgi_V)\
**Replies:** 1\
**Last updated:** [September 7, 2026, 8:30am UTC](https://community.dynatrace.com/t/drift-detection-for-dynatrace-workflows-with-github-actions/56877 "2026-09-07T08:30:41Z")

</div>

Drift Detection for Dynatrace Workflows with GitHub Actions How we keep a Git repo as the source of truth for dozens of Dynatrace Automation Workflows — automatically The Problem: Workflows Drift Dynatrace Automation W…

---

## [Workflow problem trigger negate tag](https://community.dynatrace.com/t/workflow-problem-trigger-negate-tag/56868)

<div class="topic-metadata">

**Author:** [@AntonPineiro](https://community.dynatrace.com/u/AntonPineiro)\
**Replies:** 1\
**Last updated:** [September 3, 2026, 2:22pm UTC](https://community.dynatrace.com/t/workflow-problem-trigger-negate-tag/56868 "2026-09-03T14:22:48Z")

</div>

Hi, We can filter affected entities by tag Event triggers for workflows — Dynatrace Docs Can we filtering entities does not contains a tag? Do we have a way to negate or invert? Custom action? Thank you! Best rega…

---

## [Bigquery connector for Workflows](https://community.dynatrace.com/t/bigquery-connector-for-workflows/56805)

<div class="topic-metadata">

**Author:** [@Caponcet](https://community.dynatrace.com/u/Caponcet)\
**Replies:** 0\
**Last updated:** [August 25, 2026, 2:13pm UTC](https://community.dynatrace.com/t/bigquery-connector-for-workflows/56805 "2026-08-25T14:13:47Z")

</div>

Hello, we’d like to send metrics from Dynatrace workflow to a bigquery table. I did not notice a dedicated connector for this. Is it already and easily possible ? Best regards, Charles

---

## [Managing Dynatrace Automation Workflows as Code with dtctl and GitHub Copilot](https://community.dynatrace.com/t/managing-dynatrace-automation-workflows-as-code-with-dtctl-and-github-copilot/56636)

<div class="topic-metadata">

**Author:** [@Georgi\_V](https://community.dynatrace.com/u/Georgi_V)\
**Replies:** 0\
**Last updated:** [August 4, 2026, 9:15pm UTC](https://community.dynatrace.com/t/managing-dynatrace-automation-workflows-as-code-with-dtctl-and-github-copilot/56636 "2026-08-04T21:15:56Z")

</div>

Managing Dynatrace Automation Workflows as Code with dtctl and GitHub Copilot Infrastructure as Code for Dynatrace Workflows — a field guide from the trenches Why Workflows as Code? Dynatrace Automation Workflows are p…

---

## [Workflow cross-tenant?](https://community.dynatrace.com/t/workflow-cross-tenant/56547)

<div class="topic-metadata">

**Author:** [@AntonPineiro](https://community.dynatrace.com/u/AntonPineiro)\
**Replies:** 3\
**Last updated:** [July 31, 2026, 7:31am UTC](https://community.dynatrace.com/t/workflow-cross-tenant/56547 "2026-07-31T07:31:05Z")

</div>

Hi, We have a workflow which execute DQL queries and send a report with problems opened by email. Some entities are in another tenant. Do we have a way to get those problems, in another tenant, in same workflow? Have …

---

## [Setting a condition that skip a step if the trigger returns 0](https://community.dynatrace.com/t/setting-a-condition-that-skip-a-step-if-the-trigger-returns-0/56382)

<div class="topic-metadata">

**Author:** [@erh\_inetum](https://community.dynatrace.com/u/erh_inetum)\
**Replies:** 7\
**Last updated:** [July 29, 2026, 11:32am UTC](https://community.dynatrace.com/t/setting-a-condition-that-skip-a-step-if-the-trigger-returns-0/56382 "2026-07-29T11:32:31Z")

</div>

Hi, I would like creating a workflow to be triggered when the events that have been marked as ‘closed’ and have a specific tag. And in the first step following the trigger, set a condition so that the step is skipped if…

---

## [Terraform provider Platform tokens/OAuth client resource](https://community.dynatrace.com/t/terraform-provider-platform-tokens-oauth-client-resource/56306)

<div class="topic-metadata">

**Author:** [@mari\_steiner](https://community.dynatrace.com/u/mari_steiner)\
**Replies:** 2\
**Last updated:** [July 29, 2026, 8:57am UTC](https://community.dynatrace.com/t/terraform-provider-platform-tokens-oauth-client-resource/56306 "2026-07-29T08:57:55Z")

</div>

We’d like to manage via the dynatrace terraform provider: Platform tokens OAuth clients could this be added? thanks a lot!

---

## [How to combine two databaseHostNames conditions into one automated tagging rule](https://community.dynatrace.com/t/how-to-combine-two-databasehostnames-conditions-into-one-automated-tagging-rule/56484)

<div class="topic-metadata">

**Author:** [@cmontesdeoca](https://community.dynatrace.com/u/cmontesdeoca)\
**Replies:** 1\
**Last updated:** [July 28, 2026, 3:35am UTC](https://community.dynatrace.com/t/how-to-combine-two-databasehostnames-conditions-into-one-automated-tagging-rule/56484 "2026-07-28T03:35:06Z")

</div>

Hi Community, I need to apply an automated tag to some databaseHostNames, but I can only do this with two separate rules, even though both host names start the same way. Is there a way to apply this tag using only one ru…

---

## [How do I use the result from a previous JavaScript task into a new JavaScript task?](https://community.dynatrace.com/t/how-do-i-use-the-result-from-a-previous-javascript-task-into-a-new-javascript-task/56568)

<div class="topic-metadata">

**Author:** [@badgerfifteen](https://community.dynatrace.com/u/badgerfifteen)\
**Replies:** 1\
**Last updated:** [July 27, 2026, 11:29pm UTC](https://community.dynatrace.com/t/how-do-i-use-the-result-from-a-previous-javascript-task-into-a-new-javascript-task/56568 "2026-07-27T23:29:12Z")

</div>

I have a previous JavaScript task named get\_monitoring\_config which returns a JSON. However, it is returning as ‘undefined’ in the console so I can’t use it. Here is a better snippet of my code: // optional import of s…

---

## [Execute Davis problem trigger workflow in trial mode](https://community.dynatrace.com/t/execute-davis-problem-trigger-workflow-in-trial-mode/53636)

<div class="topic-metadata">

**Author:** [@room335](https://community.dynatrace.com/u/room335)\
**Replies:** 3\
**Last updated:** [July 14, 2026, 8:19am UTC](https://community.dynatrace.com/t/execute-davis-problem-trigger-workflow-in-trial-mode/53636 "2026-07-14T08:19:20Z")

</div>

Hello everyone, I’m very new to Dynatrace and I apologize asking a basic question. I’m using a free trial instance and trying to set up a workflow triggered by a Davis Problem trigger. The workflow is extremely simple: …

---

## [Site Reliability Guardian Validation Failed](https://community.dynatrace.com/t/site-reliability-guardian-validation-failed/56374)

<div class="topic-metadata">

**Author:** [@Ganeshmete77](https://community.dynatrace.com/u/Ganeshmete77)\
**Replies:** 3\
**Last updated:** [July 13, 2026, 1:47pm UTC](https://community.dynatrace.com/t/site-reliability-guardian-validation-failed/56374 "2026-07-13T13:47:11Z")

</div>

Hi Team, I need help to understand how Dynatrace Site Reliability Guardian works, because i have created some guardian in Dynatrace but they are failing when there is slight change in metric values. And the threshold d…

---

## [Get values from category and subcategory "create incident" Service Now step in a Workflow](https://community.dynatrace.com/t/get-values-from-category-and-subcategory-create-incident-service-now-step-in-a-workflow/56427)

<div class="topic-metadata">

**Author:** [@erh\_inetum](https://community.dynatrace.com/u/erh_inetum)\
**Replies:** 0\
**Last updated:** [July 13, 2026, 10:55am UTC](https://community.dynatrace.com/t/get-values-from-category-and-subcategory-create-incident-service-now-step-in-a-workflow/56427 "2026-07-13T10:55:21Z")

</div>

Hi, We’ve created a workflow to create incidents in Service Now. It’s working fine. But we aren´t able to get the categories and subcategories. According to the documentation, in the fields category and subcategory we…

---

## [Error evaluating custom condition. Undefined variables: list object has no element 0.](https://community.dynatrace.com/t/error-evaluating-custom-condition-undefined-variables-list-object-has-no-element-0/56340)

<div class="topic-metadata">

**Author:** [@erh\_inetum](https://community.dynatrace.com/u/erh_inetum)\
**Replies:** 5\
**Last updated:** [July 2, 2026, 5:08am UTC](https://community.dynatrace.com/t/error-evaluating-custom-condition-undefined-variables-list-object-has-no-element-0/56340 "2026-07-02T05:08:34Z")

</div>

Hi, I’ve created a workflow for Dynatrace-Service Now integration. On this step, it returns this error: But the previous step has State “Success” The condition of the step that is failing is this: Does anyo…

---

## [From Manual Clicks to Code: Managing Dynatrace Extension Configurations at Scale](https://community.dynatrace.com/t/from-manual-clicks-to-code-managing-dynatrace-extension-configurations-at-scale/56307)

<div class="topic-metadata">

**Author:** [@dczupryn-dt](https://community.dynatrace.com/u/dczupryn-dt)\
**Replies:** 0\
**Last updated:** [June 26, 2026, 12:12pm UTC](https://community.dynatrace.com/t/from-manual-clicks-to-code-managing-dynatrace-extension-configurations-at-scale/56307 "2026-06-26T12:12:11Z")

</div>

The Problem Nobody Talks About Every our Dynatrace tenant is a snowflake.When the Demoability team operates six Dynatrace environments — from playground-dev on the sprint ring to the customer-facing live tenant — each on…

---

## [Workflow if statement](https://community.dynatrace.com/t/workflow-if-statement/56214)

<div class="topic-metadata">

**Author:** [@Nathanieltat](https://community.dynatrace.com/u/Nathanieltat)\
**Replies:** 5\
**Last updated:** [June 24, 2026, 7:28am UTC](https://community.dynatrace.com/t/workflow-if-statement/56214 "2026-06-24T07:28:52Z")

</div>

Hi All, I have tried to understand the conditions parts on the workflows but i’m struggling. Im wanting to use the same workflow rather than making two. Im wanting if it is the 250 MS alert to go down the p2 tree and n…

---

## [Terraform provider backend state](https://community.dynatrace.com/t/terraform-provider-backend-state/55892)

<div class="topic-metadata">

**Author:** [@tarjei](https://community.dynatrace.com/u/tarjei)\
**Replies:** 3\
**Last updated:** [June 4, 2026, 4:32pm UTC](https://community.dynatrace.com/t/terraform-provider-backend-state/55892 "2026-06-04T16:32:56Z")

</div>

Hi! I would like to import state of a set of configurations directly to my backend (s3 bucket / azurerm) but I cannot see any way of tweaking this. Any suggestions?

---

## [Automating Dynatrace Image Updates in a Private Registry Without Using latest](https://community.dynatrace.com/t/automating-dynatrace-image-updates-in-a-private-registry-without-using-latest/55961)

<div class="topic-metadata">

**Author:** [@arobayo17](https://community.dynatrace.com/u/arobayo17)\
**Replies:** 1\
**Last updated:** [June 2, 2026, 4:34am UTC](https://community.dynatrace.com/t/automating-dynatrace-image-updates-in-a-private-registry-without-using-latest/55961 "2026-06-02T04:34:24Z")

</div>

Hello, We are currently exploring how to automate version updates for Dynatrace images (Dynatrace Operator, ActiveGate, Code Modules, etc.) in a private registry. Based on the documentation, an example using skopeo wou…

---

## [Resolve undefined variables error when evaluating loop expression in workflows](https://community.dynatrace.com/t/resolve-undefined-variables-error-when-evaluating-loop-expression-in-workflows/52710)

<div class="topic-metadata">

**Author:** [@p\_devulapalli](https://community.dynatrace.com/u/p_devulapalli)\
**Replies:** 2\
**Last updated:** [May 18, 2026, 5:56pm UTC](https://community.dynatrace.com/t/resolve-undefined-variables-error-when-evaluating-loop-expression-in-workflows/52710 "2026-05-18T17:56:51Z")

</div>

I am trying to create a workflow using a loop task which has a input from a DQL query. The loop task is referenced inside a HTTP request task . I keep getting the below error, looking for advice on what is that I am miss…

---

## [MCP Server Challenge entry #4: Automation of the group creation in Dynatrace, using Dynatrace APIs](https://community.dynatrace.com/t/mcp-server-challenge-entry-4-automation-of-the-group-creation-in-dynatrace-using-dynatrace-apis/55648)

<div class="topic-metadata">

**Author:** [@balarin](https://community.dynatrace.com/u/balarin)\
**Replies:** 1\
**Last updated:** [May 11, 2026, 2:42pm UTC](https://community.dynatrace.com/t/mcp-server-challenge-entry-4-automation-of-the-group-creation-in-dynatrace-using-dynatrace-apis/55648 "2026-05-11T14:42:25Z")

</div>

The Dynatrace Group Creation was a manual process that required over 50 steps, we wrote a PowerShell script that uses the Dynatrace APIs to fully automate the process. This script cuts down administrative workload. A sav…

---

## [Dynatrace MCP Server and N8N, let's discuss!](https://community.dynatrace.com/t/dynatrace-mcp-server-and-n8n-lets-discuss/54975)

<div class="topic-metadata">

**Author:** [@MaximilianoML](https://community.dynatrace.com/u/MaximilianoML)\
**Replies:** 9\
**Last updated:** [May 11, 2026, 10:40am UTC](https://community.dynatrace.com/t/dynatrace-mcp-server-and-n8n-lets-discuss/54975 "2026-05-11T10:40:10Z")

</div>

Hi everyone! I’ve been diving into the recent release of the Dynatrace MCP (Model Context Protocol) Server and its potential when paired with n8n. Given that MCP is becoming the “universal connector” for AI agents, the …

---

## [Disabling/enabling AWS accounts](https://community.dynatrace.com/t/disabling-enabling-aws-accounts/55852)

<div class="topic-metadata">

**Author:** [@erh\_inetum](https://community.dynatrace.com/u/erh_inetum)\
**Replies:** 0\
**Last updated:** [May 8, 2026, 12:32pm UTC](https://community.dynatrace.com/t/disabling-enabling-aws-accounts/55852 "2026-05-08T12:32:47Z")

</div>

Hi, We would like to create an automation to disable/enable AWS accounts. Manually it’s possible to do here: But, does anyone know if there is any API call to get this functionality? As far as I know “builtin:clou…

---

## [Get information from Davis problem trigger](https://community.dynatrace.com/t/get-information-from-davis-problem-trigger/46098)

<div class="topic-metadata">

**Author:** [@Marius\_Hell](https://community.dynatrace.com/u/Marius_Hell)\
**Replies:** 4\
**Last updated:** [March 27, 2026, 12:44pm UTC](https://community.dynatrace.com/t/get-information-from-davis-problem-trigger/46098 "2026-03-27T12:44:43Z")

</div>

Hi community, i would like to send problem information to our to ticket system, to inform our customer. Important for this worklfow is the information, which entity is reporting. We send the information to the teams in d…

---

## [Monaco account command: unable to update a group (HTTP 400) {\\"error\\":true,\\"payload\\":null,\\"message\\":\\"Cannot modify SCIM grou](https://community.dynatrace.com/t/monaco-account-command-unable-to-update-a-group-http-400-error-true-payload-null-message-cannot-modify-scim-grou/55363)

<div class="topic-metadata">

**Author:** [@erh\_inetum](https://community.dynatrace.com/u/erh_inetum)\
**Replies:** 3\
**Last updated:** [March 26, 2026, 7:05am UTC](https://community.dynatrace.com/t/monaco-account-command-unable-to-update-a-group-http-400-error-true-payload-null-message-cannot-modify-scim-grou/55363 "2026-03-26T07:05:16Z")

</div>

Hi, I’m trying to assign policies and boundaries for many groups using Monaco The groups were deployed in Account Management using SCIM and now we’re trying to assign policies and boundaries to each group using Monaco. …

---

## [Automatically enable or disable monitoring for non-production environments](https://community.dynatrace.com/t/automatically-enable-or-disable-monitoring-for-non-production-environments/54229)

<div class="topic-metadata">

**Author:** [@jannick\_deturck](https://community.dynatrace.com/u/jannick_deturck)\
**Replies:** 2\
**Last updated:** [March 18, 2026, 8:13pm UTC](https://community.dynatrace.com/t/automatically-enable-or-disable-monitoring-for-non-production-environments/54229 "2026-03-18T20:13:03Z")

</div>

FYI: Dynatrace SaaS Tenant with a DPS license I would like to make use of a workflow to automatically DISABLE Dynatrace monitoring outside business hours (before 7 AM and after 6 PM on weekdays, and 24/7 during weekends…

---

## [How to enable failure notifications when a workflow has failed ?](https://community.dynatrace.com/t/how-to-enable-failure-notifications-when-a-workflow-has-failed/55158)

<div class="topic-metadata">

**Author:** [@RamkumarTIH](https://community.dynatrace.com/u/RamkumarTIH)\
**Replies:** 2\
**Last updated:** [March 2, 2026, 9:29pm UTC](https://community.dynatrace.com/t/how-to-enable-failure-notifications-when-a-workflow-has-failed/55158 "2026-03-02T21:29:02Z")

</div>

Hi, Is there an option to monitor the Workflows and trigger a notification when the workflow is failed due to some reason ? Thanks, Ram.

---

## [How do I get the previous result from a Javascript task in Workflows?](https://community.dynatrace.com/t/how-do-i-get-the-previous-result-from-a-javascript-task-in-workflows/55154)

<div class="topic-metadata">

**Author:** [@badgerfifteen](https://community.dynatrace.com/u/badgerfifteen)\
**Replies:** 1\
**Last updated:** [March 2, 2026, 2:44pm UTC](https://community.dynatrace.com/t/how-do-i-get-the-previous-result-from-a-javascript-task-in-workflows/55154 "2026-03-02T14:44:16Z")

</div>

Hi, I have some Javascript code which gets the current date and formats it into two-digit segments. Example: 260301 This is the code: // optional import of sdk modules import { execution } from '@dynatrace-sdk/automat…

[Next page](https://community.dynatrace.com/tag/automations/365.md?match_all_tags=true&page=1&tags%5B%5D=automations)
