Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Append to MongoDB document's array attribute

Append to MongoDB document's array attribute

Attached is the document of the MongoDB document that I wish to append do from NiFi. What I want to do is is simple: the document has an array attribute named 'reports'. I wish to take the FlowFile from NiFi, and append it to that report. I have had some success doing this process through the 'RunMongoAggregation' processor, but did not like the fact this aggregation ran on a schedule rather than an event/trigger based system.

94483-database-entry.jpg

Don't have an account?
Coming from Hortonworks? Activate your account here