# Dynatrace Workflow Auto-Fetch Execution Plan Returning Null Output

**URL:** <https://community.dynatrace.com/t/dynatrace-workflow-auto-fetch-execution-plan-returning-null-output/53194>\
**Category:** Automations\
**Tags:** databases, workflows\
**Created:** [September 2, 2025, 2:20pm UTC](https://community.dynatrace.com/t/dynatrace-workflow-auto-fetch-execution-plan-returning-null-output/53194 "2025-09-02T14:20:02Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![amita](https://avatars.discourse-cdn.com/v4/letter/a/838e76/32.png) [@amita](https://community.dynatrace.com/u/amita)\
**Post date:** [September 2, 2025, 2:20pm UTC](https://community.dynatrace.com/t/dynatrace-workflow-auto-fetch-execution-plan-returning-null-output/53194/1 "2025-09-02T14:20:02Z")

</div>

Hello,

When I tried running the workflow for auto fetch execution plan , the execution plan column is null for all sql id.

Same thing observed with our custom Database as well. However when we go and check manually the execution plan is there and asks to view on DB performance page.

Why I am getting this null execution plan for auto fetch dql ?

Regards

Amita

---

<div class="post-metadata">

**Author:** ![p\_devulapalli](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/p_devulapalli/32/41590_2.png) [@p\_devulapalli](https://community.dynatrace.com/u/p_devulapalli)\
**Post date:** [September 5, 2025, 1:55am UTC](https://community.dynatrace.com/t/dynatrace-workflow-auto-fetch-execution-plan-returning-null-output/53194/2 "2025-09-05T01:55:09Z")

</div>

[@Amita\_chede](https://community.dynatrace.com/user/90794)&nbsp;What database are you seeing this issue with? I think there is some issue with the DQL query in the workflow, it does not fetch the sql\_id for all of the statements which seems to be the issue here

---

<div class="post-metadata">

**Author:** ![amita](https://avatars.discourse-cdn.com/v4/letter/a/838e76/32.png) [@amita](https://community.dynatrace.com/u/amita)\
**Post date:** [September 19, 2025, 12:29pm UTC](https://community.dynatrace.com/t/dynatrace-workflow-auto-fetch-execution-plan-returning-null-output/53194/3 "2025-09-19T12:29:49Z")

</div>

Hello&nbsp;[@p\_devulapalli](https://community.dynatrace.com/user/21657)&nbsp;  
We are trying this for Oracle DB.

---

<div class="post-metadata">

**Author:** ![ASE](https://avatars.discourse-cdn.com/v4/letter/a/7cd45c/32.png) [@ASE](https://community.dynatrace.com/u/ASE)\
**Post date:** [December 5, 2025, 10:34pm UTC](https://community.dynatrace.com/t/dynatrace-workflow-auto-fetch-execution-plan-returning-null-output/53194/4 "2025-12-05T22:34:13Z")

</div>

We recently added the ready-made&nbsp; **Auto-fetch execution plans** &nbsp;workflow to our **Dynatrace Workflows**.

However, even though it’s executing as expected, when in the **Databases** app, I’m not seeing any **Execution plans** marked as **Available**.

I thought the whole point to adding this workflow was so we didn’t have to manually fetch execution plans?

 ![ASE_0-1764973830186.png](https://global.discourse-cdn.com/dynatrace/original/3X/1/2/12e4bbf1f7f376ec914c36e98408fb9c2c13342a.png)

---

<div class="post-metadata">

**Author:** ![ChrisRFonz](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/chrisrfonz/32/41728_2.png) [@ChrisRFonz](https://community.dynatrace.com/u/ChrisRFonz)\
**Post date:** [March 1, 2026, 8:48pm UTC](https://community.dynatrace.com/t/dynatrace-workflow-auto-fetch-execution-plan-returning-null-output/53194/5 "2026-03-01T20:48:44Z")

</div>

Is there any update on this? We are seeing the same issue.
