🐛 (transcript) Make sure to set all the set variables that matches the same block
Closes #1664
This commit is contained in:
@ -132,7 +132,7 @@ const executeGroup = ({
|
||||
nextGroup.blockIndex ?? 0
|
||||
)) {
|
||||
if (stopAtBlockId && block.id === stopAtBlockId) return currentTranscript
|
||||
if (setVariableHistory.at(0)?.blockId === block.id)
|
||||
while (setVariableHistory.at(0)?.blockId === block.id)
|
||||
typebotsQueue[0].typebot.variables = applySetVariable(
|
||||
setVariableHistory.shift(),
|
||||
typebotsQueue[0].typebot
|
||||
|
Reference in New Issue
Block a user