Workflow stages and tasks
Find a stage, enumerate its tasks, and perform role-appropriate task actions.
workflow = project.workflow
annotate = workflow.get_stage(name="Annotate")
for task in annotate.get_tasks():
task.claim()
task.set_priority(10)
task.submit()
review = workflow.get_stage(stage_type="review")
for task in review.get_tasks():
task.reject(reason="Boundary policy", comment="Exclude cast shadow")Operating contract
Concern
Required behavior
Failure and recovery boundary
Condition
Response