From 3fde447de8032f0ad1d76eb706fd521174d05415 Mon Sep 17 00:00:00 2001 From: Fabian Braun Date: Wed, 7 Jun 2023 20:44:26 +0200 Subject: [PATCH] Update README.md --- README.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 89fff7c..ecf0739 100644 --- a/README.md +++ b/README.md @@ -82,12 +82,12 @@ carried out. class ProcessInput(Automation): """The process steps are defined by sequentially adding the corresponding nodes""" - start = flow.Execute(this.get_user_input) # Collect input a user has supplied + start = flow.Execute(this.get_user_input) # Collect input a user has supplied check = flow.If( - this.does_not_need_approval # Need approval? - ).Then(this.process) # No? Continue later - approval = flow.Form(forms.ApprovalForm).Group(name="admins") # Let admins approve - process = flow.Execute(this.process_input) # Generate output + this.does_not_need_approval # Need approval? + ).Then(this.process) # No? Continue later + approval = flow.Form(forms.ApprovalForm).Group(name="admins") # Let admins approve + process = flow.Execute(this.process_input) # Generate output end = flow.End() critical = 10_000 @@ -103,4 +103,4 @@ carried out. # Documentation -See the [documentation on readthedocs.io](https://django-automations.readthedocs.io/). \ No newline at end of file +See the [documentation on readthedocs.io](https://django-automations.readthedocs.io/).