# Automations

**URL:** https://community.dynatrace.com/c/platform/automations/86.md?page=8

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

**Page:** 9

---

## [Call workflow using Dynatrace API and pass workflow input parameters](https://community.dynatrace.com/t/call-workflow-using-dynatrace-api-and-pass-workflow-input-parameters/45957)

<div class="topic-metadata">

**Author:** [@heramb\_sawant](https://community.dynatrace.com/u/heramb_sawant)\
**Replies:** 5\
**Last updated:** [July 5, 2024, 5:38pm UTC](https://community.dynatrace.com/t/call-workflow-using-dynatrace-api-and-pass-workflow-input-parameters/45957 "2024-07-05T17:38:18Z")

</div>

Hi All, I have workflow having task of SRG validation and this task needs input as test timeframe to evaluate srg. Howe we can call this workflow using dynatrace API and how we can pass SRG task input from API?? Rega…

---

## [Automatically triggered workflows based on event](https://community.dynatrace.com/t/automatically-triggered-workflows-based-on-event/46387)

<div class="topic-metadata">

**Author:** [@heramb\_sawant](https://community.dynatrace.com/u/heramb_sawant)\
**Replies:** 2\
**Last updated:** [July 5, 2024, 10:44am UTC](https://community.dynatrace.com/t/automatically-triggered-workflows-based-on-event/46387 "2024-07-05T10:44:03Z")

</div>

Hi, I have built workflows for SRG validation and want to trigger this workflow based on event/bizevent. Can somebody please guide me on how to write conditions in workflow and how this works automatically? Do I have …

---

## [How can I use ex.result(:xxxxx") with multiple pre-tasks](https://community.dynatrace.com/t/how-can-i-use-ex-result-xxxxx-with-multiple-pre-tasks/46414)

<div class="topic-metadata">

**Author:** [@henk\_stobbe](https://community.dynatrace.com/u/henk_stobbe)\
**Replies:** 4\
**Last updated:** [July 2, 2024, 1:17pm UTC](https://community.dynatrace.com/t/how-can-i-use-ex-result-xxxxx-with-multiple-pre-tasks/46414 "2024-07-02T13:17:50Z")

</div>

Hello workflow fans! 😀 I have a task that can be triggered by two predecessors. I want to use there result in this task. Is there a decent way to do this? Or do I need to a “if empty then the other on”? KR Henk

---

## [Looping through items in a collection of records - Workflows](https://community.dynatrace.com/t/looping-through-items-in-a-collection-of-records-workflows/46370)

<div class="topic-metadata">

**Author:** [@badgerfifteen](https://community.dynatrace.com/u/badgerfifteen)\
**Replies:** 2\
**Last updated:** [June 28, 2024, 1:38pm UTC](https://community.dynatrace.com/t/looping-through-items-in-a-collection-of-records-workflows/46370 "2024-06-28T13:38:52Z")

</div>

What I need is to loop through all of the records from a DQL output and have it formatted in a human-readable format. Here is my DQL query timeseries percent = avg(dt.host.disk.used.percent), by: { dt.entity.host, dt.e…

---

## [Workflows and Jira Integration Error with Transition Status Field](https://community.dynatrace.com/t/workflows-and-jira-integration-error-with-transition-status-field/46257)

<div class="topic-metadata">

**Author:** [@scott-comeaux](https://community.dynatrace.com/u/scott-comeaux)\
**Replies:** 1\
**Last updated:** [June 27, 2024, 6:48am UTC](https://community.dynatrace.com/t/workflows-and-jira-integration-error-with-transition-status-field/46257 "2024-06-27T06:48:25Z")

</div>

Inside Dynatrace → Workflows. I was using the Jira Integration Tasks (Create Jira Ticket, and Transition Ticket Status). My goal was to transition Open Jira Tickets by Passing the “Key” to the transition task dynamically…

---

## [run workflow param uniqueQualifier not documented](https://community.dynatrace.com/t/run-workflow-param-uniquequalifier-not-documented/46163)

<div class="topic-metadata">

**Author:** [@henk\_stobbe](https://community.dynatrace.com/u/henk_stobbe)\
**Replies:** 2\
**Last updated:** [June 19, 2024, 5:35pm UTC](https://community.dynatrace.com/t/run-workflow-param-uniquequalifier-not-documented/46163 "2024-06-19T17:35:08Z")

</div>

Hello, When triggering a workflow by API, you can use an extra parameter : uniqueQualifier As this is not documented, who can explain to me where this parameter is used for? Seems setting it prevents running the work…

---

## [How to retrieve workflow return value's by  API](https://community.dynatrace.com/t/how-to-retrieve-workflow-return-values-by-api/46194)

<div class="topic-metadata">

**Author:** [@henk\_stobbe](https://community.dynatrace.com/u/henk_stobbe)\
**Replies:** 1\
**Last updated:** [June 19, 2024, 4:54am UTC](https://community.dynatrace.com/t/how-to-retrieve-workflow-return-values-by-api/46194 "2024-06-19T04:54:54Z")

</div>

Hello, I was looking for a way to retrieve the return value of a workflow/execurion? Is this possible? KR Henk

---

## [workflow with http request](https://community.dynatrace.com/t/workflow-with-http-request/46169)

<div class="topic-metadata">

**Author:** [@henk\_stobbe](https://community.dynatrace.com/u/henk_stobbe)\
**Replies:** 3\
**Last updated:** [June 18, 2024, 8:09am UTC](https://community.dynatrace.com/t/workflow-with-http-request/46169 "2024-06-18T08:09:34Z")

</div>

Good morning, As shown below, it would be nice to use variables in the http request: So my questions is this possible, or do I need to write my own fetch request? And I assume you need multiple returns for multiple…

---

## [Workflows Davis problem trigger](https://community.dynatrace.com/t/workflows-davis-problem-trigger/46139)

<div class="topic-metadata">

**Author:** [@JhonU](https://community.dynatrace.com/u/JhonU)\
**Replies:** 3\
**Last updated:** [June 17, 2024, 2:04pm UTC](https://community.dynatrace.com/t/workflows-davis-problem-trigger/46139 "2024-06-17T14:04:31Z")

</div>

Hello everyone, I’m starting out with automations with workflows. I am making a worflow that, based on a Davis problem trigger, assigns a category between 3 levels that I have defined according to the time of day. For th…

---

## [What are adhoc functions in workflows?](https://community.dynatrace.com/t/what-are-adhoc-functions-in-workflows/46094)

<div class="topic-metadata">

**Author:** [@henk\_stobbe](https://community.dynatrace.com/u/henk_stobbe)\
**Replies:** 3\
**Last updated:** [June 17, 2024, 11:09am UTC](https://community.dynatrace.com/t/what-are-adhoc-functions-in-workflows/46094 "2024-06-17T11:09:44Z")

</div>

Good morning, Getting confused by below options, I assume, reading the documentation You add a code section in your Notebook and add custom code, which we refer to as an "Ad-hoc function. This is in workflows also a t…

---

## [host availability slo](https://community.dynatrace.com/t/host-availability-slo/46053)

<div class="topic-metadata">

**Author:** [@santruan](https://community.dynatrace.com/u/santruan)\
**Replies:** 4\
**Last updated:** [June 14, 2024, 8:56pm UTC](https://community.dynatrace.com/t/host-availability-slo/46053 "2024-06-14T20:56:49Z")

</div>

Hi Team, I request your help please, is it possible to configure a slo to measure host availability? How could i get it?

---

## [Workflow triggered by API how to give results back to the caller](https://community.dynatrace.com/t/workflow-triggered-by-api-how-to-give-results-back-to-the-caller/46080)

<div class="topic-metadata">

**Author:** [@henk\_stobbe](https://community.dynatrace.com/u/henk_stobbe)\
**Replies:** 1\
**Last updated:** [June 12, 2024, 12:43pm UTC](https://community.dynatrace.com/t/workflow-triggered-by-api-how-to-give-results-back-to-the-caller/46080 "2024-06-12T12:43:53Z")

</div>

Hello, (I promise, last one for today,) When a workflow is triggered by API, I assume you can use the executionID you get back, you can later retrieve the Json that is created with all results and returns? The “client…

---

## [Workflow run manually how to add parameters](https://community.dynatrace.com/t/workflow-run-manually-how-to-add-parameters/46072)

<div class="topic-metadata">

**Author:** [@henk\_stobbe](https://community.dynatrace.com/u/henk_stobbe)\
**Replies:** 3\
**Last updated:** [June 12, 2024, 12:12pm UTC](https://community.dynatrace.com/t/workflow-run-manually-how-to-add-parameters/46072 "2024-06-12T12:12:02Z")

</div>

Hello, Another basic workflow question. If I want to test my workflow manually, and I am depending on parameters that should be given in a POST trigger. I need to provision this in my code like: if param is empty th…

---

## [Choices in workflow flow](https://community.dynatrace.com/t/choices-in-workflow-flow/46075)

<div class="topic-metadata">

**Author:** [@henk\_stobbe](https://community.dynatrace.com/u/henk_stobbe)\
**Replies:** 2\
**Last updated:** [June 12, 2024, 12:09pm UTC](https://community.dynatrace.com/t/choices-in-workflow-flow/46075 "2024-06-12T12:09:48Z")

</div>

Sorry for the cryptic subject, But simply stated, all components in a workflow will run. e.g. There is “no-if-then”? So this means you must skip code in a component programmatically to mimic this. And I assume you can…

---

## [Question about javascript (struture) used in workflow](https://community.dynatrace.com/t/question-about-javascript-struture-used-in-workflow/46041)

<div class="topic-metadata">

**Author:** [@henk\_stobbe](https://community.dynatrace.com/u/henk_stobbe)\
**Replies:** 2\
**Last updated:** [June 11, 2024, 11:33am UTC](https://community.dynatrace.com/t/question-about-javascript-struture-used-in-workflow/46041 "2024-06-11T11:33:23Z")

</div>

Hello all, Maybe a beginners question, but what is the reason in that in the documentation this is used: export default async function ({ execution\_id }) ?? You define a function “execution\_id” that will be called by …

---

## [Access scope for token triggering a workflow by API](https://community.dynatrace.com/t/access-scope-for-token-triggering-a-workflow-by-api/46016)

<div class="topic-metadata">

**Author:** [@henk\_stobbe](https://community.dynatrace.com/u/henk_stobbe)\
**Replies:** 1\
**Last updated:** [June 10, 2024, 6:05pm UTC](https://community.dynatrace.com/t/access-scope-for-token-triggering-a-workflow-by-api/46016 "2024-06-10T18:05:13Z")

</div>

Hello, I have created a workflow, and I want to trigger it by API, for this I need to generate a personal token, but the menu asks me for a scope. As I understand it, I do not need a scope? What am I not understanding? …

---

## [Calling the API to start a workflow, is there a way to add and consume parameters?](https://community.dynatrace.com/t/calling-the-api-to-start-a-workflow-is-there-a-way-to-add-and-consume-parameters/45939)

<div class="topic-metadata">

**Author:** [@henk\_stobbe](https://community.dynatrace.com/u/henk_stobbe)\
**Replies:** 3\
**Last updated:** [June 10, 2024, 7:56am UTC](https://community.dynatrace.com/t/calling-the-api-to-start-a-workflow-is-there-a-way-to-add-and-consume-parameters/45939 "2024-06-10T07:56:05Z")

</div>

Hello, Maybe I am overlooking, but how can I add parameters to the API to start a workflow? And how do I consume these parameters in js? KR Henk

---

## [Notification problems with Telegram](https://community.dynatrace.com/t/notification-problems-with-telegram/45963)

<div class="topic-metadata">

**Author:** [@MonseO](https://community.dynatrace.com/u/MonseO)\
**Replies:** 4\
**Last updated:** [June 7, 2024, 4:53pm UTC](https://community.dynatrace.com/t/notification-problems-with-telegram/45963 "2024-06-07T16:53:26Z")

</div>

Hello! I have been following this tutorial about Telegram,s integration with Dyna: With the test notification I’m already receiving messages from the bot, not from the chat group which is what I want. After I sent t…

---

## [Integrate same dynatrace tenant to 2 serviceNow instances](https://community.dynatrace.com/t/integrate-same-dynatrace-tenant-to-2-servicenow-instances/45976)

<div class="topic-metadata">

**Author:** [@Mhamed](https://community.dynatrace.com/u/Mhamed)\
**Replies:** 1\
**Last updated:** [June 7, 2024, 11:48am UTC](https://community.dynatrace.com/t/integrate-same-dynatrace-tenant-to-2-servicenow-instances/45976 "2024-06-07T11:48:50Z")

</div>

Hi Team, I need to integrate two serviceNow instances for the same Dynatrace tenant (environment). Regards

---

## [Using javascript code on Dynatrace](https://community.dynatrace.com/t/using-javascript-code-on-dynatrace/45411)

<div class="topic-metadata">

**Author:** [@soportetr](https://community.dynatrace.com/u/soportetr)\
**Replies:** 1\
**Last updated:** [June 5, 2024, 8:36am UTC](https://community.dynatrace.com/t/using-javascript-code-on-dynatrace/45411 "2024-06-05T08:36:34Z")

</div>

Hi everyone, I would like to execute a javascript code to call a database inside Dynatrace and I have seen that in the new dashboards and notebooks I can add external code and execute them: To do this, do I have …

---

## [Set resolution to SLO](https://community.dynatrace.com/t/set-resolution-to-slo/42018)

<div class="topic-metadata">

**Author:** [@ramondepieri](https://community.dynatrace.com/u/ramondepieri)\
**Replies:** 1\
**Last updated:** [June 5, 2024, 8:22am UTC](https://community.dynatrace.com/t/set-resolution-to-slo/42018 "2024-06-05T08:22:24Z")

</div>

Hey guys, I am creating a new SLO using the dynatrace feature. Before that, I have created and testing my metrics on dynatrace data explorer So I have something like that: builtin:service.requestCount.total:filter(in(…

---

## [Execute SQL queries on notebook](https://community.dynatrace.com/t/execute-sql-queries-on-notebook/45516)

<div class="topic-metadata">

**Author:** [@soportetr](https://community.dynatrace.com/u/soportetr)\
**Replies:** 3\
**Last updated:** [May 29, 2024, 7:44am UTC](https://community.dynatrace.com/t/execute-sql-queries-on-notebook/45516 "2024-05-29T07:44:23Z")

</div>

Hello everyone, Is it possible to execute SQL queries on Dynatrace notebooks using the add code option? If so, does anyone have any guide or example of doing so? Thanks in advance

---

## [Integrate Dynatrace with ServiceNow ticketing tool](https://community.dynatrace.com/t/integrate-dynatrace-with-servicenow-ticketing-tool/45731)

<div class="topic-metadata">

**Author:** [@Kundesaibaba](https://community.dynatrace.com/u/Kundesaibaba)\
**Replies:** 3\
**Last updated:** [May 23, 2024, 10:11am UTC](https://community.dynatrace.com/t/integrate-dynatrace-with-servicenow-ticketing-tool/45731 "2024-05-23T10:11:37Z")

</div>

HI team, Could you please share the information about how to configure or integrate the service NOW ticketing tool with Dynatrace, What are the requirements needed for further procedure?

---

## [Email for Workflows (Preview) ?](https://community.dynatrace.com/t/email-for-workflows-preview/44121)

<div class="topic-metadata">

**Author:** [@josef\_solnicky](https://community.dynatrace.com/u/josef_solnicky)\
**Replies:** 4\
**Last updated:** [April 17, 2024, 10:19am UTC](https://community.dynatrace.com/t/email-for-workflows-preview/44121 "2024-04-17T10:19:24Z")

</div>

Hi, can I somehow get the Email for Workflows (Preview) ? I would like to install and test it in our SaaS sandbox envi. BR, Josef

---

## [Workflow automation](https://community.dynatrace.com/t/workflow-automation/45032)

<div class="topic-metadata">

**Author:** [@shahin24093](https://community.dynatrace.com/u/shahin24093)\
**Replies:** 1\
**Last updated:** [April 16, 2024, 9:33am UTC](https://community.dynatrace.com/t/workflow-automation/45032 "2024-04-16T09:33:27Z")

</div>

Hello Dynatrace family, I have been having difficulty understanding how to interact with workflow tasks behavior and how to be able to control those behaviors. I have a javascript code that checks if a variable that I …

---

## [Is there an easy 3rd party method for consuming many small logs from end user stations into dynatrace Logs?](https://community.dynatrace.com/t/is-there-an-easy-3rd-party-method-for-consuming-many-small-logs-from-end-user-stations-into-dynatrace-logs/45083)

<div class="topic-metadata">

**Author:** [@runatyr](https://community.dynatrace.com/u/runatyr)\
**Replies:** 2\
**Last updated:** [April 11, 2024, 3:37pm UTC](https://community.dynatrace.com/t/is-there-an-easy-3rd-party-method-for-consuming-many-small-logs-from-end-user-stations-into-dynatrace-logs/45083 "2024-04-11T15:37:21Z")

</div>

hello: We have an application on our end user desktops that write its response times into a flat text/logfile. We were considering dumping the individual files into a flat folder and having Dynatrace consume the folder…

---

## [Limit data pulled in from Dynatrace to ServiceNow Service Graph connector](https://community.dynatrace.com/t/limit-data-pulled-in-from-dynatrace-to-servicenow-service-graph-connector/38213)

<div class="topic-metadata">

**Author:** [@Eugene\_1](https://community.dynatrace.com/u/Eugene_1)\
**Replies:** 2\
**Last updated:** [April 10, 2024, 11:35pm UTC](https://community.dynatrace.com/t/limit-data-pulled-in-from-dynatrace-to-servicenow-service-graph-connector/38213 "2024-04-10T23:35:14Z")

</div>

We currently have the ServiceNow Dynatrace Service Graph connector installed and pulling data out of Dynatrace. The problem is it is pulling in way more data than we need. Is there a way on the Dynatrace side to limit …

---

## [Show workflow last execution status in dashboard](https://community.dynatrace.com/t/show-workflow-last-execution-status-in-dashboard/45013)

<div class="topic-metadata">

**Author:** [@susmita\_k](https://community.dynatrace.com/u/susmita_k)\
**Replies:** 1\
**Last updated:** [April 5, 2024, 11:20am UTC](https://community.dynatrace.com/t/show-workflow-last-execution-status-in-dashboard/45013 "2024-04-05T11:20:08Z")

</div>

How to show workflow last execution status in dashboard?

---

## [Invoke Dynatrace Synthetics from Ansible Playbook](https://community.dynatrace.com/t/invoke-dynatrace-synthetics-from-ansible-playbook/44965)

<div class="topic-metadata">

**Author:** [@saldrich](https://community.dynatrace.com/u/saldrich)\
**Replies:** 1\
**Last updated:** [April 2, 2024, 7:22pm UTC](https://community.dynatrace.com/t/invoke-dynatrace-synthetics-from-ansible-playbook/44965 "2024-04-02T19:22:19Z")

</div>

Hi, We have an automated patching solution through ServiceNow workflows utilizing Ansible. Both before and after patching we would like to be able to include in the automation where a playbook pulls metrics from Dynatr…

---

## [Service Level Objective, timeframe expressions for business hours only?](https://community.dynatrace.com/t/service-level-objective-timeframe-expressions-for-business-hours-only/33034)

<div class="topic-metadata">

**Author:** [@rsmsdk](https://community.dynatrace.com/u/rsmsdk)\
**Replies:** 2\
**Last updated:** [March 19, 2024, 7:42am UTC](https://community.dynatrace.com/t/service-level-objective-timeframe-expressions-for-business-hours-only/33034 "2024-03-19T07:42:40Z")

</div>

Hi everyone Case: I have a backend service that need to deliver high performance response times during business hours, but outside business hours also is (knowingly and accepted) impacted by batch activity 🤠 I want a S…

[Previous page](https://community.dynatrace.com/c/platform/automations/86.md?page=7)

[Next page](https://community.dynatrace.com/c/platform/automations/86.md?page=9)
