You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

如何从Salesforce API获取ActionCadence数据?查询报错求解

解决Salesforce ActionCadence数据查询失败问题

问题重现

执行SOQL查询:

select COUNT() from ActionCadence

返回错误:

sObject type 'ActionCadence' is not supported. If you are attempting to use a custom object, be sure to append the '__c' after the entity name. Please reference your WSDL or the describe call for the appropriate names.

解决步骤

  • 确认Sales Engagement功能已启用
    ActionCadence是Salesforce Sales Engagement(原Sales Cadence)套件的核心对象,必须先在你的Org中启用该功能。进入Setup,搜索「Sales Engagement」,检查功能状态并启用。
  • 验证对象的实际API名称
    不同环境下对象API名可能有差异,通过以下方式确认:
    1. 执行describeSObjects API调用,传入对象名前缀或查询所有对象列表
    2. 在Setup的「Object Manager」中搜索「Cadence」或「Action Cadence」,查看其API名称
      部分旧版环境中该对象的API名为Cadence而非ActionCadence,尝试替换后查询:
    select COUNT() from Cadence
    
  • 检查用户权限
    确保当前查询的用户拥有ActionCadence对象的「Read」权限,可通过Profile或Permission Set配置该对象的访问权限。
  • 使用匹配的API版本
    确保你的SOQL查询使用的API版本与官方文档要求的版本一致(建议使用最新稳定版或文档指定的版本),低版本API可能不支持该对象。

内容的提问来源于stack exchange,提问作者Rinze

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.06.24 23:52:06