Hi Raffaele,
If you update via insert with ino:id, the update trigger will be called twice: first with XMLObjectOld set to the old document and XMLObjectNew unset, the second time with XMLObjectOld unset and XMLObjectNew with the new document. This is because insert with ino:id indeed deletes the old document and processes the new document afterwards.
If you need both values, you should save the old document from the first call and use it in the second call.
Hope that helps,
Julius Geppert
Software AG
#Tamino#webMethods#API-Management