Loading

OmniStudio Discovery Framework OmniScript Deployment Method

Дата публикации: Jun 29, 2026
Описание

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.

Решение

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

Дополнительные ресурсы

To give users access to metadata APIs following this document.

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

Номер статьи базы знаний

001667648

 
Загрузка
Salesforce Help | Article