top of page
OmniStudioFactBg.png

Reading data from an action element on a FlexCard

Writer's picture: Arpitha DevarajaArpitha Devaraja

Updated: Apr 20, 2023

Let's see how to configure the Action element and read its output JSON in the FlexCard.


1. On the Flexcard add an action element.


2. Configure the element as below:

Select “Action Type” as Card >> Select “Type” as Update Datasource >> Select Apex Remote as Data Source Type ( we can select any Data Source Type based on the requirement).


3. Selecting the Type as Update Datasource is important in order to update FlexCard’s data JSON with the output from the action.

So, in this example, the output from the apex class will be added to the FlexCard’s data JSON.


4. In the above example, the “result” node is an output of the apex class which will be updated in the FlexCard’s data JSON and can be used on the FlexCard.



1,404 views0 comments

Recent Posts

See All

Using Formulas in Dataraptors

To get the data in the desired format and add this to the output node, Formulas are defined. Supported DataRaptors: Extract, Transform, and

How to use “Is Lookup” in Dataraptor Load

Let's take an example scenario to explain the usage of Is Lookup in Dataraptor Load: By using Is Lookup while creating a record in the...

תגובות


OmniStudioFactFooterBg.png
logo.png

OmniStudiofacts helps us to build a Vlocity/OmniStudio Tech Community which focuses on sharing technical skills and experience across the globe.

© 2023 by OmniStudioFacts.

bottom of page