OmniStudio-Developer Practice Test

Salesforce Spring 25 Release
116 Questions

Refer to the exhibit below. What JSON from the DRGetContactDeteils action would display all six values correctlyshown? BlkCases is a Repeat Block, and the names of the elements are the same as the label names without spaces.


A. Option A

B. Option B

C. Option C

D. Option D

A.   Option A

Explanation:

OmniScript repeat blocks use the block element’s API name as the JSON array key. A Repeat Block labeled “Cases” defaults to an API name of BlkCases, so the JSON must include a BlkCases array. Each array item needs properties matching the element names CaseSubject and CaseNumber, and the contact fields use ContactPhone and ContactName keys. Option A correctly shows:

{
"BlkCases":[
{ "CaseSubject":"Cannot track our order…","CaseNumber":"0000102" },
{ "CaseSubject":"Billing status","CaseNumber":"0000104" }
],
"ContactPhone":"(212) 189-8979",
"ContactName":"Leanne Tomlin"
}

This structure matches the canvas hierarchy and element API names.

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