瀏覽代碼

Fix the problem of Workflow terminates after parallel tasks execution, merge node not triggered (#12498)

Co-authored-by: Novice Lee <novicelee@NoviPro.local>
tags/0.15.3
Lazy_Frog 8 月之前
父節點
當前提交
b7c11c1818
沒有連結到貢獻者的電子郵件帳戶。
共有 1 個檔案被更改,包括 2 行新增0 行删除
  1. 2
    0
      api/core/workflow/graph_engine/entities/graph.py

+ 2
- 0
api/core/workflow/graph_engine/entities/graph.py 查看文件

@@ -590,6 +590,8 @@ class Graph(BaseModel):
start_node_id=node_id,
routes_node_ids=routes_node_ids,
)
# Exclude conditional branch nodes
and all(edge.run_condition is None for edge in reverse_edge_mapping.get(node_id, []))
):
if node_id not in merge_branch_node_ids:
merge_branch_node_ids[node_id] = []

Loading…
取消
儲存