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

Groovy script for merging flowfiles

I am trying to merge all json messages into a single file through custom groovy script. From MergeRecord I am not getting a single file rather I am getting small merged files. So as a workaround I am trying to write a groovy script for the same.


Re: Groovy script for merging flowfiles


Hi @ishantiwari91,
Can you elaborate the condition on which you want to merge the flowfiles?