Workflow routing is refactored