web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Suggested Answer

Unable to update fields to null value using action

(0) ShareShare
ReportReport
Posted on by 20

Hi,

We have an action to update certain entities in our system where we have to pass a null value to the following data types:

Decimal

Single Line Text

Multi Line Text

We are using a late bound with Post Operation Synchronous action running on server. We use Dynamics 365 online version (Server version: 9.1.0000.10951, Client version: 1.3.2539-191119-175232). We can update value to any non empty value without any issue.

We are also using CRM dll version 9.0.7 and we have updated it to the latest version as well but no luck. Any suggestions?

We are unable to post this to Microsoft Dynamics CRM forum

I have the same question (0)
  • erhan.keskin Profile Picture
    2,253 on at

    Hi,

    What you are saying is that when you temp to set Null to Decimal, SLT, MLT fields, Null value is not updated. What error do you face? What happens to the existing data in those fields after Null update?

    Regards,

  • erhan.keskin Profile Picture
    2,253 on at

    Hi,

    What you are saying is that when you temp to set Null to Decimal, SLT, MLT fields, Null value is not updated. What error do you face? What happens to the existing data in those fields after Null update?

    Regards,

  • Nuwan Chamara Profile Picture
    20 on at

    Hi,

    We have an action to update certain entities in our system where we have to pass a null value to the following data types:

    Decimal

    Single Line Text

    Multi Line Text

    We are using a late bound with Post Operation Synchronous action running on server. We use Dynamics 365 online version (Server version: 9.1.0000.10951, Client version: 1.3.2539-191119-175232). We can update value to any non empty value without any issue.

    We are also using CRM dll version 9.0.7 and we have updated it to the latest version as well but no luck. Any suggestions?

    We are unable to post this to Microsoft Dynamics CRM forum

  • erhan.keskin Profile Picture
    2,253 on at

    Hi,

    What you are saying is that when you temp to set Null to Decimal, SLT, MLT fields, Null value is not updated. What error do you face? What happens to the existing data in those fields after Null update?

    Regards,

  • Harindu_Hansana Profile Picture
    5 on at

    Hi Erhan,

    We need to remove the value of those fields. When we set null the value doesn't change and remains the old value. We used string.empty and null for SLT and MLT and empty for decimal. Did not work.

  • Nuwan Chamara Profile Picture
    20 on at

    Hi,

    It dose not throw any errors and the fields old values still remains

  • Suggested answer
    Roma Gupta Profile Picture
    725 on at

    Hi Harindu

    Is there any specific reason for setting null value. Try setting it 0 & see if that can help.

    Also, what happens if you first set it to non -null or 0 & then set it to 0. I know its double work but   if you really want to have a null value.

    Also, are you getting any errors? Try doing it in pre-operation instead of post - operation.

    Regards

    Roma

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.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
Siv Sagar Profile Picture

Siv Sagar 93 Super User 2025 Season 2

#2
#ManoVerse Profile Picture

#ManoVerse 74

#3
Martin Dráb Profile Picture

Martin Dráb 64 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans