Salesforce Certified Omnistudio Developer free question 3 / 10 · Domain 2: Flexcards
A data action on a Flexcard calls a data source and gets back a list of several case records. The developer wants to keep the list in a new data node of the card. What should the developer enter in Response Node?
- The text Ignore Response, which stores the list in the data JSON of the card
- The word record, which inserts the returned data at the root of the card object
- A simple alphanumeric name, such as caseList, written with letters and digits
- A name with a hyphen and a space, such as case list-1, for readability
Show the answer and explanation
Answer: C
Why this is correct
After the data action type is selected, Response Node specifies where to save the returned data. If the request returns one object, the developer enters record and Omnistudio inserts the data at the root of the card object. If the request returns multiple records or the data should go to a new data node, the developer enters an alphanumeric name with no spaces or special characters, such as caseList or caseList1.
Why the other options are wrong
"The word record, which inserts the returned data at the root of the card object" … The page uses record when the request returns one object, and Omnistudio then inserts the data at the root of the card object. A list of cases needs its own node name.
"A name with a hyphen and a space, such as case list-1, for readability" … The page requires an alphanumeric name with no spaces or special characters, and it gives caseList and caseList1 as examples of acceptable names.
"The text Ignore Response, which stores the list in the data JSON of the card" … Ignore Response is a separate option that skips updating the JSON data. It is not a node name, and selecting it means the returned data is not added to the JSON.
Key points
record is for a single object at the card root. A list or a new node needs an alphanumeric Response Node name.