Something like
leader grp1 allowFleeing 0; leader grp1 doFollow leader grp1
should make him go to his next waypoint. getWPPos will work if you know what the next waypoint is. IIRC correctly there is no direct way of telling which waypoint is "active", although if its really important you could do it with variables.