Github user MikeThomsen commented on a diff in the pull request: https://github.com/apache/nifi/pull/2999#discussion_r217170815 --- Diff: nifi-nar-bundles/nifi-mongodb-bundle/nifi-mongodb-processors/src/main/java/org/apache/nifi/processors/mongodb/PutMongo.java --- @@ -112,8 +112,10 @@ .allowableValues(UPDATE_WITH_DOC, UPDATE_WITH_OPERATORS) .defaultValue(UPDATE_WITH_DOC.getValue()) .description("Choose an update mode. You can either supply a JSON document to use as a direct replacement " + - "or specify a document that contains update operators like $set and $unset") - .build(); + "or specify a document that contains update operators like $set, $unset, and $inc."+ + "When Operators mode is enabled, the flowfile content is expected to be the operator part"+ + "for example: {$set:{\"key\": \"value\"},$inc:{\"count\":1234}} and Update query has to be the record to be updated") --- End diff -- I'd suggest we strike that part and replace it with something like this: > and the update query will come from the configured `Update Query` property. If that works for you, I can make the change myself.
---