行動レコードの [名前] 項目に複数の取引先責任者を紐付ける場合、裏側では 「行動リレーション(EventRelation)」 という中間オブジェクトのレコードが複数作成される仕組みとなっています。
そのため、画面フローで複数の取引先責任者が紐づいた行動レコードを作成する場合は、フローで行動リレーションレコードを作成する必要があります。
本ナレッジでは、変換要素を用いた方法を記載します。
注意:
・こちらの記載内容についての具体的な手順に関しては、Salesforce サポートでは対応できかねますので、あらかじめご了承ください。
・お客様で構築しても期待通りの動作にならない場合は、Salesforce サポートに問い合わせてください。
ステップ1:画面フローを作成
ステップ2:画面要素を配置
ステップ3:行動レコード変数へ値の割り当て
画面要素でレコード項目を使用した値は、割り当てる必要はありません。
| 変数 | 演算子 | 値 |
| EventRecord> 件名 ({!EventRecord.Subject}) | 次の文字列と一致する | 行動登録画面>件名 ({!Subject}) |
| EventRecord> 割り当て先 ID ({!EventRecord.OwnerId}) | 次の文字列と一致する |
行動登録画面>割り当て先>レコードID ({!Subject}) |
ステップ4:行動レコードの作成
ステップ5:行動リレーションレコード作成のための準備
| 項目 | 演算子 | 値 |
| 取引先責任者 ID (Id) | 次に含まれる | 行動登録画面 > 名前 > レコード ID コレクション ({!WhoIds.recordIds}) |
ステップ6:行動リレーションレコードの作成
ステップ7:フローの保存とデバッグ、有効化
005317326

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.