Salesforce Certified OmniStudio Developer — Question 58
A developer needs to configure an expression set to calculate the sum of the entire BasePrice.
What is the most efficient way for the developer to meet this requirement?
Answer options
- A. Add a Calculation Step as SUM(BasePrice).
- B. Add an Aggregation Step as SUM(BasePrice).
- C. Add a Sub Expression step as SUM(BasePrice).
Correct answer: B
Explanation
The correct answer is B because an Aggregation Step is specifically designed for operations like summing values across a dataset. Option A, while it suggests a calculation, does not fit the requirement for aggregating multiple records, and option C, a Sub Expression step, is not intended for this type of summation.