Why blackboard data is not detecting the actor that I set

I have problem with my behaviour tree when detecting an actor which I set to path node. I set DesiredPathNode to an actor base class which I want the AI to follow. The problem is how will the AI which actor to find one.

And also cast is not working event if I cast it on path_node.

I already fix my problem. Just a minor detail. I forgot to set the default value of the variable name “DesiredPathNode” to “DesiredPathNode”, that’s why it does not detecting what node to follow to. Sorry my bad.