Loading

Save for Later Fails with INSUFFICIENT_ACCESS_ON_CROSS_REFERENCE_ENTITY When Using an Auto-Generated OmniScript LWC

Udgivelsesdato: Nov 2, 2026
Beskrivelse

Symptom
A community user opens and edits an OmniScript saved session that was started by a different community user, then selects Save for Later. The save fails with these messages:
Update failed. First exception on row 0 with id <record Id>; first error: INSUFFICIENT_ACCESS_ON_CROSS_REFERENCE_ENTITY, insufficient access rights on cross-reference id: []
Save for Later failed. If your form includes large attachments, please remove them and try again. Otherwise, navigating away from this page will lose all current information.
The second message also appears for other Save for Later failures, such as exceeding the 4 MB payload limit. If your error doesn't include INSUFFICIENT_ACCESS_ON_CROSS_REFERENCE_ENTITY, see the Additional Resources. This error is also different from the message that asks you to exit and resume because the saved OmniScript has been updated since resuming, which appears when two users save the same instance at nearly the same time.

When it happens
- The OmniScript runs on an Experience Cloud page as the auto-generated LWC. This component is generated only when your org uses Omnistudio for Managed Packages with the managed package runtime enabled.
- The saved session was started by another user.
- The error occurs with Public Read Only, Public Read/Write, and with a sharing rule that grants Edit on Omniscript Saved Sessions. Changing the sharing model does not resolve it.

Cause
Cross-user Save for Later is not supported when the OmniScript runs as the auto-generated LWC. The standard OmniScript component supports a second user saving a session started by another user.

Løsning

If a second community user must resume and save a session started by another user, use the standard OmniScript component instead of the auto-generated LWC.
1. Identify the Experience Cloud pages that render the OmniScript as the auto-generated LWC.
2. In Experience Builder, replace the auto-generated component on each page with the standard OmniScript component, and configure it with the OmniScript Type, SubType, and Language.
3. Make sure the community profile or permission sets grant Read and Edit on Omniscript Saved Sessions, access to the File Based Omniscript Name field on Omniscript Saved Session, and the permission to execute Omniscripts through a Community. Make sure the second user can access the saved session record through your sharing configuration.
4. If you use Save URL Patterns to launch saved instances, confirm that the saved-session resume link opens the page that now contains the standard OmniScript component.
5. Publish the site and test with two community users: User 1 starts the OmniScript and selects Save for Later, then User 2 opens the saved session, edits it, and selects Save for Later.
Note: Save for Later isn't designed for collaborative editing. Editing the same saved session by multiple community users can lead to data inconsistencies. If you keep the auto-generated LWC, restrict editing of a saved session to the user who started it.

Vidensartikelnummer

005465976

 
Indlæser
Salesforce Help | Article