Create a WorkflowTutorial on how to create a workflow that can process tasks through five different states.