I'm trying to get a PutMongo processor to preform an update on an existing field
It the processor I have the following settings:
Mode: update
Upsert: false
Update Query: {"resourceId" : ${resourceId}}
Update Mode: With operators enabled
Before I go into the PutMongo I do a ReplaceText to put my update operation in
the content:
Search Value: (?s)(^.*$)
Replacement Value: {$set:{"documentId":"${documentId}"}}
Replacement Strategy: Always Replace
Evaluation Mode: Entire text
Viewing the data providence shows me that this replacement is working correctly
It's the first time I'm trying this so I'm totally open to the fact that I
could be doing something wrong