I want to write a different json file for every time window defined in my TimeWindower.
To make things simple I'm using the window number as the window ID attribute (when I manage to make it work like this I'll use the window start time).
I want to write the data in each time window into a different (json) file and to name them I want to use the window id attribute together with some other string.
Right now the first file (string_0) is output as expected but the workspace will only output 2 json files for a total of 4 time windows (I used a terminator after the 4th time window) and the second one is not properly closed.
Any idea of what am I doing wrong?