Add new validation to get parent entity details if the current entity is a branch.