add getLink to condition if route is resolvable