Salesforce Certified Omnistudio Consultant free question 2 / 10 · Domain 1: Omnistudio Fundamentals
A product reference-data lookup is slow and changes rarely. The consultant wants part of the server-side logic cached for performance. Which design does that?
- An Integration Procedure with a Loop Block around the lookup
- An Integration Procedure with a Cache Block around the lookup
- An Integration Procedure with a Try-Catch Block around the lookup
- An Omniscript with a Block element around the lookup
Show the answer and explanation
Answer: B
Why this is correct
The Integration Procedure Features Not in Omniscripts page lists caching of part or all of an Integration Procedure for performance as a capability Omniscripts lack. The block that provides it is the Cache Block, where actions within are cached for performance.
Why the other options are wrong
"An Omniscript with a Block element around the lookup" … Caching is listed among the Integration Procedure features that Omniscripts lack, so an Omniscript block does not cache the lookup.
"An Integration Procedure with a Try-Catch Block around the lookup" … The Try-Catch Block handles an error from an action inside it and lets the procedure keep running. It does not cache anything.
"An Integration Procedure with a Loop Block around the lookup" … The Loop Block runs its actions one time for each item in a list. Caching is the job of the Cache Block.
Key points
Caching, unit testing, complex list processing, and invocation from Apex, REST, Flow, or Scheduled Jobs are Integration Procedure features Omniscripts lack.