fix: Retain execution data between partial executions (new flow) (#11828)

This commit is contained in:
Danny Martini
2024-11-26 13:32:39 +01:00
committed by GitHub
parent 75e2b6fd9e
commit 3320436a6f
11 changed files with 159 additions and 14 deletions

View File

@@ -948,7 +948,7 @@ export class WorkflowExecute {
const returnPromise = (async () => {
try {
if (!this.additionalData.restartExecutionId) {
await this.executeHook('workflowExecuteBefore', [workflow]);
await this.executeHook('workflowExecuteBefore', [workflow, this.runExecutionData]);
}
} catch (error) {
const e = error as unknown as ExecutionBaseError;