You are here:
Configuring the Cancel Link in an Omniscript (Managed Package)
For the managed package runtime, the Cancel link appears on every Step in an Omniscript. From the Omniscript Designer, in the Cancel Options section of the Script Configuration, you can specify the behavior for when a user hits the Cancel link with the Cancel Type and Cancel Source.
This information is for Omnistudio for Managed Packages. For Omnistudio on standard runtime, see Omnistudio Help.
-
Allow Cancel: Remove the Cancel button option from the Omniscript by clearing the Allow Cancel box.
-
Cancel Type:
-
SObject redirects to an SFDC object. Enter the merge field of the record that you want to redirect to in Source. Default is %ContextId%.
-
URL redirects to a URL.
-
Redirect directs to an HTML template, specified in the Source
-
Dismiss closes the script and presents a blank page. This is the pre-Version 12 behavior of the Cancel link.
-
-
Cancel Source:
-
If redirecting to an SObject, enter "%ContextId%" to redirect to the record that the script launched from.
-
If redirecting to a URL, enter the page and parameters. For example, "MyTestPage?Id=%ContextId%" would redirect to an internal page and "http://www.vlocity.com"; would redirect to an external page.
-
-
If you selected Redirect as the Cancel Type, in the Cancel Redirect Page Name and Cancel Redirect Template Url, enter the page name and template that the Omniscript should redirect.

