PLAT-DEV-210 practice question 8 of 25

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

Full set: 103 questions
Answer options
A: It must be included in constants.
B: It must be a matrix 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 using a single JSON data structure. For the result of any step, including a calculation step, to be accessible to a subsequent step like an aggregation, it must be written into this JSON. This is achieved by specifying a key in the "Output JSON Path" field of the calculation step. The aggregation step can then reference this key in its "Input JSON Path" to retrieve the value(s) for processing. Without being included in the output, the result is transient and unavailable to other steps.

Why Incorrect

A. It must be included in constants. Constants are static, predefined values for the entire procedure, not the dynamic output of a specific calculation step.
B. It must be a matrix lookup step. The requirement to map an output to the data JSON applies to all step types, not just matrix lookups.
C. It must be a calculation step. This is a tautology. The question already presumes the output originates from a calculation step.

References

1. Salesforce Help, OmniStudio Documentation, "Calculation Procedures": This document explains the fundamental data flow. It states, "Each step in a Calculation Procedure can add data to the data JSON. The data JSON is available to all subsequent steps." This confirms that a step's output must be added to the central data structure to be used later. (Refer to the section on "How Calculation Procedures Work").

2. Salesforce Help, OmniStudio Documentation, "Calculation Procedure Step Properties": This page details the configuration of steps. It describes the "Output JSON Path" property as the mechanism to "specify the node in the data JSON that stores the output of the step." This directly supports the answer that the output must be included in the calculation's data structure. (Refer to the "Common Step Properties" table).

Scroll to Top