diff --git a/api/app/core/workflow/nodes/cycle_graph/iteration.py b/api/app/core/workflow/nodes/cycle_graph/iteration.py index 7652e21f..1633b9c7 100644 --- a/api/app/core/workflow/nodes/cycle_graph/iteration.py +++ b/api/app/core/workflow/nodes/cycle_graph/iteration.py @@ -249,9 +249,9 @@ class IterationRuntime: else: self.result.append(output) child_state.append(result) + self._merge_conv_vars(child_pool) if stopped: self.looping = False - self._merge_conv_vars(batch_sorted[-1][3]) else: # Execute iterations sequentially while idx < len(array_obj) and self.looping: