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

Unable to assign null value to a Salesforce object field

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Major
    • Resolution: Implemented
    • Affects Version/s: 2.19.1
    • Fix Version/s: 2.21.0
    • Component/s: camel-salesforce
    • Labels:
      None
    • Estimated Complexity:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: