Created
January 3, 2022 16:53
-
-
Save danfunk/c9256a0c0c4a0f888ac68cec07d5b480 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ready_tasks = workflow.get_ready_user_tasks() | |
| while len(ready_tasks) > 0: | |
| for task in ready_tasks: | |
| if isinstance(task.task_spec, UserTask): | |
| show_form(task) # We'll get to this in just a second | |
| workflow.complete_task_from_id(task.id) | |
| workflow.do_engine_steps() | |
| ready_tasks = workflow.get_ready_user_tasks() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment