[PR #24829] fix: check AppTrigger status before webhook execution #30813

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

Original Pull Request: https://github.com/langgenius/dify/pull/24829

State: closed
Merged: Yes


Summary

Fix webhook execution to validate AppTrigger status before processing requests.

Changes

  • Add AppTrigger status check in WebhookService.get_webhook_trigger_and_workflow()
  • Prevent disabled webhook triggers from executing workflows
  • Return appropriate error message when trigger is disabled

Test plan

  • Webhook execution fails when AppTrigger status is disabled
  • Webhook execution succeeds when AppTrigger status is enabled
  • Appropriate error messages returned for disabled triggers

🤖 Generated with Claude Code

**Original Pull Request:** https://github.com/langgenius/dify/pull/24829 **State:** closed **Merged:** Yes --- ## Summary Fix webhook execution to validate AppTrigger status before processing requests. ## Changes - Add AppTrigger status check in `WebhookService.get_webhook_trigger_and_workflow()` - Prevent disabled webhook triggers from executing workflows - Return appropriate error message when trigger is disabled ## Test plan - [x] Webhook execution fails when AppTrigger status is disabled - [x] Webhook execution succeeds when AppTrigger status is enabled - [x] Appropriate error messages returned for disabled triggers 🤖 Generated with [Claude Code](https://claude.ai/code)
yindo added the pull-request label 2026-02-21 20:48:16 -05:00
yindo closed this issue 2026-02-21 20:48:16 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#30813