詳細情報:
アクションプランの API 実装の更新
Summer '19 では、アクションプラン拡張オブジェクトでより多くの標準オブジェクトとカスタムオブジェクトがサポートされるようになりました。アクションプランの API 実装でTargetIdを参照し、それが取引先レコードであると仮定する場合は、コードを更新する必要があります。

より一般的な検索語を使用する。
絞り込み条件を減らして、検索範囲を広げる。
Summer '19 では、アクションプラン拡張オブジェクトでより多くの標準オブジェクトとカスタムオブジェクトがサポートされるようになりました。アクションプランの API 実装でTargetIdを参照し、それが取引先レコードであると仮定する場合は、コードを更新する必要があります。
| 使用可能なインターフェース: Lightning Experience |
| 使用可能なアプリケーション: Automotive Cloud、Consumer Goods Cloud、Education Cloud、Financial Services Cloud、Lightning Scheduler を備えた Government Cloud、Health Cloud、Manufacturing Cloud、Nonprofit Cloud、および公共セクターソリューション。エディションの使用可能状況を確認してください。 |
API バージョン 46 より前では、アクションプランで取引先オブジェクトのみがサポートされていました。自動化を使用してアクションプランを実装した場合、TargetId はアクションプランに関連する取引先レコードの ID です。
API バージョン 46 以降、アクションプランでは複数の対象オブジェクト (取引先、キャンペーン、ケース、取引先責任者、契約、リード、商談など) がサポートされます。また、活動が有効になっているカスタムオブジェクトでアクションプランを使用することもできます。この機能強化により、TargetId が多態的なフィールドキーになりました。TargetEntityType を使用して、アクションプランテンプレートのベースとなるオブジェクトの種別を決定します。次に、TargetId を使用して、適切なオブジェクトのテーブルでレコードを検索します。
バージョン 47 より前では、アクションプランテンプレートに ToDo 項目しか含めることができませんでした。API バージョン 47 以降、アクションプランテンプレートに ToDo、ドキュメントチェックリスト、および調査タスク評価項目の組み合わせを含めることができます。API バージョン 46 以前を使用する ToDo トリガーは、異なる種別の項目が含まれるアクションプランテンプレートによってトリガーされた場合は失敗する可能性があります。ToDo トリガーを API バージョン 47 以降にアップグレードするか、アクションプランテンプレートに 1 つの種別の項目しか含まれないようにすることで、この問題を解決します。
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.