Bläddra i källkod

fix(workflow): IF-ELSE nodes connected to the same subsequent node cause execution to stop (#8247)

takatost 7 månader sedan
förälder
incheckning
5f4cdd66fa
1 ändrade filer med 0 tillägg och 4 borttagningar
  1. 0 4
      api/core/workflow/graph_engine/entities/graph.py

+ 0 - 4
api/core/workflow/graph_engine/entities/graph.py

@@ -86,10 +86,6 @@ class Graph(BaseModel):
             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