# How to Track Execution History of Dynatrace Workflows (Audit Trail Guide)

**URL:** <https://community.dynatrace.com/t/how-to-track-execution-history-of-dynatrace-workflows-audit-trail-guide/39183>\
**Category:** Automations\
**Tags:** automationengine, latest-dynatrace, workflows, automation\
**Created:** [April 6, 2023, 7:52am UTC](https://community.dynatrace.com/t/how-to-track-execution-history-of-dynatrace-workflows-audit-trail-guide/39183 "2023-04-06T07:52:37Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![agata.wlodarczyk](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/agata.wlodarczyk/32/22_2.png) [@agata.wlodarczyk](https://community.dynatrace.com/u/agata.wlodarczyk)\
**Post date:** [April 6, 2023, 7:52am UTC](https://community.dynatrace.com/t/how-to-track-execution-history-of-dynatrace-workflows-audit-trail-guide/39183/1 "2023-04-06T07:52:37Z")

</div>

How can I see the audit trail/execution history of a workflow?

---

<div class="post-metadata">

**Author:** ![michaelwinkler](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/michaelwinkler/32/29293_2.png) [@michaelwinkler](https://community.dynatrace.com/u/michaelwinkler)\
**Post date:** [April 6, 2023, 7:53am UTC](https://community.dynatrace.com/t/how-to-track-execution-history-of-dynatrace-workflows-audit-trail-guide/39183/2 "2023-04-06T07:53:43Z")

</div>

While having a workflow open, clicking on _Executions_ and _Execution history_ provides detailed information about respective workflow executions, including their outcome, log, and the possibility of re-running it.

To see a general overview of all executions (across workflows) you can click on _Executions_ on the top left corner while being in the overall workflow table.

---

<div class="post-metadata">

**Author:** ![michaelwinkler](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/michaelwinkler/32/29293_2.png) [@michaelwinkler](https://community.dynatrace.com/u/michaelwinkler)\
**Post date:** [April 13, 2023, 7:51am UTC](https://community.dynatrace.com/t/how-to-track-execution-history-of-dynatrace-workflows-audit-trail-guide/39183/3 "2023-04-13T07:51:14Z")

</div>

You can see the latest executions and if they have been successful directly in the workflow overview:

 ![michaelwinkler_0-1681372073204.png](https://global.discourse-cdn.com/dynatrace/original/2X/4/4a8245127f9a4b3592ab1f4ab8713b3989f595c3.png)

By clicking on _Executions list_ you navigate to a more detailed overview including outcome, log, etc:

 ![michaelwinkler_1-1681372164541.png](https://global.discourse-cdn.com/dynatrace/original/3X/4/4/44ccc79abaed821c0f0c6c5fe76f4ab706af2d00.png)

---

<div class="post-metadata">

**Author:** ![jeffery\_yarbrou](https://avatars.discourse-cdn.com/v4/letter/j/c2a13f/32.png) [@jeffery\_yarbrou](https://community.dynatrace.com/u/jeffery_yarbrou)\
**Post date:** [June 17, 2025, 2:19pm UTC](https://community.dynatrace.com/t/how-to-track-execution-history-of-dynatrace-workflows-audit-trail-guide/39183/4 "2025-06-17T14:19:24Z")

</div>

This is great.&nbsp; However, looking at the event data this is what one of my customer needs.  
An audit report that shows the workflow runs, who runs it, who created the workflow or modified the workflow.  
The also need a breakdown of each step in the workflow, to understand which element in the workflow may need to be optimized.

---

<div class="post-metadata">

**Author:** ![ChristopherHejl](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/christopherhejl/32/20735_2.png) [@ChristopherHejl](https://community.dynatrace.com/u/ChristopherHejl)\
**Post date:** [June 17, 2025, 6:32pm UTC](https://community.dynatrace.com/t/how-to-track-execution-history-of-dynatrace-workflows-audit-trail-guide/39183/5 "2025-06-17T18:32:49Z")

</div>

you can find each workflow execution as a system event in grail:&nbsp;[System event models — Dynatrace Docs](https://docs.dynatrace.com/docs/shortlink/semantic-dictionary-system-event-models#automationengine-workflow-execution-event)  
This contains the info when, who or what it was triggered, and the final state.  
You can also use the task and action executions data to look at individual tasks, and eg identify task or certain action with high failure rate.  
The lifecycle events are written anytime a workflow is saved, by whom on what kind of change it was:&nbsp;[System event models — Dynatrace Docs](https://docs.dynatrace.com/docs/shortlink/semantic-dictionary-system-event-models#automationengine-workflow-lifecycle-event)

For specific details on the structure of a workflows, this is done in the workflows app.

---

<div class="post-metadata">

**Author:** ![Stephen1\_Lee](https://avatars.discourse-cdn.com/v4/letter/s/13edae/32.png) [@Stephen1\_Lee](https://community.dynatrace.com/u/Stephen1_Lee)\
**Post date:** [August 19, 2025, 6:42pm UTC](https://community.dynatrace.com/t/how-to-track-execution-history-of-dynatrace-workflows-audit-trail-guide/39183/6 "2025-08-19T18:42:38Z")

</div>

Hi.

How do we filter these system events for the workflow final status using DQL?

Thank you

---

<div class="post-metadata">

**Author:** ![sonja](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/sonja/32/10349_2.png) [@sonja](https://community.dynatrace.com/u/sonja)\
**Post date:** [August 20, 2025, 9:37am UTC](https://community.dynatrace.com/t/how-to-track-execution-history-of-dynatrace-workflows-audit-trail-guide/39183/7 "2025-08-20T09:37:27Z")

</div>

this will give you the information about the latest workflow execution for every workflows:

```markup
fetch dt.system.events
| filter event.provider == "AUTOMATION_ENGINE"
| filter event.type == "WORKFLOW_EXECUTION"
| dedup dt.automation_engine.workflow.id, sort: { timestamp desc }

```

---

<div class="post-metadata">

**Author:** ![Stephen1\_Lee](https://avatars.discourse-cdn.com/v4/letter/s/13edae/32.png) [@Stephen1\_Lee](https://community.dynatrace.com/u/Stephen1_Lee)\
**Post date:** [August 26, 2025, 4:36pm UTC](https://community.dynatrace.com/t/how-to-track-execution-history-of-dynatrace-workflows-audit-trail-guide/39183/8 "2025-08-26T16:36:36Z")

</div>

HI

Is there a DQL that can figure out the number of tasks executed per workflow?

This is kind of the runtime cost for the task execution themselves?

[Calculate your consumption of Automation Workflow (DPS) — Dynatrace Docs](https://docs.dynatrace.com/docs/license/automation/automation#expand--consumption-example-workflow-event-that-triggers-tasks-and-consumes-workhours-and-appengine-function-invocations--4)

Example.

9 (workflow executions) × 2 (executed tasks) × 1 (minutes per AppEngine function) = 18 invocations
