Certified Pega System Architect v7.2 — Question 15
You need to copy data from a page with customer data to a page used for a credit payment. Most of the properties can be mapped as-is, but the first and last names must be concatenated into a full name. Which rule type would you use to copy the content?
Answer options
- A. Data page
- B. Data transform
- C. Declare expression
- D. Function
Correct answer: C
Explanation
The correct answer is C, Declare expression, because it allows for complex expressions and operations like concatenation of the first and last names into a full name. Data pages and data transforms do not provide the necessary flexibility for this specific operation, and functions are typically used for reusable code rather than direct data manipulation like this.