您在此处:
更新行动计划的 API 实施
在 Summer ’19 中,行动计划将对象支持扩展到更多标准和自定义对象。如果行动计划的 API 实施引用了TargetId并假设它是客户记录,则必须更新代码。

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.

使用更普遍的搜索词。
选择更少的筛选器,并扩大搜索范围。
您在此处:
在 Summer ’19 中,行动计划将对象支持扩展到更多标准和自定义对象。如果行动计划的 API 实施引用了TargetId并假设它是客户记录,则必须更新代码。
| 适用于:Lightning Experience |
| 适用于:Automotive Cloud、Consumer Goods Cloud、Education Cloud、Financial Services Cloud、带 Lightning Scheduler 的政府云、Health Cloud、Manufacturing Cloud、Nonprofit Cloud 和 Public Sector Solutions。查看版本可用性。 |
在 API 版本 46 之前,行动计划仅支持客户对象。如果您使用自动化实施行动计划,TargetId 是与行动计划相关的客户记录的 ID。
从 API 版本 46 开始,行动计划支持多个目标对象,包括客户、市场活动、个案、联系人、合同、潜在客户、业务机会等。您也可以将行动计划与已启用活动的自定义对象一起使用。这种增强意味着 TargetId 现在是一个多态字段密钥。使用TargetEntityType来确定操作计划模板所基于的对象类型。然后,使用 TargetId 在适当对象的表中查找记录。
在版本 47 之前,行动计划模板只能包含任务项目。从 API 版本 47 开始,行动计划模板可以包含任务、文档核对清单和评估任务项目的组合。如果由包含不同类型项目的行动计划模板触发,使用 API 版本 46 或更低版本的任务触发器可能会失败。通过将任务触发器升级到 API 版本 47 或更高版本,或确保行动计划模板仅包含一种类型的项目,解决此问题。
您无法自定义 ActionPlanTemplate 对象。通过 UI 对对象字段的任何更新仅适用于本地组织,不能使用元数据 API 检索。