Card actions: Omniscript launch, events and updates
How to configure Flexcard actions: Omniscript launch with a context ID and input parameters, Card actions (Set Values with Flex private variables, Reload, Remove, Select Card, Update Datasource), custom and pubsub events with reserved names and propagation, Update Omniscript, and how sequential actions behave when one fails.
Define and implement complex card actions, including launching Omiscripts, firing events, and updating other components.
~7 min read · 6 practice questions ·
What the exam expects
- Configure an Omniscript action: the Omniscript, context ID, console tab settings and input parameter key prefixes per runtime.
- Configure Card actions: Set Values (data fields, session variables, Flex private variables), Reload, Remove, Select Card and Update Datasource.
- Fire custom and pubsub events with valid names, channels, Bubbles and Composed.
- Pass card data into an embedding Omniscript with Update Omniscript.
- Predict what runs when an action in a sequence fails.
Key terms: action type (Omniscript, Card, Event, Data, Flyout, Navigate and others), private variable (a Flex.varname value kept when record data changes), custom event (child to parent or element to card), pubsub event (between distinct components on a channel), reserved name (an event or channel name Omnistudio uses itself).
Key facts
- Detail
- Later actions in that sequence don't run
- Detail
- A failure doesn't stop the next listener's sequence
- Detail
- omniscript__ on the Standard page; c__ on the Managed Package page
- Detail
- Off the page, not out of the data source
- Detail
- Kept when record data changes; index excluded
- Detail
- The Flexcard name
- Detail
- Include reload, remove and updatedatasource
- Detail
- Navigate and Omniscript actions don't work in Preview
Sources for this section (7)
- Actionshelp.salesforce.com (opens in a new tab)
- Launch Omniscripthelp.salesforce.com (opens in a new tab)
- Launch Omniscript (Managed Package)help.salesforce.com (opens in a new tab)
- Card actionshelp.salesforce.com (opens in a new tab)
- Eventshelp.salesforce.com (opens in a new tab)
- Reserved nameshelp.salesforce.com (opens in a new tab)
- Preview and Debughelp.salesforce.com (opens in a new tab)
- Why can't a Set Values key be Flex.index?
- When should a custom event action have only Bubbles selected?
- Which channel does a pubsub event use when Channel Name is blank?
- When is an Update Omniscript action the right choice?
The questions are free to read. Answers with their sources and self-grading are included with the pack.
Keep reading with the Omnistudio Developer pack
- Core concepts
- Exam traps
- Worked scenario
The pack includes:
- All 46 lessons of the Omnistudio Developer guide, with reading progress
- Interactive decision walks and step-by-step sequence steppers
- Inline practice questions and one-click topic practice (6 questions for this lesson)
- An official source cited for every claim
- An AI tutor that answers from the guide
- Unlimited timed practice exams