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 This information is for Omnistudio for Managed Packages. For Omnistudio on standard runtime, see Omnistudio Help.

  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
  3. In the Label field, enter the Cancel option’s display text. The text displays as a clickable link in every Step.
    Note
    Note

    Cancel functionality can’t be activated or deactivated for individual steps.

    image
  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).