Loading
The online Trailblazer Community becomes read-only Oct 30, 2026Read More
Important Advisory: iOS Update Impacting CG Mobile ApplicationRead More
Insurance
Activate and Deploy LWC OmniScripts

Activate and Deploy LWC OmniScripts

Make OmniScripts available to Experience Sites, Lightning Pages, custom LWCs, and Lightning tabs by activating and deploying the OmniScript. If an error occurs during deployment the OmniScript will deactivate.

If you're upgrading, complete this task to deploy each of your Active LWC OmniScripts.

  1. From OmniScript, click Activate to activate the OmniScript and deploy the OmniScript automatically.
  2. (Optional) Click Deactivate, and then Activate to redeploy the OmniScript and apply updates.
  3. (Optional) Click Deactivate, and then Activate to redeploy the OmniScript and apply updates or resolve a deployment issue.
  4. (Optional) Exclusive to the Classic Designer, if there is an issue with the deployment, redeploy the OmniScript by clicking the Deploy LWC button in the Script Configuration properties.
    Note
    Note Ensure the OmniScript is active, then click the Deploy LWC button to redeploy the OmniScript.
  5. After deploying your OmniScript, launch your OmniScript from one of these experiences:
    Experience Description

    Lightning pages

    Launch an OmniScript from a Lightning page using the standard OmniScript component, the OmniScript's generated LWC, or the Vlocity LWC OmniScript Wrapper component.

    Experience pages

    Launch an OmniScript from an Experience page using the standard OmniScript component, OmniScript's generated LWC, or the Vlocity LWC OmniScript Wrapper component.

    Embedded inside of a custom component

    Launch an OmniScript from a custom Lightning web component by embedding the OmniScript's LWC.

    Off-Platform

    Run OmniScripts off-platform using OmniOut. Available beginning with Vlocity Insurance and Health and Vlocity CME Summer '20.

  6. (Optional) If an error occurs on the initial load of an OmniScript, in the OmniScript, click Deactivate, then click Activate. This redeploys the OmniScript.
  7. (Optional) Map deployment errors using the Error Handling Framework.

    Error Mapping Example:

    Original error

    An example of the original error message.

    Error Message Mapping a Path and Value to a new message

    The deployment error mapping.

    New error message

    The new error message.
  8. (Optional) Click the dropdown arrow, and click Download LWC to view the metadata for the OmniScript.
 
Loading
Salesforce Help | Article