Hi Justin
I'm simply copying some of the values from first-collection into second
colleciton on finding the values in 2nd collection based on search criteria.
Here is my entire code for one record. If there are multiple records in
first-collection, then this conflict is occuring.
Code
I still don't understand what your code is trying to do. Can you please
describe in words what you're trying to accomplish? Where does `matViewUri`
come from? How does it relate to `{personId: id}`?
Justin
> On Oct 3, 2016, at 7:08 AM, Shiv Shankar wrote:
>
> Hi
Hi Justin,
Here is the actual code that returns XDMP-CONFLICTINGUPDATES Error:.
---
declareUpdate();
var mainDataResponse =
rawColls.documents()
.where(rawColls.byExample({personId: id}))
.result('iterator');
for (var result of mainDataResponse.results) {
var normalizedViewObj =