Hi,
I'm trying to use Create Empty Data to generate N empty data records, where N is established by a global variable.
If Create Empty Data is at the start of a pipe, then all behaves as expected; however, if I instead start the pipe with a custom filter (to check that some superseding error hasn't happened upstream to preclude needing to generate those empty records) which is connected to the Create Empty Data component, then the following happens:
N + 1 records come out of Create Empty Data
The first record is the one generated by the custom filter (and it is not empty after coming out of Create Empty Data)
Then N empty records are generated by Create Empty Data
Is this expected behavior? Perhaps there are use cases where one would want to echo records arriving at the Create Empty Data component? For my purposes, it would be ideal to have a behavior where the records generated by the component are solely dictated by the NumberToGenerate parameter.
I've attached a simple protocol to reproduce.
Thank you for any insights.
Best,
Andrew
