fix(core): Do not delete waiting executions when saving of successful executions is disabled (#11458)

This commit is contained in:
कारतोफ्फेलस्क्रिप्ट™
2024-11-04 14:45:41 +01:00
committed by GitHub
parent 23677062d9
commit e8757e58f6

View File

@@ -468,7 +468,7 @@ function hookFunctionsSave(): IWorkflowExecuteHooks {
(executionStatus === 'success' && !saveSettings.success) ||
(executionStatus !== 'success' && !saveSettings.error);
if (shouldNotSave) {
if (shouldNotSave && !fullRunData.waitTill) {
if (!fullRunData.waitTill && !isManualMode) {
executeErrorWorkflow(
this.workflowData,