fix(batch-add): on batch add persist subblock values (#2819)

* fix(batch-add): on batch add persist subblock values

* consolidate merge subblock

* consolidate more code
This commit is contained in:
Vikhyath Mondreti
2026-01-14 13:01:26 -08:00
committed by GitHub
parent 468ec2ea81
commit 3f1dccd6aa
6 changed files with 147 additions and 144 deletions

View File

@@ -172,7 +172,7 @@ async function executeWebhookJobInternal(
const workflowVariables = (wfRows[0]?.variables as Record<string, any>) || {}
// Merge subblock states (matching workflow-execution pattern)
const mergedStates = mergeSubblockState(blocks, {})
const mergedStates = mergeSubblockState(blocks)
// Create serialized workflow
const serializer = new Serializer()