您位於此處:
更新動作計畫的 API 實作
在 Summer ’19 中,「動作計畫」已將物件支援擴充至更多標準與自訂物件。如果您的「動作計畫」API 實作參照 TargetId 並假設其為帳戶記錄,則您必須更新程式碼。

使用較常見的搜尋字詞。
選取較少篩選條件以擴大您的搜尋。
您位於此處:
在 Summer ’19 中,「動作計畫」已將物件支援擴充至更多標準與自訂物件。如果您的「動作計畫」API 實作參照 TargetId 並假設其為帳戶記錄,則您必須更新程式碼。
| 提供版本:Lightning Experience |
| 提供版本:Automotive Cloud、Consumer Goods Cloud、Education Cloud、Financial Services Cloud、Government Cloud with Lightning Scheduler、Health Cloud、Manufacturing Cloud、Nonprofit Cloud 和 Public Sector Solutions。檢視版本可用性。 |
在 API 46 版之前,「動作計畫」僅支援「帳戶」物件。如果您使用自動化實作「動作計畫」,則 TargetId 是與動作計畫相關的「帳戶」記錄識別碼。
從 API 46 版開始,「動作計畫」支援多個目標物件,包括帳戶、行銷活動、個案、連絡人、契約、商機、機會等。您也可以將「動作計畫」與已啟用活動的自訂物件搭配使用。此增強表示 TargetId 現在是多型欄位索引鍵。使用 TargetEntityType 決定動作計畫範本所依據的物件類型。然後使用 TargetId 查詢適當物件表格中的記錄。
在 47 版之前,「動作計畫範本」只能包含工作項目。從 API 47 版開始,「動作計畫範本」可以包含工作、文件檢查清單和評估工作項目混合。如果由包含不同類型項目的「動作計畫範本」觸發,則使用 API 46 版或更低版本的工作觸發可能會失敗。若要解決此問題,請將工作觸發升級為 API 47 版或更新版本,或確保「動作計畫範本」僅包含一種類型的項目。
您無法自訂 ActionPlanTemplate 物件。透過 UI 對物件欄位進行的任何更新僅適用於本機組織,且無法使用「中繼資料 API」提取。

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.