Certified Pega Senior System Architect v8.0 (2019) — Question 8
Items selected by a user need to be copied to a page list property when the user submits the form.
How do you copy the items?
Answer options
- A. Create a validate rule to copy the selected items.
- B. Create a declare expression with the page list property as the target.
- C. Add a data transform to the flow action as a pre-processing action.
- D. Add a data transform to the flow action as a post-processing action.
Correct answer: C
Explanation
The correct answer is C because adding a data transform as a pre-processing action allows for the selected items to be copied to the page list property before the flow continues. Options A and B do not provide the correct context for transferring the items, while D operates after the main action, which is not suitable for this requirement.