Salesforce Certified OmniStudio Developer — Question 12
A developer creates a FlexCard with five state elements. Four of the states have a condition. To test the FlexCard, the developer previews it using sample data that causes two of the states to have true conditions.
In this scenario, how will the developer know which state will display?
Answer options
- A. The first state with a true nested condition, regardless of sequence in the FlexCard canvas, will display.
- B. The first state with true conditions sequenced closest to the top of the FlexCard canvas will display.
- C. The first state with a true AND condition, regardless of sequence in the FlexCard canvas, will display.
- D. The state sequenced first in the FlexCard canvas will display.
Correct answer: B
Explanation
The correct answer is B because FlexCards prioritize the display of states based on their sequence in the canvas, with the closest to the top being shown first when conditions are met. Option A is incorrect as it does not consider the sequence, while C incorrectly emphasizes AND conditions which are not a factor here. Option D is also wrong as it does not account for the true conditions of the states.