fix(core): Do not execute workflowExecuteBefore hook when resuming executions from a waiting state (#5727)

This commit is contained in:
कारतोफ्फेलस्क्रिप्ट™
2023-04-06 10:18:19 +02:00
committed by GitHub
parent b1e1c5b306
commit 6689451e8c
5 changed files with 9 additions and 1 deletions

View File

@@ -170,6 +170,7 @@ class WorkflowRunnerProcess {
undefined,
workflowTimeout <= 0 ? undefined : Date.now() + workflowTimeout * 1000,
);
additionalData.restartExecutionId = this.data.restartExecutionId;
additionalData.hooks = this.getProcessForwardHooks();
additionalData.hooks.hookFunctions.sendResponse = [