mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-25 04:34:06 -08:00
fix(core): Do not delete waiting executions when saving of successful executions is disabled (#11458)
This commit is contained in:
parent
23677062d9
commit
e8757e58f6
|
@ -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,
|
||||||
|
|
Loading…
Reference in a new issue