Update record in Salesforce
Table of ContentsUp
Update a record in Salesforce by specifying the record ID.
Note: This task is applicable only to Zoho Creator.
is the variable which will hold the response returned by Salesforce.
is the name of the Salesforce connection.
is the name of the module in Salesforce where the record will be updated.
Following are the names of applicable modules.
ID of the record which will be updated.
Learn how to fetch the ID of a record after creating it or fetching it.
Map with key as Salesforce field's name and value as the updated value.
To learn about the field names, click here and navigate to the required module.
Update records in Salesforce
The following snippet when executed updates the record in the "Account" module in Salesforce.
|"Salesforce"||is the name of the Salesforce Connection|
|"Account"||is the module in Salesforce, where the record will be updated|
|"00190000010bRIMAA2"||is the ID of the record which needs to be updated|
|are the Salesforce fields which will be updated|
|are the updated values for the specified fields|
|response||is response returned as map by Salesforce|
Following is a sample success response returned by Salesforce:
The following is a sample failure response:
"message":"Cannot deserialize instance of currency from VALUE_STRING value thousand at [line:1, column:2]",