Created on 08-04-2018 11:48 PM - edited 08-17-2019 09:04 PM
Hello, how do I configure the PutMongo processor to perform an update on a mongodb collection? The following error occurs. NiFi version I use: NiFi 1.7.1
Created on 08-05-2018 01:15 AM - edited 08-17-2019 09:04 PM
As you are having Mode property value as Update and also
Change the Upsert property value to
true //When true, inserts a document if no document matches the update query criteria; this property is valid only when using update mode, otherwise it is ignored
For more details regards to updating the docs refer to this and this links.
Created on 08-05-2018 01:58 AM - edited 08-17-2019 09:04 PM
Shu, the error below occurs after the change to True.
Created on 08-06-2018 12:32 PM - edited 08-17-2019 09:04 PM
Shu, the error below occurs after the change to True.
Created 04-22-2020 08:39 AM
I am also facing the same issue of not able to update mongo records using exiting _id . I just need to update 2-3 fields in existing mongo document