# Enable / Disable Workflow Trigger

**URL:** <https://community.dynatrace.com/t/enable-disable-workflow-trigger/56481>\
**Category:** Automations\
**Created:** [July 16, 2026, 1:11pm UTC](https://community.dynatrace.com/t/enable-disable-workflow-trigger/56481 "2026-07-16T13:11:21Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![MarwanC](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/marwanc/32/34480_2.png) [@MarwanC](https://community.dynatrace.com/u/MarwanC)\
**Post date:** [July 16, 2026, 1:11pm UTC](https://community.dynatrace.com/t/enable-disable-workflow-trigger/56481/1 "2026-07-16T13:11:21Z")

</div>

I have a workflow that is triggered automatically by incoming ACTIVE/CLOSE Davis Problem, I need an API to disable the entire workflow outside working hours.

Then I want to enable it again during working hours.

This is really a must to avoid extra license cost as this is run in the non production environment.

I searched&nbsp; the whole Dynatrace documentation but I am not able to find the API

May be someone have come across this and I appreciate any input.

I appreciate your support

Marwan…

---

<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:** [July 17, 2026, 1:35am UTC](https://community.dynatrace.com/t/enable-disable-workflow-trigger/56481/2 "2026-07-17T01:35:39Z")

</div>

[@MarwanC](https://community.dynatrace.com/user/64346)&nbsp;From what I understand you would be charge for the workflow from the moment its deployed/published whether the workflow is running or not running . You would not be able to disable/enable a workflow to save cost.

Alternative option is to use a simple workflow if it fits your use case which do not consume workflow hours

> **[Create a simple workflow in Dynatrace Workflows](https://docs.dynatrace.com/docs/analyze-explore-automate/workflows/build/simple-workflow)**
>
> Build and run a simple workflow.

---

<div class="post-metadata">

**Author:** ![sujit\_k\_singh](https://avatars.discourse-cdn.com/v4/letter/s/34f0e0/32.png) [@sujit\_k\_singh](https://community.dynatrace.com/u/sujit_k_singh)\
**Post date:** [July 17, 2026, 5:32am UTC](https://community.dynatrace.com/t/enable-disable-workflow-trigger/56481/3 "2026-07-17T05:32:46Z")

</div>

Hello&nbsp;[@MarwanC](https://community.dynatrace.com/user/64346)

Adding to what&nbsp;[@p\_devulapalli](https://community.dynatrace.com/user/21657)&nbsp;said — this is worth being precise about, because there are two different things being conflated: the trigger being enabled/disabled vs the workflow being deployed/draft.  
On billing: Dynatrace has confirmed in community threads ([Solved: Re: DPS Pricing gotchas - workflows storage cost - Community Home](https://community.dynatrace.com/post/285280)) that workflow costs don’t differentiate between enabled or disabled workflows — any deployed workflow can be executed at any time, either manually or via API, even if a trigger or schedule is defined, so toggling the trigger via API won’t reduce your workflow-hours charge. The kinds of workflows that do avoid workflow-hours are: simple workflows (single-task, restricted functionality)&nbsp;[Create a simple workflow in Dynatrace Workflows — Dynatrace Docs](https://docs.dynatrace.com/docs/analyze-explore-automate/workflows/build/simple-workflow)

and draft-only workflows (not yet deployed, or un-deployed).&nbsp;[Build workflows — Dynatrace Docs](https://docs.dynatrace.com/docs/analyze-explore-automate/workflows/build#create)

Thanks,

Sujit

---

<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:** [July 17, 2026, 7:41am UTC](https://community.dynatrace.com/t/enable-disable-workflow-trigger/56481/4 "2026-07-17T07:41:15Z")

</div>

Hi&nbsp;[@MarwanC](https://community.dynatrace.com/user/64346),

Adding the official documentation on how consumption is calculated for draft workflows (and yes, draft workflows don’t count toward workflow hours):

> **[How consumption is calculated for draft workflows - Calculate your consumption...](https://docs.dynatrace.com/docs/license/capabilities/automation/automation#how-consumption-is-calculated-for-draft-workflows)**
>
> This page describes how the Automation DPS capability is consumed and billed. For an overview of the capability, including its main features, see Automation. | Learn how your consumption of Dynatrace Automation Workflow DPS capability is billed and...

Cheers,  
Sonja
