Support Questions
Find answers, ask questions, and share your expertise

NiFi create multiple new records based on value

NiFi create multiple new records based on value

New Contributor

We have a CSV file that looks like something;

Num_Ordered,Type,Something_else,etc..
3,Dongle,foo,bar
2,widget,bar,bar

We need to create 3 records for the first record, and then create 2 records for the second record;

Type,something,else
dongle,foo,bar
dongle,foo,bar
dongle,foo,bar
widget,bar,bar
widget,bar,bar

Is there any way to generate new records in UpdateRecord based on record path to replace the current records?