# Card actions: Omniscript launch, events and updates

*Omnistudio Developer Study Guide · Flexcards · Last updated October 27, 2026 · https://www.certifyforce.com/study-guide/omnistudio-developer/flexcards/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.

- Certification: Salesforce Omnistudio Developer
- Exam section: Flexcards
- Study guide: https://www.certifyforce.com/study-guide/omnistudio-developer

**Official exam objective:**

> Define and implement complex card actions, including launching Omiscripts, firing events, and updating other components.

## 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

| Fact | Detail | Source |
|---|---|---|
| Failed action | Later actions in that sequence don't run | [Actions](https://help.salesforce.com/s/articleView?id=xcloud.os_add_an_action_to_a_flexcard_25672.htm&language=en_US&type=5) |
| Separate listener sequences | A failure doesn't stop the next listener's sequence | [Actions](https://help.salesforce.com/s/articleView?id=xcloud.os_add_an_action_to_a_flexcard_25672.htm&language=en_US&type=5) |
| Omniscript input prefix | omniscript__ on the Standard page; c__ on the Managed Package page | [Launch Omniscript](https://help.salesforce.com/s/articleView?id=xcloud.os_launch_an_omniscript_from_a_flexcard_27563.htm&language=en_US&type=5), [Launch Omniscript (Managed Package)](https://help.salesforce.com/s/articleView?id=sf.os_launch_an_omniscript_from_a_flexcard.htm&language=en_US&type=5) |
| Remove | Off the page, not out of the data source | [Card actions](https://help.salesforce.com/s/articleView?id=xcloud.os_flexcard_card_actions_26671.htm&language=en_US&type=5) |
| Flex.varname | Kept when record data changes; index excluded | [Card actions](https://help.salesforce.com/s/articleView?id=xcloud.os_flexcard_card_actions_26671.htm&language=en_US&type=5) |
| Pubsub channel default | The Flexcard name | [Events](https://help.salesforce.com/s/articleView?id=xcloud.os_standard_pass_data_to_flexcards_by_using_events.htm&language=en_US&type=5) |
| Reserved event names | Include reload, remove and updatedatasource | [Reserved names](https://help.salesforce.com/s/articleView?id=xcloud.os_flexcards_reserved_event_and_channel_names_28308.htm&language=en_US&type=5) |
| Preview limits | Navigate and Omniscript actions don't work in Preview | [Preview and Debug](https://help.salesforce.com/s/articleView?id=xcloud.os_preview_a_flexcard_41051.htm&language=en_US&type=5) |

## Check yourself

- 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?

## Sources

- [Set Up Actions on a Flexcard](https://help.salesforce.com/s/articleView?id=xcloud.os_add_an_action_to_a_flexcard_25672.htm&language=en_US&type=5)
- [Set Up Card Actions to Update a Flexcard](https://help.salesforce.com/s/articleView?id=xcloud.os_flexcard_card_actions_26671.htm&language=en_US&type=5)
- [Launch an Omniscript from a Flexcard](https://help.salesforce.com/s/articleView?id=xcloud.os_launch_an_omniscript_from_a_flexcard_27563.htm&language=en_US&type=5)
- [Launch an Omniscript from a Flexcard (Managed Package)](https://help.salesforce.com/s/articleView?id=sf.os_launch_an_omniscript_from_a_flexcard.htm&language=en_US&type=5)
- [Pass Data to Flexcards by Using Events](https://help.salesforce.com/s/articleView?id=xcloud.os_standard_pass_data_to_flexcards_by_using_events.htm&language=en_US&type=5)
- [Flexcards Reserved Event and Channel Names](https://help.salesforce.com/s/articleView?id=xcloud.os_flexcards_reserved_event_and_channel_names_28308.htm&language=en_US&type=5)
- [Trigger a Pubsub Event from an Action on a Flexcard (Managed Package)](https://help.salesforce.com/s/articleView?id=sf.os_trigger_a_pubsub_event_from_an_action_on_a_flexcard.htm&language=en_US&type=5)
- [Trigger a Custom Event from an Action on a Flexcard (Managed Package)](https://help.salesforce.com/s/articleView?id=sf.os_trigger_a_custom_event_from_an_action_on_a_flexcard.htm&language=en_US&type=5)
- [Update an Omniscript's JSON Code from a Flexcard](https://help.salesforce.com/s/articleView?id=xcloud.os_update_an_omniscript_from_a_flexcard_27677.htm&language=en_US&type=5)
- [Preview and Debug a Flexcard](https://help.salesforce.com/s/articleView?id=xcloud.os_preview_a_flexcard_41051.htm&language=en_US&type=5)
- [Communicate from Omniscript to a LWC Page](https://help.salesforce.com/s/articleView?id=xcloud.os_communicate_with_omniscript_from_a_lightning_web_component_18222.htm&language=en_US&type=5)

## About the full unit

The "Core concepts", "Exam traps" and "Worked scenario" sections of this unit, its 6 linked practice questions, and unlimited timed mock exams are included with the Omnistudio Developer pack (USD $19): https://www.certifyforce.com/practice-exams
