dify/api/core/workflow/entities
Harry 0cb0cea167 feat(trigger): enhance trigger plugin data structure and error handling
- Added `plugin_unique_identifier` to `PluginTriggerData` and `TriggerProviderApiEntity` to improve identification of trigger plugins.
- Introduced `PluginTriggerDispatchData` for structured dispatch data in Celery tasks, enhancing the clarity of trigger dispatching.
- Updated `dispatch_triggered_workflows_async` to utilize the new dispatch data structure, improving error handling and logging for trigger invocations.
- Enhanced metadata handling in `TriggerPluginNode` to include trigger information, aiding in debugging and tracking.

These changes improve the robustness and maintainability of trigger plugin interactions within the workflow system.
2025-09-16 15:39:40 +08:00
..
__init__.py FEAT: NEW WORKFLOW ENGINE (#3160) 2024-04-08 18:51:46 +08:00
node_entities.py refactor(workflow): Rename NodeRunMetadataKey to WorkflowNodeExecutionMetadataKey (#20457) 2025-05-30 04:47:56 +08:00
variable_entities.py feat/enhance the multi-modal support (#8818) 2024-10-21 10:43:49 +08:00
variable_pool.py refactor: simplify variable pool key structure and improve type safety (#23732) 2025-08-11 18:10:04 +08:00
workflow_execution.py feat: fix i18n missing keys and merge upstream/main (#24615) 2025-08-27 15:07:28 +08:00
workflow_node_execution.py feat(trigger): enhance trigger plugin data structure and error handling 2025-09-16 15:39:40 +08:00