I'm having an issue using the custom assembly event handlers to determine if a specific field has been updated. What I need to do is during an update operation, see if one specific field was changed, and perform some logic if that has occurred, but I can never seem to retrieve the original value.
In the PreUpdateCollection and PostUpdateCollection events, I've defined
updateRequest = (UpdateCollectionRequestData)args.RequestPayload;
updateResponse = (UpdateCollectionResponseData)args.ResponsePayload;
For PreUpdateCollection, the updateRequest collection contains the fields NEW field value, not the original, and the updateResponse is NULL (as I would expect).
For PostUpdateCollection, the updateRequest and updateResponse both contain the NEW field value, so I cannot compare the original value vs a potentially updated value.
I've also tried the PreItemUpdate and PostItemUpdate and it's essentially the same behavior.
Is there a way, using the Event Handlers to ever see the original data state?