Add timeout for workflow approval nodes

This commit is contained in:
beeankha
2019-08-02 15:52:30 -04:00
committed by Ryan Petrello
parent 5f82754a3f
commit 28289e85c1
3 changed files with 20 additions and 1 deletions

View File

@@ -661,6 +661,9 @@ class WorkflowApproval(UnifiedJob):
def event_class(self):
return None
def _get_parent_field_name(self):
return 'workflow_approval_template'
def approve(self, request=None):
self.status = 'successful'
self.save()