cancel
Showing results for 
Search instead for 
Did you mean: 

Passing the dynamic variable for filename in file writer snap

arvindnsn
Contributor

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

image

2 REPLIES 2

Supratim
Contributor III

@arvindnsn

Hi you can use binary header property of CSV formatter .parser

The solution works perfect. Thanks a lot!