I'd do it like this:
MISSION EDITOR:
-Add a group and in the Officer's name field type "GroupA"
-Add an Game Logic where you want the to flee to, in it's name field type "FleePoint"
SCRIPT:
#start
_grpcount = count units GroupA
? (_grpcount = 1): goto "move"
~1
goto "start"
#move
_pos = getpos FleePoint select 0
GroupA move _pos
exit
Then activate the script in the mission editor.
Hope that helps.
P.S: I'm not sure about the "_grpcount = count units GroupA" line, if it doesn't work sorry.