Conditionally Run Embedded Omniscripts (Managed Package)

For the managed package runtime, using the Conditional View property in the parent Omniscript, you can run an embedded Omniscript only under certain conditions.

Managed Package app icon This information is for Omnistudio for Managed Packages. For Omnistudio on standard runtime, see Omnistudio Help.

Learn how to embed an Omniscript in other Omniscripts. See Embed an Omniscript in Another Omniscript (Managed Package).

  1. From the Properties section of the Reusable Omniscript element of the parent script, expand Conditional View.
  2. Click the Show Element If True link. The Edit Show Hide Rules window opens.
  3. Create conditions as described in Use the Conditional View Property to Conditionally Display Elements (Managed Package).
  4. Click Save.
Note
Note Elements in the embedded Omniscript run only if the conditions are true for those elements. If the conditions change while the embedded Omniscript is running, subsequent embedded Omniscript elements don't run. If the conditions are false for any embedded Omniscript elements, those elements are skipped.
Note
Note Make sure that each embedded Omniscript defines unique Element Name JSON nodes in its Set Values elements. If two child Omniscripts of the same parent set values for the same JSON nodes, only values from the first child Omniscript are set, even if both children run conditionally.