top of page
OmniStudioFactBg.png
Search

Reading data from an action element on a FlexCard

  • Writer: Arpitha Devaraja
    Arpitha Devaraja
  • Mar 8, 2023
  • 1 min read

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.



 
 
 

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

 
 
 

Kommentarer


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