What is the proper way to access player location from BTTask

Hi, I need to get actor location from BTTask to calculate distance between enemy AI and player, then do something after. I’ve tried use get player controller and cast to my characterBP to access the actor location, however the behavior tree seems like only execute the “Search” BTTask but not running the sequence node. Below is my setup of the behavior tree for the enemyAI.

BehaviorTree:

Search BTTask:

Ok i solved it by adding branch before finish execute is being called with condition of “Player is within search radius” instead of keep on success finish execute at every tick.