Free Salesforce Plat-Dev-210 Actual Exam Questions s - Question 9 Discussion
Omniscript structure shown?
BlkContacts is a Repeat Block.

It’s B because it shows each contact as a separate object directly inside BlkContacts, which fits how repeat blocks usually expect their data structure without extra nesting.
C seems better because it shows a straightforward array under BlkContacts without extra nesting, which repeat blocks usually require to render each item correctly. D might be too nested for some versions.
B looks off since it adds an extra layer inside BlkContacts, which could confuse the repeat block. The repeat usually needs the array directly under BlkContacts, so B might not display all values properly.
A/D? A seems clean with the array directly under BlkContacts, but D also looks like it could work if the repeat block supports nested structures. Not sure which one the Omniscript prefers.
C imo, because the JSON in C wraps the contacts in a straightforward array under BlkContacts, avoiding any nested objects that can break the repeat block’s iteration. It keeps things simple and clear.
It’s A because the JSON in A places the array right where the repeat block expects it, no extra nesting to mess things up. That should let all six values show correctly without confusion.
Option A looks good too since it places the array right inside BlkContacts without extra nesting, which should make all six values show up cleanly in the repeat block.
D imo, because the repeat block usually needs the array exactly at the level of BlkContacts without extra nesting. Option D shows that clean array directly inside BlkContacts, which matches how repeat blocks typically parse data. Options A and C have extra layers, which might confuse the repeat block and cause it not to display all six values properly. B looks close but doesn’t have the right structure for the repeat block to iterate over correctly. So D fits best with how Omniscript handles repeat blocks for showing multiple items.
Maybe B since the array is directly inside BlkContacts, matching the repeat block setup.
I think D works since the repeat block needs the array nested inside BlkContacts. D
Option B looks better to me because the JSON structure matches the repeat block requirements without unnecessary nesting, so all six values should map correctly.
A/C? Option D feels off because the repeat block might not handle nested objects properly, so I'm thinking A or C could be better fits here.
Maybe D.