Salesforce Certified Omnistudio Developer free question 7 / 10 · Domain 4: Integration Procedures
A Cache Block must save its result to the cache only when a status node in the data JSON equals Approved. The steps inside the block must still run when the status is something else. Which Cache Block property does that?
- Refresh Cache Conditional Formula, written on the status node
- Execution Conditional Formula, written on the status node
- Ignore Cache Conditional Formula, written on the status node
- Add to Cache Conditional Formula, written on the status node
Show the answer and explanation
Answer: D
Why this is correct
A Cache Block has three conditional formulas with different jobs. Add to Cache Conditional Formula saves data to the cache when it evaluates to true and does not cache data when it is false. Refresh Cache Conditional Formula forces data to be saved, and Ignore Cache Conditional Formula neither clears nor saves data. The Execution Conditional Formula that every block has decides whether the block runs at all.
Why the other options are wrong
"Refresh Cache Conditional Formula, written on the status node" … That formula forces data to be saved to the cache when it evaluates to true. It is not the property that decides whether data is cached at all.
"Ignore Cache Conditional Formula, written on the status node" … That formula, when true, neither clears nor saves data to the cache. It controls ignoring the cache and does not save data when a condition holds.
"Execution Conditional Formula, written on the status node" … For a block, an Execution Conditional Formula that evaluates to false skips the block. The steps inside would not run for other statuses.
Key points
Add to Cache Conditional Formula decides whether to cache. The Execution Conditional Formula decides whether the block runs.