Workflow definition validation updated to allow at least one end state.