top of page
OmniStudioFactBg.png
Writer's pictureArpitha Devaraja

Reading data from an action element on a FlexCard

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,198 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

Comentarios


bottom of page