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
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

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