From 67c701cea6f6485f6eec6328019c95603deae2a3 Mon Sep 17 00:00:00 2001 From: Yurii Vlasiuk Date: Tue, 6 Dec 2022 12:08:34 +0200 Subject: [PATCH] fix: convergence broken due to changed subworkflow addUnit method signature --- src/subworkflows/convergence.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/subworkflows/convergence.js b/src/subworkflows/convergence.js index 29d3cd6..17fe2e9 100644 --- a/src/subworkflows/convergence.js +++ b/src/subworkflows/convergence.js @@ -111,8 +111,8 @@ export const ConvergenceMixin = (superclass) => next: storePrevResult.flowchartId, }); - this.addUnit(prevResultInit, true); - this.addUnit(paramInit, true); + this.addUnit(prevResultInit, 0); + this.addUnit(paramInit, 0); this.addUnit(storeResult); this.addUnit(conditionUnit); this.addUnit(storePrevResult);