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 questionsIn 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.
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.
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).
Keep practicing
Take the free PLAT-DEV-210 practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other PLAT-DEV-210 practice questions
- Question 1A developer creates a DataRaptor Extract to retrieve data to pass to an external service.…
- Question 3When launching an OmniScript from an action on a FlexCard, the OmniScript displays, but n…
- Question 4A developer is creating a FlexCard for a new Community page. The FlexCard will display ca…
- Question 5A developer needs to use the COUNTIF function to process data entered by the user in an O…
- Question 6A developer is configuring the API URL in an HTTP Action element within an Integration pr…
- Question 7A developer needs to limit the output of a Data Mapper Extract to a maximum of one result…
