Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-11637

Unable to assign null value to a Salesforce object field

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Implemented
    • 2.19.1
    • 2.21.0
    • camel-salesforce
    • None
    • Unknown

    Description

      When in Salesforce I have an object with a nullable field, and want to set its value to null, there's no way to do it.

      Actually it's enough to pass empty string ("") or null as field value to SF REST API to set field to null.
      Both

      {
        "PoBox__c": null
      }
      

      and

      {
        "PoBox__c": ""
      }
      

      are valid.

      Attachments

        Activity

          People

            zregvart Zoran Regvart
            hauler Roman Kalashnikov
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: