I want to configure the mergecontent processor so that when it flows to the putemail processor, it lists all the individual flowfiles within the email that it sends out. As of now I am getting just one line of text from the putemail and it has one line of text "
Greetings, 172927055__________ has failed to load in into ______________________ at but succesfully loaded into HDFS"
I would like to receive a list of files that failed to load, not just one new flowfile number.
The above was originally posted in the Community Help track. On Sat May 11 03:07 UTC 2019, the HCC moderation staff moved it to the Data Ingestion & Streaming track. The Community Help track is intended for questions about using the HCC site itself.
Bill Brooks, Community Moderator Was your question answered? Make sure to mark the answer as the accepted solution. If you find a reply useful, say thanks by clicking on the thumbs up button.
To get the list of files in a merged file, you could make a call via the NiFi Rest api, using the uuid of the merged flow file, to get the provenance information for that flow file and this would contain the list of files in the merged flow file. You could then add that information to the email message being sent.