Is there a switch to enable/disable scheduled triggers? #20921

Closed
opened 2026-02-21 20:09:48 -05:00 by yindo · 3 comments
Owner

Originally created by @kyle0418 on GitHub (Dec 10, 2025).

Self Checks

  • I have read the Contributing Guide and Language Policy.
  • I have searched for existing issues search for existing issues, including closed ones.
  • I confirm that I am using English to submit this report, otherwise it will be closed.
  • Please do not modify this template :) and fill in all the required fields.

1. Is this request related to a challenge you're experiencing? Tell me about your story.

When I no longer use this scheduled workflow, I want to disable it rather than delete the trigger node.

2. Additional context or comments

No response

3. Can you help us with this feature?

  • I am interested in contributing to this feature.
Originally created by @kyle0418 on GitHub (Dec 10, 2025). ### Self Checks - [x] I have read the [Contributing Guide](https://github.com/langgenius/dify/blob/main/CONTRIBUTING.md) and [Language Policy](https://github.com/langgenius/dify/issues/1542). - [x] I have searched for existing issues [search for existing issues](https://github.com/langgenius/dify/issues), including closed ones. - [x] I confirm that I am using English to submit this report, otherwise it will be closed. - [x] Please do not modify this template :) and fill in all the required fields. ### 1. Is this request related to a challenge you're experiencing? Tell me about your story. When I no longer use this scheduled workflow, I want to disable it rather than delete the trigger node. ### 2. Additional context or comments _No response_ ### 3. Can you help us with this feature? - [x] I am interested in contributing to this feature.
yindo added the 💪 enhancement label 2026-02-21 20:09:48 -05:00
yindo closed this issue 2026-02-21 20:09:48 -05:00
Author
Owner

@dosubot[bot] commented on GitHub (Dec 10, 2025):

Yes, Dify supports enabling or disabling scheduled triggers without deleting them. You can do this via the API endpoint /apps/<uuid:app_id>/trigger-enable by sending a POST request with the trigger ID and a boolean to set its status. Setting enable_trigger to false will disable the trigger, preventing the scheduled workflow from running, while keeping the trigger node intact. This mechanism works for all trigger types, including scheduled triggers, by updating their status field in the database. For details, see the API controller implementation here.

Currently, there is no explicit mention of a UI switch for this feature, so API usage may be required. If you need help with the API request format or further details, let me know!

To reply, just mention @dosu.


How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other

Chat with Dosu Open in Cursor Join Discord Share on X

