@ANKIT PATEL
Use SplitText processor with below configs:
We are keeping header line count as 1 i.e first line treated as header and this header is added to each split and we are splitting 3 lines as one split.
InputFlowFile:
fieldname value
id 1
name ankit
address ____
id 2
name john
address ______
Use Splits relationship from Splittext processor
OutputFlowfiles:
ff1:
fieldname value
id 1
name ankit
address ____
ff2:
fieldname value
id 2
name john
address ______
For more details refer to this link for more details regards to SplitText processor.
-
If the Answer helped to resolve your issue, Click on Accept button below to accept the answer, That would be great help to Community users to find solution quickly for these kind of issues.