We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f4f293a commit 830e143Copy full SHA for 830e143
apps/sim/executor/handlers/workflow/workflow-handler.ts
@@ -260,7 +260,7 @@ export class WorkflowBlockHandler implements BlockHandler {
260
isLoopNode?: boolean
261
}
262
): IterationContext | undefined {
263
- if (nodeMetadata.branchIndex !== undefined && nodeMetadata.parallelId !== undefined) {
+ if (nodeMetadata.branchIndex !== undefined && nodeMetadata.branchTotal !== undefined) {
264
return {
265
iterationCurrent: nodeMetadata.branchIndex,
266
iterationTotal: nodeMetadata.branchTotal,
0 commit comments