---
schema_version: "1"
id: e91322b2d323faac7bf74f951deb46523a1d7f0f7be3ccbc0821a1899afed992
title: Add Cancel Options to a Navigate Action (Managed Package)
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/xcloud/264-0-0/os_add_cancel_options_to_a_navigate_action.md
canonical_url: https://help.salesforce.com/s/articleView?id=xcloud.os_add_cancel_options_to_a_navigate_action.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 9bbeb71e418d874ba316973a1e370a008d0625be0047540c9b73ae28fd82c826
description: For the managed package runtime, prior to Vlocity Insurance and Health Summer ’20, add cancel functionality to an LWC Omniscript by using the Navigate Action.
products:
  - Omnistudio
release: "264"
---
# Add Cancel Options to a Navigate Action (Managed Package)

For the managed package runtime, prior to Vlocity Insurance and Health Summer ’20, add cancel functionality to an LWC Omniscript by using the Navigate Action.

![Managed Package app icon](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-xcloud-omnistudio_for_managed_packages-264-0-0-production-enus/aa2554ec-624a-4ee6-8da4-6435670e6e62/resources-global/_corporate/images/managedpackageicon.png) This information is for Omnistudio for Managed Packages. For Omnistudio on standard runtime, see [Omnistudio Help](https://help.salesforce.com/s/articleView?id=xcloud.os_omnistudio_standard.htm&language=en_US).

1. Add a Navigate Action before the first Step in the Omniscript.
2. In the Navigate Action’s **Element Name** field, enter CANCEL in all uppercase letters. Ensure that the **CANCEL OPTIONS** property section is present in the Navigate Action after you set the Element Name.
    
    ![image](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-xcloud-omnistudio_for_managed_packages-264-0-0-production-enus/aa2554ec-624a-4ee6-8da4-6435670e6e62/omnistudio_for_managed_packages/images/cancel_action_lwc_os_designer.png)
3. In the Label field, enter the Cancel option’s display text. The text displays as a clickable link in every Step.
    
    ![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-xcloud-omnistudio_for_managed_packages-264-0-0-production-enus/aa2554ec-624a-4ee6-8da4-6435670e6e62/images/icon_note.png)
    
    Note
    
    Cancel functionality can’t be activated or deactivated for individual steps.
    
    ![image](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-xcloud-omnistudio_for_managed_packages-264-0-0-production-enus/aa2554ec-624a-4ee6-8da4-6435670e6e62/omnistudio_for_managed_packages/images/cancel_lwc_os_designer.png)
4. (Optional) Prevent confirmation prompts from being displayed to users by deselecting **Prompt before cancel?**.
5. (Optional) In the Cancel Message field, enter a custom message to display to users in the confirmation prompt.
6. (Optional) To collapse the script and view the current page, set the Navigate Action’s PageReference type to **Current Page** with no additional configuration.
7. (Optional) Determine where the cancel option directs users by configuring the Navigate Action.

What’s next: Deploy the Omniscript and add it to a page to test the cancel functionality. See [Deploying an Omniscript (Managed Package)](https://help.salesforce.com/s/articleView?id=xcloud.os_deploying_an_omniscript.htm&release=264.0.0&type=5 "For the managed package runtime, Vlocity Omniscripts can be deployed within the Vlocity application, or within an iFrame either on a Salesforce Community or an external website. Once embedded within the page, the script can be versioned, modified, and activated without the need to reconfigure the page.").