dify/api/services/workflow
Harry ef9a741781 feat(trigger): enhance trigger management with new error handling and response structure
- Added `TriggerInvokeError` and `TriggerIgnoreEventError` for better error categorization during trigger invocation.
- Updated `TriggerInvokeResponse` to include a `cancelled` field, indicating if a trigger was ignored.
- Enhanced `TriggerManager` to handle specific errors and return appropriate responses.
- Refactored `dispatch_triggered_workflows` to improve workflow execution logic and error handling.

These changes improve the robustness and clarity of the trigger management system.
2025-09-23 16:01:59 +08:00
..
__init__.py FEAT: NEW WORKFLOW ENGINE (#3160) 2024-04-08 18:51:46 +08:00
entities.py feat(trigger): enhance trigger management with new error handling and response structure 2025-09-23 16:01:59 +08:00
queue_dispatcher.py fix: limits 2025-09-09 23:32:51 +08:00
rate_limiter.py feat(trigger): add trigger provider management and webhook handling functionality 2025-09-03 14:53:26 +08:00
workflow_converter.py [CHORE]: x: T = None to x: Optional[T] = None (#24217) 2025-08-21 21:58:39 +08:00