For the managed package runtime, LWC Cards use Vlocity Actions, OS Actions, Custom Actions, Smart Actions, and PubSub Actions to launch procedures. For example, a card can launch an Omniscript, run an Apex class, redirect to a URL endpoint, launch an Integration Procedure, fire a pubsub event, and so on.
This information is for Omnistudio for Managed Packages. For Omnistudio on standard runtime, see Omnistudio Help.
-
Vlocity Actions: Adds preconfigured actions created in the Vlocity Actions tool in your org. Vlocity Actions are reusable on multiple cards. See Vlocity Actions (Managed Package).
-
Custom Actions: Create an action unique to the card state. A custom action is not reusable on other cards. See Adding a Custom Action to a Card (Managed Package).
-
OS Actions: Launch an Omniscript from your card state. See Launching an Omniscript from an OS Action on a Card (Managed Package).
NoteBeginning with the Vlocity Summer '19 release, launch an LWC Omniscript from an OS Action. See Launching an LWC Omniscript from an OS Action on a Card (Managed Package).
-
Smart Actions: Beginning with the Vlocity Summer '19 release, Vlocity supports generating and returning actions to an LWC Card at runtime by using a Vlocity Integration Procedure, which reduces server processing time, increasing performance. See Configure Smart Actions on an LWC Card (Managed Package).
-
PubSub Action: Beginning with Vlocity Insurance and Health Vlocity Spring '20, Vlocity supports firing pubsub events from an action on an LWC Card. See Firing a Pubsub Event from an Action on an LWC Card (Managed Package).
- Adding a Custom Action to an LWC Card (Managed Package)
For the managed package runtime, add actions directly on a card with Custom Actions. Custom Actions perform faster than standard Vlocity Actions but have fewer configuration options. For reusable actions with additional configuration options, see Vlocity Actions. - Configure Smart Actions on an LWC Card (Managed Package)
For the managed package runtime, beginning with the Vlocity Insurance and Health Summer '19 and Vlocity Communications, Media, and Energy Fall '19 releases, Vlocity supports the Salesforce Lightning Web Component programming model. - Firing a Pubsub Event from an Action on an LWC Card (Managed Package)
For the managed package runtime, beginning with Vlocity Insurance and Health Vlocity Spring '20, Vlocity supports firing pubsub events from an action to notify another component on a page or application of an event occurring. For example, create an action link that fires a pubsub event called openPolicy that opens a Policy record page from any component that listens for the event.