How to search using custom fields in Zoho Desk (via Deluge scripting)?

How to search using custom fields in Zoho Desk (via Deluge scripting)?

In Zoho Desk, I have an account-level custom numeric field, called 'cf_vl_client_id', which is used to store the internal Client ID generated by our system. When I am trying to search records (in the Accounts module) using this custom field, I am constantly getting an error:
  1. zoho.desk.searchRecords(deskOrgId, "accounts", {"cf_vl_client_id": 1000});
Error:
  1. {"errorCode":"UNPROCESSABLE_ENTITY","message":"The value passed for the 'cf_vl_client_id' parameter is invalid."}
Surprisingly, I am able to find records using accountName:
  1. zoho.desk.searchRecords(deskOrgId, "accounts", {"accountName": "saurabh"});
Therefore, I am pretty sure that my syntax for searching via custom-field is incorrect. Unfortunately, the docs do not seem to cover this scenario.

Any help, please?




                            Zoho Desk Resources

                            • Desk Community Learning Series


                            • Digest


                            • Functions


                            • Meetups


                            • Kbase


                            • Resources


                            • Glossary


                            • Desk Marketplace


                            • MVP Corner


                            • Word of the Day



                                Zoho Marketing Automation


                                        Manage your brands on social media



                                              Zoho TeamInbox Resources

                                                Zoho DataPrep Resources



                                                  Zoho CRM Plus Resources

                                                    Zoho Books Resources


                                                      Zoho Subscriptions Resources

                                                        Zoho Projects Resources


                                                          Zoho Sprints Resources


                                                            Qntrl Resources


                                                              Zoho Creator Resources


                                                                Zoho WorkDrive Resources



                                                                  Zoho Campaigns Resources

                                                                    Zoho CRM Resources

                                                                    • CRM Community Learning Series

                                                                      CRM Community Learning Series


                                                                    • Tips

                                                                      Tips

                                                                    • Functions

                                                                      Functions

                                                                    • Meetups

                                                                      Meetups

                                                                    • Kbase

                                                                      Kbase

                                                                    • Resources

                                                                      Resources

                                                                    • Digest

                                                                      Digest

                                                                    • CRM Marketplace

                                                                      CRM Marketplace

                                                                    • MVP Corner

                                                                      MVP Corner

                                                                    





                                                                    




                                                                        Design. Discuss. Deliver.

                                                                        Create visually engaging stories with Zoho Show.

                                                                        Get Started Now