Certified Pega Senior System Architect v8.0 (2019) — Question 5

A flow action calls a pre-processing data transform to initiate values. There are several flow actions available for the assignment. You want to make sure that the values are only initiated once for each flow action.
How do you implement a solution?

Answer options

Correct answer: D

Explanation

The correct answer is D because adding logic to the pre-processing data transform ensures that it can check if the values have already been initialized, preventing multiple initializations. Option A is incorrect since it assumes the pre-processing transform will not be called again, which could lead to issues if multiple invocations occur. Option B does not address the problem of value initialization, and Option C changes the timing of the data transform's execution, which does not solve the requirement.