Perhaps you could use the expression directly in the MIDIOUtputEvent. For example, in the Velocity field, use the expression:
(!Run bpm: !BPM) nextChaotic: !k seed: 0.62 reset: ((!Run bpm: !BPM) triggerEvery: 64)
With that expression, every 64 beats, it would reset and repeat the same sequence of values (assuming !K remains the same).
The Gate field of the MIDIOutputEvent would be
!Run bpm: !BPM