Loading

OmniStudio Discovery Framework OmniScript Deployment Method

Date de publication: Jun 29, 2026
Description

Discovery Framework OmniScripts must be deployed using the Metadata API rather than the export-import or IDX method.

When Discovery Framework OmniScripts are deployed using export-import or IDX, the deployment appears to succeed. However, a critical junction object — OmniProcessAsmtQuestionVer — is not created in the target org. This object links an OmniScript process to a specific assessment question version. Without these records, the following problems occur:

• Changes made on the Edit Form page are not saved.
• Questions added to forms are deleted after saving.
• The form appears editable but does not persist updates.

These symptoms are caused entirely by the absence of OmniProcessAsmtQuestionVer junction records, which are only generated when the Metadata API deployment method is used.

Résolution

To ensure OmniProcessAsmtQuestionVer junction records are created correctly in the target org, use the Metadata API to deploy Discovery Framework OmniScripts.

Ressources supplémentaires

To give users access to metadata APIs following this document.

For more information on Discovery Framework Metadata API Types refer this document.

Numéro d’article de la base de connaissances

001667648

 
Chargement
Salesforce Help | Article