Icon

Stop loop on condition combined solution

create valuetablecreate threholdvalue tablecreate flow variabletotalValuewrite"below"COL_SUM($values$)turn currentValueinto flow variableKeep rows from0 to currentIerationFinish loop whencurrentValue >= totalValueget RowIDsin new columndelete everything after "#"write RoWIDsbackremovehelper columnsjoin with rest (unexecutedin loop) part of tableoverwritevalues columnwritetemp tableread temp table againTable Creator Table Creator Table Rowto Variable ConstantValue Column Math Formula Table Rowto Variable Row Filter Variable ConditionLoop End Generic Loop Start RowID String Manipulation RowID Column Filter Joiner Rule Engine Table Writer Table Reader create valuetablecreate threholdvalue tablecreate flow variabletotalValuewrite"below"COL_SUM($values$)turn currentValueinto flow variableKeep rows from0 to currentIerationFinish loop whencurrentValue >= totalValueget RowIDsin new columndelete everything after "#"write RoWIDsbackremovehelper columnsjoin with rest (unexecutedin loop) part of tableoverwritevalues columnwritetemp tableread temp table againTable Creator Table Creator Table Rowto Variable ConstantValue Column Math Formula Table Rowto Variable Row Filter Variable ConditionLoop End Generic Loop Start RowID String Manipulation RowID Column Filter Joiner Rule Engine Table Writer Table Reader

Nodes

Extensions

Links