To handle a field change from null to a value with the update message, ensure your plugin checks for both the old and new values. The update message triggers only when the field's value changes, but a change from null to a value should still fire it.
null
If it’s not triggering, explicitly check for null in your plugin logic:
if (context.PreEntityImages["PreImage"].GetAttributeValue<Type>(fieldName) == null && entity.GetAttributeValue<Type>(fieldName) != null) { // Handle the change from null to value }
Alternatively, verify your plugin registration includes Pre-Image with the field and the update message is configured correctly.
This is a known challenge in Dynamics 365/CRM plugins.
When you set a field to null in Dynamics:
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Rishabh Kanaskar 258
MVP-Daniyal Khaleel 178
Tom_Gioielli 142 Super User 2025 Season 2