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

  • Suggested answer
    Roma Gupta Profile Picture
    725 on at
    RE: Unable to update fields to null value using action

    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

  • Nuwan Chamara Profile Picture
    20 on at
    RE: Unable to update fields to null value using action

    Hi,

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

  • Harindu_Hansana Profile Picture
    5 on at
    RE: Unable to update fields to null value using action

    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.

  • erhan.keskin Profile Picture
    2,253 on at
    RE: Unable to update fields to null value using action

    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
    Unable to update fields to null value using action

    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
    RE: Unable to update fields to null value using action

    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
    RE: Unable to update fields to null value using action

    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,

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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Kudos to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

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

#1
Siv Sagar Profile Picture

Siv Sagar 149 Super User 2025 Season 1

#2
Daivat Vartak (v-9davar) Profile Picture

Daivat Vartak (v-9d... 53 Super User 2025 Season 1

#3
Vahid Ghafarpour Profile Picture

Vahid Ghafarpour 32 Super User 2025 Season 1

Overall leaderboard

Product updates

Dynamics 365 release plans