Hi @HopeM that makes sense. I’ve gone through similar steps but see only first appearing in updatedFields and so I’m trying to figure out where we’re diverging. This is my pipleline…
[{
$match: {}
}, {
$merge: {
into: 'triggerCollection'
}
}]
In my function, I print to the console: console.log(JSON.stringify(changeEvent.updatedFields)); and this is the outut:
"{\"updatedFields\":{\"first\":\"ted\"},\"removedFields\":[]}"
The last attribute (which didn’t change) isn’t included.