First you need to attach pathfind behavior to the character.
On start of layout find path to random(x,y).
On path found - > move along path.
On failed to find path - > find path to random(x,y).
I did not test this because I'm not on my pc but I think it's gona work.
I'm sorry, I speak portuguese and the google translator is not very good. So, I want my character and randomly without stopping, I did what you said, but after a while he to walk. Here is a picture of how I did it.
note: the X and Y that I put is as far as I want my character to go