How to Design a Workflow