the record to midi file function does not work with groove agent3 on cubase 7.
Could you be more specific, please? Could you provide step-by-step repro (just to be sure, I know, what you are doing). What do you want to achieve?
But in general, if you want to export the MIDI File from Groove Agent 3, this function is available in standalone version only.