Loading
システム管理者に対するフィッシング耐性MFA・全従業員ユーザーMFAの適用のお知らせ 続きを読む
ただいま大変多くのお問い合わせをいただいており、ご連絡までにお時間を頂戴しております続きを読む

Screen Flow File Upload component returns null contentDocIds/contentVersionIds when two File Upload components share the same screen and output variables

公開日: Sep 1, 2026
説明

When a Screen Flow contains two File Upload (forceContent:fileUpload) screen components on the same screen, and both components are configured to write their outputs (contentDocIds, contentVersionIds, fileNames) to the same variables both components return null for these outputs after a file is uploaded even though the upload itself succeeds and the file is attached to the record. This occurs on Flow API version 56 and above and the flows run at API version 55 or lower are not affected.

This is expected platform behavior. Starting with Flow API version 56 the platform began nulling values for fields under certain hidden/duplicate-binding conditions to align with documented conditional-visibility behavior.

解決策

Create two separate output variables one set for each File Upload component (e.g., Uploaded_DocumentIds_One / Uploaded_VersionIds_one and Uploaded_DocumentIds_two / Uploaded_VersionIds_two).

Assign each forceContent:fileUpload component's contentDocIds/contentVersionIds/fileNames outputs to its own dedicated variable set  do not reuse the same variable across both components.

Update any downstream elements (Decisions, Assignments, other screens) that referenced the original shared variable to reference the correct component-specific variable instead.

ナレッジ記事番号

005393415

 
読み込み中
Salesforce Help | Article