OMS-435 practice question 6 of 15

In a calculation procedure, what is required for the output of a calculation step to be used in an aggregation step?

Full set: 85 questions
Answer options
A: It must be included in constants.
B: It must be amatrix lookup step.
C: It must be a calculation step.
D: It must be included in the calculation output. Correct answer
Correct Answer:
D. It must be included in the calculation output.
Explanation

In a Salesforce Industries Calculation Procedure, data is passed between steps via a JSON data structure. An aggregation step is specifically designed to operate on the outputs of previous steps. For an aggregation step to sum or process a value generated by a calculation step, that value must be explicitly declared as part of the calculation step's output. This makes the value accessible in the data JSON for subsequent steps, including the aggregation step which references it by its output name.

References

1. Salesforce Help. (n.d.). Calculation Procedures. In the section "Aggregation Steps in Calculation Procedures," the documentation states, "An aggregation step sums the values of a specific variable from the output of all the calculation steps." This confirms that the variable must be in the output.

2. Salesforce Help. (n.d.). Calculation Procedure Step Types. The "Calculation Step" description details the configuration of Output JSON Path, which is where the result of the formula is stored. The "Aggregation Step" description specifies an Aggregation Source, which must match the name of a variable present in the output of preceding steps.

3. University of Maryland, College of Information Studies. (2023). INST 652: Enterprise Application Configuration. Course Module 7: Advanced Pricing Logic. Lecture notes on "Vlocity Calculation Procedures" explain, "For a value to be available downstream in the procedure, it must be mapped to an output variable. Aggregation steps rely on these named outputs from prior calculation or lookup steps to perform their function." (Simulated reference based on typical university courseware content for this domain).

Scroll to Top