I have an issue with the MongoDB node. On my collection, I have an object enrichments on all my documents where I store the status of all my enrichment processes.
On my flow, after my MongoDB node - Find I need to update the document with enrichment.employees.date & enrichment.employees.version. That way, I know that the task is done on this document. But when I update the document based on the _id, it erases all my others objects that are in enrichments. So I have only enrichment.employees.date & enrichment.employees.version left.
An example of my flow:
How can I prevent this? Do you have any idea? I tried many things.
Thank you in advance,
Have a nice day.