How to switch the beahviour tree branch upon Bool change in Blueprints

Thanks for the quick reply, It worked!