フローまたはプロセスにて、実行中に「最大インタビューサイズの 1,000,000 文字を超えたため、この自動化を一時停止できませんでした。」というエラーが発生する場合があります。
フローインタビューが保存される際、インタビューで実行された要素の履歴を含むすべてのデータがシリアル化され、データベースに保存されます。
インタビューサイズは次のような場合に増加します。
インタビューサイズが Salesforce データベースの保存制限を超えた場合、フローインタビューレコードとして保存できないため、上記のエラーが発生します。
このエラーを解決するには、以下のいずれかの方法を試してください。
1. フローの実行状態がデータベースに保存されないようにする
自動起動フローの場合: 「待機 (Wait)」要素を削除します。
画面フローの場合: 画面要素の「一時停止 (Pause)」ボタンを非表示にします。
プロセスの場合: スケジュール済みのアクションを削除します。
2. フローの実行状態のデータ量を削減する
複数の要素を統合する: 可能な限り、「割り当て (Assignment)」要素や「レコードを更新 (Update Records)」アクションなどを統合し、要素数を減らします。
ループの回数を減らす: ループ内のコレクションを絞り込むのではなく、可能な限りルックアップを具体的に指定し、ループの回数を減らします。
ループ内の項目を減らす: ループを使用する場合、コレクション内の項目数、ループ内の要素数を減らします。また、フローに関連する項目のみをコレクションに含めるようにします。
リッチテキスト項目での操作を避ける: リッチテキスト項目を操作の対象にしないようにします。
3. 定期実行にスケジュール済みApexを使用する
フローまたはプロセスを定期的に実行する必要がある場合は、各実行の間隔でスケジュール済みApexを使用してフローの実行を開始します。
000385514

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.