mirror of
https://github.com/ansible/awx.git
synced 2026-05-12 03:47:36 -02:30
break WJ relaunch check from start capability
implement special custom error message for Workflow Job relaunch ability corner case
This commit is contained in:
@@ -327,6 +327,9 @@ class WorkflowJobOptions(BaseModel):
|
||||
new_workflow_job.copy_nodes_from_original(original=self)
|
||||
return new_workflow_job
|
||||
|
||||
def nodes_last_modified(self):
|
||||
return self.workflow_nodes.aggregate(models.Max('modified'))['modified__max']
|
||||
|
||||
|
||||
class WorkflowJobTemplate(UnifiedJobTemplate, WorkflowJobOptions, SurveyJobTemplateMixin, ResourceMixin):
|
||||
class Meta:
|
||||
|
||||
Reference in New Issue
Block a user