dify/api/services/trigger
Harry ad2b910d73 refactor(trigger): Enhance error handling and parameter resolution in trigger workflows
- Improved error handling in `DraftWorkflowTriggerRunApi`, `DraftWorkflowTriggerNodeApi`, and `DraftWorkflowTriggerRunAllApi` to raise exceptions directly, providing clearer error messages.
- Introduced `get_event_parameters` method in `PluginTriggerProviderController` to retrieve event parameters for triggers.
- Updated `PluginTriggerNodeData` to include a new method for resolving parameters based on event schemas, ensuring better validation and handling of trigger inputs.
- Refactored `TriggerService` to utilize the new parameter resolution method, enhancing the clarity and reliability of trigger invocations.
2025-10-15 17:05:51 +08:00
..
schedule_service.py refactor(trigger): Unify the Trigger Debug interface and event handling and enhance error management 2025-10-15 14:41:53 +08:00
trigger_provider_service.py feat(trigger): enhance trigger event handling and introduce new debug event polling 2025-10-15 11:04:09 +08:00
trigger_service.py refactor(trigger): Enhance error handling and parameter resolution in trigger workflows 2025-10-15 17:05:51 +08:00
trigger_subscription_builder_service.py refactor(trigger): Unify the Trigger Debug interface and event handling and enhance error management 2025-10-15 14:41:53 +08:00
webhook_service.py refactor(trigger): Unify the Trigger Debug interface and event handling and enhance error management 2025-10-15 14:41:53 +08:00