enemy AI not focusing on the player character

the next task is attack
my understanding is that Focus will rotate the enemy toward the third person character after that the nest task ( attack) will implement the attack, since I moving the next task will be clearing the focus, then chasing me then Focus then attack and the cycle of tasks will Loop