fix(core): Make push work for waiting webhooks (#11678)

This commit is contained in:
कारतोफ्फेलस्क्रिप्ट™
2024-11-11 17:15:27 +01:00
committed by GitHub
parent cbdd535fe0
commit 600479bf36
3 changed files with 7 additions and 1 deletions

View File

@@ -495,6 +495,11 @@ function hookFunctionsSave(): IWorkflowExecuteHooks {
retryOf: this.retryOf,
});
// When going into the waiting state, store the pushRef in the execution-data
if (fullRunData.waitTill && isManualMode) {
fullExecutionData.data.pushRef = this.pushRef;
}
await updateExistingExecution({
executionId: this.executionId,
workflowId: this.workflowData.id,