Loading

New OmniScript Version Keeps Same Type and SubType in OmniStudio

Data pubblicazione: Jun 24, 2026
Descrizione

Issue: In OmniStudio, you want to copy an existing OmniScript to a new, independent OmniScript. When you create a new version of the OmniScript, the new version keeps the same Type and SubType as the original. The result is another version of the same OmniScript rather than a distinct OmniScript with its own configuration.

Symptoms

  • Creating a new version produces an OmniScript with the same Type and SubType as the source.
  • The expected "separate" OmniScript does not appear as an independent item; it behaves as another version of the original.
  • The compiled Lightning Web Component name does not change, because it is derived from the Type/SubType/Language identifier.

Root Cause

A new version of an OmniScript is a new revision of the same OmniScript — it inherits the original's Type and SubType. As noted in Salesforce documentation, the Type, SubType, and Language values together form a unique identifier, and that identifier becomes the name of the OmniScript's compiled Lightning Web Component. Two OmniScripts that share the same Type/SubType/Language combination resolve to the same identifier, so versioning alone cannot produce a distinct OmniScript. To create a separate, independently identified OmniScript, at least one of these identifier values (Type or SubType) must differ.

In other words, versioning preserves the OmniScript's identity, while changing the Type or SubType is what establishes a new identity.

Risoluzione

How to create a distinct OmniScript?

  1. Open the OmniScript you want to copy in OmniStudio.
  2. Deactivate the OmniScript.
  3. Select Edit.
  4. Change the Type value, the SubType value, or both, so the combination differs from the original. (The Language is also part of the identifier; the Type + SubType + Language combination must be unique.)
  5. Select Save.
  6. Verify: Confirm that a new OmniScript with Version 1 and the new Type/SubType combination now exists, separate from the original. Activate it when ready and test that it runs as an independent OmniScript.

Troubleshooting — if it still behaves as the same OmniScript

  • If the new item still shows the original Type and SubType, then you created another version rather than changing the identifier — re-open it, change the Type or SubType, and save.
  • If you cannot change the Type or SubType, then confirm the OmniScript is deactivated first (Step 2), because the active version is read-only.
  • If Salesforce reports that the Type/SubType/Language combination is already in use, choose a different Type or SubType so the combination is unique.

Note: A cloned OmniScript may keep the same name or use a different name, but it must have a unique Type-SubType combination. Changing these values creates a new, uniquely identified compiled Lightning Web Component.

Reference: See Create an OmniScript in Salesforce Help for the official OmniScript creation and identifier guidance.

Numero articolo Knowledge

004259611

 
Caricamento
Salesforce Help | Article