Quellcode durchsuchen

fix(workflow_cycle_manage): Handle special values in the process_data. (#11253)

Signed-off-by: -LAN- <laipz8200@outlook.com>
-LAN- vor 4 Monaten
Ursprung
Commit
3c8efe7c0a
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      api/core/app/task_pipeline/workflow_cycle_manage.py

+ 1 - 1
api/core/app/task_pipeline/workflow_cycle_manage.py

@@ -340,7 +340,7 @@ class WorkflowCycleManage:
                 WorkflowNodeExecution.status: WorkflowNodeExecutionStatus.FAILED.value,
                 WorkflowNodeExecution.error: event.error,
                 WorkflowNodeExecution.inputs: json.dumps(inputs) if inputs else None,
-                WorkflowNodeExecution.process_data: json.dumps(event.process_data) if event.process_data else None,
+                WorkflowNodeExecution.process_data: json.dumps(process_data) if process_data else None,
                 WorkflowNodeExecution.outputs: json.dumps(outputs) if outputs else None,
                 WorkflowNodeExecution.finished_at: finished_at,
                 WorkflowNodeExecution.elapsed_time: elapsed_time,