Midi connections groove agent to cubase

Since a vew days I can no longer use my Groove Agent and my Halion SE. When I record a track, I see the track coming, but as soon as I stop the recording, the track is gone. I mentioned this earlier here and I ha reactions, that the recorded track doesn’t get any midi data.