OmniStudio-Developer Practice Test

Salesforce Spring 25 Release
116 Questions

Refer to the exhibit.
What JSON from the DRGetAccountDetails action would display all six values correctly in the OmniScript structure shown? BlkContacts is a Repeat Block.



A. Option A

B. Option B

C. Option C

D. Option D

C.   Option C

Explanation:

OmniScript repeat blocks expect an array under the block’s API name—in this case blkContacts—with each object containing fields whose API names match the element names (ContactPhone and ContactName). Option C correctly provides:

{
"blkContacts":[
{ "ContactPhone":"(212) 169-1475","ContactName":"Edward Stanos" },
{ "ContactPhone":"(212) 189-8979","ContactName":"Leanne Tomlin" }
],
"AccountPhone":"222154650",
"AccountName":"Acme"
}

This structure ensures the StepAccount JSON has the account fields at the root and a blkContacts array for the repeat block, causing all six values to render as designed.

OmniStudio-Developer Practice-Test - Home Previous
Page 3 out of 116 Pages