"Record" component issue

I want to use the “Record” component to retain data in a part of my definition which I want to cut off temporarily from up-stream components, except when a trigger is… well … triggered :

I’m setting the “record limit” to 1 or else I would have the data piling up, and it would make no sense downstream.

The issue I see is that if I send new data with less branches than the previous stroke, the old branches still hang on :

I’m struggling with management of data flow in my definition, and I wonder how you folks would achieve the same goal.

EDIT : I found a special “Record” component in the Sasquash plugin, but it doesn’t help.