cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

How I can build file name of "S3 File Writer" consumed from data stream?

khanh_tran
New Contributor II

From the very first, I have data stream like as below

[{
"report_pipeline_id":"5fac56734418fe353b7b846d",
"transaction_id":"72479d9c-85f4-4cc6-90ec-dffac6d8536a",
"client_id":"e2572c18-29de-46c1-a212-fa54f61e468f"
},...]

later step is CSV Formatter, this step returns 

[{
"content-type":
"text/csv; charset=utf-8"
}]

Last step is "S3 File Writer". How can I set File Name of "S3 File Writer" = $report_pipeline_id + $transaction_id - it's get from the first step? Thank you!

 

1 ACCEPTED SOLUTION

alchemiz
Contributor III

Hi @khanh_tran ,

Good day, you can use the binary properties in the CSV formatter snap

alchemiz_0-1700632023399.png

Hope this helps.




Thanks,
EmEm

View solution in original post

3 REPLIES 3

alchemiz
Contributor III

Hi @khanh_tran ,

Good day, you can use the binary properties in the CSV formatter snap

alchemiz_0-1700632023399.png

Hope this helps.




Thanks,
EmEm

khanh_tran
New Contributor II

That's very helpful for me. Thank you so much <3<3

khanh_tran
New Contributor II

That's very helpful for me. Thank you so much โค๏ธ