Salesforceの自動起動フローにおいて、 [システムコンテキスト (共有なし) - すべてのデータへのアクセス] を使用せず、 [すべての項目を自動的に保存] を有効にしてユーザーレコードにアクセスすると、「No such column 'UserPreferencesUseSalesforceMailerForLexEmail' on entity 'User'」エラーが発生する場合があります。
エラーメッセージ例
“No such column 'UserPreferencesUseSalesforceMailerForLexEmail' on entity 'User'. If you are attempting to use a custom field, be sure to append '__c' after the custom field name.”
注:UserPreferencesUseSalesforceMailerForLexEmailは例として示されており、組織の設定によっては、エラーメッセージは他の内部ユーザー設定フィールドを参照する場合があります。
この事象を回避するには、以下のいずれかの操作を実行してください。
[すべての項目を自動的に保存] を使用してフローを実行する場合、フローの実行モードを [システムコンテキスト (共有なし) - すべてのデータへのアクセス] に変更する。
[すべての項目を自動的に保存] ではなく、 [項目を選択して Salesforce にすべてを任せる] を選択し、アクセスが必要な項目のみを個別に指定する。
005228834

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.