🐛 Fix missing execution id with queue-mode

This commit is contained in:
Jan Oberhauser
2021-12-11 18:28:23 +01:00
parent b4469eee33
commit 0eab23dcd3

View File

@@ -509,7 +509,7 @@ function hookFunctionsSave(parentProcessMode?: string): IWorkflowExecuteHooks {
this.workflowData, this.workflowData,
fullRunData, fullRunData,
this.mode, this.mode,
undefined, this.executionId,
this.retryOf, this.retryOf,
); );
} }
@@ -585,7 +585,7 @@ function hookFunctionsSave(parentProcessMode?: string): IWorkflowExecuteHooks {
this.workflowData, this.workflowData,
fullRunData, fullRunData,
this.mode, this.mode,
undefined, this.executionId,
this.retryOf, this.retryOf,
); );
} }
@@ -635,7 +635,7 @@ function hookFunctionsSaveWorker(): IWorkflowExecuteHooks {
this.workflowData, this.workflowData,
fullRunData, fullRunData,
this.mode, this.mode,
undefined, this.executionId,
this.retryOf, this.retryOf,
); );
} }
@@ -676,7 +676,13 @@ function hookFunctionsSaveWorker(): IWorkflowExecuteHooks {
}); });
} }
} catch (error) { } catch (error) {
executeErrorWorkflow(this.workflowData, fullRunData, this.mode, undefined, this.retryOf); executeErrorWorkflow(
this.workflowData,
fullRunData,
this.mode,
this.executionId,
this.retryOf,
);
} }
}, },
], ],