Salesforce Certified Omnistudio Developer free question 6 / 10 · Domain 4: Integration Procedures
An Integration Procedure must run one of three actions depending on the type of device being processed, and it needs a fallback step that runs only when none of the three conditions is true. How should the developer build it?
- A Loop Block over the three device types with a formula on the actions
- A Conditional Block with Is If Else checked and a blank last formula
- A Try-Catch Block that holds the three actions and the fallback
- Three separate Conditional Blocks that carry one device formula apiece
Show the answer and explanation
Answer: B
Why this is correct
For a group of mutually exclusive conditions, the Help says to use a Conditional Block and check the Is If Else field. When the block executes, the first action or block whose formula evaluates to True runs, and no other action or block in the Conditional Block runs. Execution then jumps to the first element after the block. For a step that runs when none of the preceding steps ran, the developer leaves the Execution Conditional Formula of the last element blank.
Why the other options are wrong
"Three separate Conditional Blocks that carry one device formula apiece" … Separate blocks are evaluated one after another and do not form a group of mutually exclusive conditions. The Is If Else field on a single Conditional Block is the documented way to get that.
"A Try-Catch Block that holds the three actions and the fallback" … A Try-Catch Block tries the steps inside it and catches the error if a step fails. It does not choose a step by a condition.
"A Loop Block over the three device types with a formula on the actions" … A Loop Block repeats its actions for each item of a data array. It is not the construct for choosing one branch.
Key points
Is If Else on a Conditional Block gives branching. The last element with a blank formula is the fallback.