How to call OnTaskFinished from BTTask_MoveTo in BehaviorTree


In the picture shown above, run the BehaviorTree’s MoveTo Task and then run the ArrivedAtDestination Task.
In ArrivedAtDestination, this is the logic that will be executed after the MoveTo Task is finished.
Is there any way to call this function from the behavior tree? Then I guess I don’t have to use the ArrivedAtDestination Task.

In this article above, the function I want to call is OnTaskFinished.