在尝试在工作流下执行Deluge脚本时,在为Account模块编写函数时,我需要根据过滤条件提取记录时出现错误。我在查询脚本下运行,但显示错误。
response=zoho.crm.searchRecords("Accounts", "(Account Name|starts with|A*)");
info response;
错误响应:
{"code":"INVALID_QUERY","details":{},"message":"invalid query formed","status":"error"}
此查询是Zoho博客本身提供的默认查询。我只是复制并粘贴了它。
现在,我正在使用Zoho试用帐户。可能是原因吗?
答案 0 :(得分:0)
请使用以下脚本,因为您已使用API V1编写了搜索功能,该功能自2018年2月起已弃用。请参阅链接:https://www.zoho.com/deluge/help/script/crm-search-records-v2.html
response=zoho.crm.searchRecords("Accounts", "(Account_Name:starts_with:A*)");
info response;