Data Validation and Transforms Flashcards
7 cards from real CPSA practice questions. Tap to flip, then mark Knew It or Still Learning โ missed cards come back until you master them.
Read the first 7 Data Validation and Transforms flashcards as text
Which Pega rule type is used to convert data from one format to another, such as mapping fields from a source clipboard page to a target clipboard page?
Answer: Data Transform
A Data Transform rule maps and converts data between source and target clipboard pages, enabling format conversion and field mapping.
When a Validate rule returns a 'Fail' result for a specific property, where does Pega store the error message by default?
Answer: The pxValidationMessages list on the work page
When validation fails, Pega stores error messages in the pxValidationMessages list on the work page by default.
In a Data Transform, what does the 'Append and Map to' action do?
Answer: Copies a page into an existing page list and maps values to it
'Append and Map to' adds a new entry to a page list and maps source values into that new entry.
Which property type should you use in an Edit Validate rule when you need to confirm that a user-entered date is not in the past?
Answer: Date
Edit Validate rules on Date-type properties allow comparison logic to verify the date is not before today.
A developer wants a Data Transform to run automatically when a case is created. Which configuration achieves this?
Answer: Reference the Data Transform in the case type's 'Create' stage pre-processing
Data Transforms intended to run at case creation are configured in the case type's 'Create' stage pre-processing section.
What is the purpose of the 'Set' action in a Data Transform rule?
Answer: Assigns a value to a target property
The 'Set' action in a Data Transform assigns a specified value or expression result to a target property.
When building a Validate rule, which keyword must be returned for the validation to pass without errors?
Answer: Pass
A Validate rule must return 'Pass' to indicate that all conditions were met and no validation errors occurred.