Launch an Omniscript from a Flexcard

Set up a Flexcard to call an Omniscript that updates the Flexcard’s data source. For example, users enter their account ID on a Flexcard. Then, when they click the Omniscript action, Omnistudio passes the entered value and launches a form that updates their account information.

  1. After you select the Omniscript action type, select the Omniscript to launch.
    Tip
    Tip To include a scrollbar in an Omniscript, create a model flyout in the flexcard that calls the Omniscript. No scrollbar is included when you call the Omniscript in a new page.
  2. If needed, you can select the VisualForce page where you want to show the Omniscript. For example, if you have a custom template for your Omniscript, select the custom page that you created.
  3. Enter the sObject's context ID associated with your Omniscript.

    For example, if your Omniscript updates account information, your context ID is an account record ID variable from the data source, such as {AccountId}.

  4. If you selected a Lightning web component Omniscript:
    1. Enter the label for the console tab after the user launches the Omniscript.
    2. Search for and select the icon to show next to the console tab label.
    Console tab label
  5. If needed, add these input parameters:
    1. In Key, enter a variable name with the prefix omniscript__.
    2. In Value, enter the value to pass as a string, a merge field, or a context variable, such as New Value or {Name}.
  6. Enter the remaining information as needed.
  7. Add the Flexcard to a Lightning page or a page in an Experience Builder Aura site.