From 64485c1066f61248f2080567a7d982b7aada10d9 Mon Sep 17 00:00:00 2001 From: Ryan Petrello Date: Thu, 1 Oct 2020 16:06:53 -0400 Subject: [PATCH] fix a bug that prevents deletion of workflow approval records see: https://github.com/ansible/awx/issues/8305 --- awx/main/models/workflow.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/awx/main/models/workflow.py b/awx/main/models/workflow.py index aaf59b25b8..d3e9d2d957 100644 --- a/awx/main/models/workflow.py +++ b/awx/main/models/workflow.py @@ -776,6 +776,10 @@ class WorkflowApproval(UnifiedJob, JobNotificationMixin): self.send_approval_notification('running') return can_start + @property + def event_processing_finished(self): + return True + def send_approval_notification(self, approval_status): from awx.main.tasks import send_notifications # avoid circular import if self.workflow_job_template is None: