Validating user input in workflow transitions