Error on opening Update Records element which is configured on Custom Object with Lookup relationship to Standard Object↓日本語訳です。
Summary
Inside flow builder when opening an update record element(which is on Custom Object), configured to update related records (of Standard object), an error pop up is thrown with "Something went wrong".
"We can't reference fields. Check that they're still valid references and that you have permission to access them. For help, contact Salesforce Customer Support. Error ID: -191673043"
Steps to Reproduce
1. Create a custom object
2. Add a Lookup field to Standard Object eg-Account
3. Create Record Triggered Flow on new Custom Object (created/updated)
4. Add Update Records component to Flow
5. Update records related to the opportunity record that triggered the flow
6. Related Records: $Record > RelatedAccount
7. Set Field Values for the Records: eg; BillingCity 8. Save and Active the Flow
7. Re-open the Flow and then open the Update Records component
8. Receive error
9. Update field also has an invalid value error
Workaround
Note: Though the error is popping up, the flow will run as expected. To make any changes to the Update record component, you can delete and re-create the component.
標準オブジェクトへの参照関係を持つカスタムオブジェクトに設定された「レコードを更新」要素を開くとエラーが発生する※再現手順の番号がよくわからない感じになっていますが、元の記載をそのまま変えずに載せています。
概要
フロービルダーで、(標準オブジェクトの)関連レコードを更新するように設定された更新レコード要素(カスタムオブジェクト上にある)を開くと、「問題が発生しました」というエラーポップアップが表示される。
「項目を参照できません。これらがまだ有効な参照であることと、これらにアクセスできる権限があることを確認してください。不明な点は、Salesforce カスタマーサポートにお問い合わせください。エラーID:-191673043"」というエラーポップが表示されます。エラーID:-191673043"
再現手順
1. カスタムオブジェクトを作成する。
2. 標準オブジェクトを参照する項目を追加する。 例:Account
3. 新しいカスタムオブジェクト(作成/更新)にレコードトリガーフローを作成します。
4. フローにレコードを更新要素を追加する。
5. フローをトリガした商談レコードに関連するレコードを更新する※この場合は取引先
6. 関連レコード: $Record > RelatedAccount
7. レコードの項目値を設定:例;BillingCity 8. フローを保存してアクティブにする
7. フローを再度開き、レコードを更新要素を開く。
8. エラーが表示される。
9. 更新項目も無効な値というエラーが発生する。
回避策
注:エラーがポップアップするが、フローは期待どおりに実行される。レコードの更新要素に変更を加えるには、要素を削除して再作成してください。