–: “In this post, we create an Omniscript and FlexCard. We will send Omniscript data to the FlexCard and display the data in the next step in the Omniscript.”
Step :– 1 “First, in the Omniscript, we create text fields for input.”
“To configure, navigate to the Properties panel of the Custom LWC element. In the Custom Lightning Web Component Properties section, add the following properties:
Click + Add new Option and add ‘records’ as the Property Name. In the Property Source, add the JSON node containing the array of records to be passed to your FlexCard.
Enter the node as a merge field using Omniscript merge field syntax, such as %Step1%. For example, if your list of records is stored in a JSON object called ‘accounts,’ enter %accounts%.”
Step :–2 IN Flex Card — “First, we enable OmniScript support in FlexCard.”
In Data Source Type – Custom
*Custom JSON – { “Text1”: “Abhi”
“Text2”: “Maurya”,
“Text3”: “Ji” } // its Come From Omni script Data Node
REPEAT OPTIONS = TRUE
Activate the Flex Card and OnmiScript.
Step :– 3 “Omniscript on the Preview tab.”