Just in case someone has the same question, here is my solution:

Where the bool AI_bNeedNewDestination is set when the distance between current location and destination is less than a given threshold.
Just in case someone has the same question, here is my solution:

Where the bool AI_bNeedNewDestination is set when the distance between current location and destination is less than a given threshold.