What is the effect of such a condition in a contract on a third party? 
Such a condition confers a direct right upon the third party against the undertaker, allowing them to demand the performance of that condition unless there is an agreement stating otherwise. However, the undertaker can use any defenses arising from the contract against the beneficiary.