Passing the dynamic variable for filename in file writer snap

Hello,

I am trying to write some generic error content into a file using filewriter snap. The name of the file should be the value coming from the previous mapper snap “$pipe”. I am trying to use the $pipe in the file name option and getting an error. I am looking for a solution and would really appreciate for any such. Also, i am attaching screenshot of the sample mapping. Thanks

@arvindnsn

Hi you can use binary header property of CSV formatter .

1 Like

The solution works perfect. Thanks a lot!