Skip to content

Commit

Permalink
fix(workflow): IF-ELSE nodes connected to the same subsequent node ca…
Browse files Browse the repository at this point in the history
…use execution to stop (#8247)
  • Loading branch information
takatost authored Sep 11, 2024
1 parent 91942e3 commit 5f4cdd6
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions api/core/workflow/graph_engine/entities/graph.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,10 +86,6 @@ def init(cls, graph_config: Mapping[str, Any], root_node_id: Optional[str] = Non
if target_node_id not in reverse_edge_mapping:
reverse_edge_mapping[target_node_id] = []

# is target node id in source node id edge mapping
if any(graph_edge.target_node_id == target_node_id for graph_edge in edge_mapping[source_node_id]):
continue

target_edge_ids.add(target_node_id)

# parse run condition
Expand Down

0 comments on commit 5f4cdd6

Please sign in to comment.