Skip to main content
Hi All,

 

My writer (csv file) is created only if i have results to input; But if there is no result, the csv file is not created.

 

Is there possibilities to create it even if is empty?

 

 

Thanks an advance.

 

 

FarFar
You could use a NoFeatureTester transformer (from the store). Just proir to writing the csv you could check if there are any featuires going into the csv. If not, the no feature tester will actually create one feature and you can write that to the csv. So it should create a blank line in what will be a empty csv.

Reply