Skip to content

Commit

Permalink
fix(core): Do not delete waiting executions when saving of successful…
Browse files Browse the repository at this point in the history
… executions is disabled (#11458)
  • Loading branch information
netroy authored Nov 4, 2024
1 parent 2367706 commit e8757e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/cli/src/workflow-execute-additional-data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit e8757e5

Please sign in to comment.