Creator Help

Update Records in Zoho Support

Update a record in Zoho Support

You can update a record in Zoho Support using the updateRecord() Deluge task.

Syntax

<response> = zoho.support.updateRecord(<moduleName>, <portal>, <department>, <fieldsList>, <recordID>);

where,
<response>is the map variable returned as response.
<moduleName>is the name of the Support Module where the record needs to be updated. For example, "Requests" refers to the Requests module. The Support modules that are supported by Creator are "Requests", "Accounts", "Contacts" and "Contracts".
<portal>is the name of the Support Portal and <department> refers to the department in the portal where the record needs to be updated.
<fieldslist> is the map variable that holds the key,value pairs. The map key is the label name as specified in the Support module and the map value is the field value as submitted in the ZC form. For example, "Contact Name" : input.Contact_Name . Here, "Contact Name" is the label name as specified in the Support module and "input.Contact_Name" refers to the value specified in the Contact_Name field in the Zoho Creator form.
<recordID> pertains to the ID of the record that needs to be updated

Note:

  • All the parameters listed above are mandatory.  

Example

response = zoho.support.updateRecord("Requests", "zohotest", "database", {"Phone" : "9xxxxxxxx"}, 90000000001);

where,
response is the map variable returned as response
Requests is the name of the Support Module where the record needs to be updated.
zohotest is the name of the Support Portal and database refers to the department in the portal where the record needs to be updated. 
"Phone"is the label name as specified in the Support module. "9xxxxxxxxx" refers to the value specified in the "Phone" field in the Zoho Creator form.
"90000000001" is the record ID of the record that is being edited here.

Top