@dosubot[bot] commented on GitHub (Dec 10, 2025): <!-- Answer --> Yes, Dify supports enabling or disabling scheduled triggers without deleting them. You can do this via the API endpoint `/apps/<uuid:app_id>/trigger-enable` by sending a POST request with the trigger ID and a boolean to set its status. Setting `enable_trigger` to `false` will disable the trigger, preventing the scheduled workflow from running, while keeping the trigger node intact. This mechanism works for all trigger types, including scheduled triggers, by updating their status field in the database. For details, see the API controller implementation [here](https://github.com/langgenius/dify/blob/12d019cd3181e9618722123e39db7d1a3c2d3eea/api/controllers/console/app/workflow_trigger.py#L75-L157). Currently, there is no explicit mention of a UI switch for this feature, so API usage may be required. If you need help with the API request format or further details, let me know! <!-- Dosu Comment Footer --> *To reply, just mention [@dosu](https://go.dosu.dev/dosubot).* --- <sup>How did I do? [Good](https://app.dosu.dev/response-feedback/8769cd8c-c412-49f1-9220-928430033515?feedback_type=great_response) | [Irrelevant](https://app.dosu.dev/response-feedback/8769cd8c-c412-49f1-9220-928430033515?feedback_type=irrelevant_answer) | [Incorrect](https://app.dosu.dev/response-feedback/8769cd8c-c412-49f1-9220-928430033515?feedback_type=incorrect_sources) | [Verbose](https://app.dosu.dev/response-feedback/8769cd8c-c412-49f1-9220-928430033515?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/8769cd8c-c412-49f1-9220-928430033515?feedback_type=hallucination) | [Report 🐛](https://app.dosu.dev/response-feedback/8769cd8c-c412-49f1-9220-928430033515?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/8769cd8c-c412-49f1-9220-928430033515?feedback_type=other)</sup> [![Chat with Dosu](https://dosu.dev/dosu-chat-badge.svg)](https://app.dosu.dev/6088a4f4-073a-43f3-b3d4-4f06fb0c05a0/ask?utm_source=github)&nbsp;[![Open in Cursor](https://dosu.dev/dosu-in-cursor.svg)](https://cursor.com/link/prompt?text=Yes%2C%20Dify%20supports%20enabling%20or%20disabling%20scheduled%20triggers%20without%20deleting%20them.%20You%20can%20do%20this%20via%20the%20API%20endpoint%20%60/apps/%3Cuuid%3Aapp_id%3E/trigger-enable%60%20by%20sending%20a%20POST%20request%20with%20the%20trigger%20ID%20and%20a%20boolean%20to%20set%20its%20status.%20Setting%20%60enable_trigger%60%20to%20%60false%60%20will%20disable%20the%20trigger%2C%20preventing%20the%20scheduled%20workflow%20from%20running%2C%20while%20keeping%20the%20trigger%20node%20intact.%20This%20mechanism%20works%20for%20all%20trigger%20types%2C%20including%20scheduled%20triggers%2C%20by%20updating%20their%20status%20field%20in%20the%20database.%20For%20details%2C%20see%20the%20API%20controller%20implementation%20%5Bhere%5D%28https%3A//github.com/langgenius/dify/blob/12d019cd3181e9618722123e39db7d1a3c2d3eea/api/controllers/console/app/workflow_trigger.py%23L75-L157%29.%0A%0ACurrently%2C%20there%20is%20no%20explicit%20mention%20of%20a%20UI%20switch%20for%20this%20feature%2C%20so%20API%20usage%20may%20be%20required.%20If%20you%20need%20help%20with%20the%20API%20request%20format%20or%20further%20details%2C%20let%20me%20know%21)&nbsp;[![Join Discord](https://img.shields.io/badge/join-5865F2?logo=discord&logoColor=white&label=)](https://go.dosu.dev/discord-bot)&nbsp;[![Share on X](https://img.shields.io/badge/X-share-black)](https://twitter.com/intent/tweet?text=%40dosu_ai%20helped%20me%20solve%20this%20issue!&url=https%3A//github.com/langgenius/dify/issues/29402)
Author
Owner

@hjlarry commented on GitHub (Dec 10, 2025):

Image
@hjlarry commented on GitHub (Dec 10, 2025): <img width="968" height="660" alt="Image" src="https://github.com/user-attachments/assets/ac19fc93-f199-44ee-8a96-80cd901f77d8" />
Author
Owner

@kyle0418 commented on GitHub (Dec 10, 2025):

Image

Thx, but not the user-friendly UX.

@kyle0418 commented on GitHub (Dec 10, 2025): > <img alt="Image" width="968" height="660" src="https://private-user-images.githubusercontent.com/25834719/524695485-ac19fc93-f199-44ee-8a96-80cd901f77d8.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NjUzNTMwOTIsIm5iZiI6MTc2NTM1Mjc5MiwicGF0aCI6Ii8yNTgzNDcxOS81MjQ2OTU0ODUtYWMxOWZjOTMtZjE5OS00NGVlLThhOTYtODBjZDkwMWY3N2Q4LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTEyMTAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUxMjEwVDA3NDYzMlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTk5MTZlYjM2Yzk1NDMyNTRmOWViZjNmMDdjNGViYjE1MzNkZjI3ZmRhNDVjYjY4ZjI1NmVjOWNiYTYwNTlkYWImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.Aoj0cYkDq67d9fQUsL4zigUQGZu5MBzwyk2Cbc5I6vQ"> Thx, but not the user-friendly UX.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#20921