Hello @AlokKumar,
Thanks for using Cloudera Community.
As I understand, what you need is to add one more step in your flow:
HandleHttpRequest-> MergeContent -> ExecuteScript (Groovy)-> HandleHttpResponse
Since you have JSON fields and files, you're getting multiple FlowFiles.
So this extra MergeContent phase will combine the JSON and the file into a single FlowFile
On the MergeContent, set Merge Strategy as “Defragment” and set Correlation Attribute Name as http.request.id. that is unique from each HandleHttpRequest
Regards,
Andrés Fallas
--
Was your question answered? Please take some time to click on "Accept as Solution" below this post.
If you find a reply useful, say thanks by clicking on the thumbs-up button.