For the managed package runtime, add a reusable action to a Flexcard with a Vlocity Action element. Vlocity Actions launch Omniscripts, components, web pages, or external applications.
This information is for Omnistudio for Managed Packages. For Omnistudio on standard runtime, see Omnistudio Help.
- From the Flexcard Designer, drag an Action element into a state.
- (Optional) From the Properties panel, update the element name in the Element Name field.
- Select Vlocity Action from the Action Type dropdown.
- To select the sObject to perform the action on, click into the Object field.
- To select an Action Name from the data source as a merge field, click to enable Fetch Action Name From Datasource.
-
To select the Vlocity Action, click into the Vlocity Action Name field. Before Spring '22, click into the Action Name field.
If Fetch Action Name From Datasource isn’t selected, select from a list of Vlocity Actions associated with the sObject.
- (Optional) Click into the ContextId field to select a context Id, such as AccountId. Before Spring '22 click into the Context ID field.
- (Optional) To pass contextual data as a key/value pair, click + Add New next to Input Parameters, and perform the following tasks:
- (Optional) To configure other options common among all action properties, see Flexcards Action Properties (Managed Package).
What’s next: To style your action element, click Style to open the Style panel, and see Flexcards Action Style Properties (Managed Package).