You are here:
Ending the Execution of an Omniscript (Managed Package)
For the managed package runtime, the Done action ends an Omniscript and returns the user to the page from which the script was launched, or to a specified URL.
This information is for Omnistudio for Managed Packages. For Omnistudio on standard runtime, see Omnistudio Help.
LWC Omniscripts do not support the Done Action. For information on how to navigate from an LWC Omniscript, see Navigate Action (Managed Package).
The Update Case form pictured below returns the user to the Case after the script is complete. The ContextId node is merged into the Source field, which tells the Script which Case record to return to:
For more information about how to configure additional properties for the Done Action, refer to the Common Action Element Properties (Managed Package).
For instructions on how to process user cancellations during an Omniscript, see Configuring the Cancel Link in an Omniscript (Managed Package).
For details about tracking Done events, see Tracking Service in Omnistudio for Managed Packages (Managed Package).

