Skip to content
Snippets Groups Projects
Commit 486b2195 authored by Todd Dembrey's avatar Todd Dembrey
Browse files

Add basic outline of OTF workflow stages

parent 02db5d86
No related branches found
No related tags found
No related merge requests found
......@@ -61,3 +61,24 @@ class Phase:
def __str__(self):
return '__'.join([self.stage.name, self.name, str(self.occurance)])
# --- OTF Workflow ---
review = Phase('Under Review')
response = Phase('Ready to Respond')
rejected = Phase('Rejected')
accepted = Phase('Accepted')
progress = Phase('Progress')
standard_stage = Stage('Standard', Form(), [review, response, review, response, accepted, rejected])
first_stage = Stage('Standard', Form(), [review, response, progress, rejected])
single_stage = Workflow('Single Stage', [standard_stage])
two_stage = Workflow('Two Stage', [first_stage, standard_stage])
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment