Dear Goncalo,
I'm sorry, I'm not really good at explaining myself and I wanted to avoid writing a book about this part of the workflow. I tried cutting out this specific part of my current workflow to a separate workflow, I'll try to explain what it does as best as I can. I'm attaching it with this post.
The workflow loads in a batch of videos and a node transforms the filename into a string, that is essentially the code for the animal in the video (FNameChange). This provides a continous flow of this filename. The DistinctUntilChanged node connected to it triggers the TriggeredWindow node when a new video with a new filename comes in. There is also a KeyDown node, the PythonTransform node gives back specific strings on specific button presses, which serve as labels. The button presses and the continous flow of the filename string feed into a SelectMany node. Inside it, it basically counts the frames according to the labels they're given and than calculates a percentage for each label. At the end, these percentages are saved in a text file, the text file's name is decided by the continous flow of the filename. So this flow acts as the name specifier but also it "carries the frames" into SelectMany.
Now the problem. The CombineLatest node can't start without a button press. That means, that the filename can't feed into SelectMany, so at the start of the workflow, the textfile doesn't get it's filename and it doesn't create a text file for the first video in the batch. Because of this, I would need an empty data from the KeyDown node at the very start of the workflow, so CombineLatest can start feeding the filename into SelectMany.
I tried using sample, but it only returns one value.
-Felix