Validation Flashcards
Validation: What are different methods of validation?
Property Data Type, Controls Validation Rules
Validation: What do you need to consider when validating data using a control?
1) The control type
2) Required?
3) Edit-ability
Validation: What are use case examples of validation using controls?
1) Validate format
2) Restrict Values
3) Filter options
4) Using bool yes no
Validation: What is the purpose of a validation rule?
Ensure input conforms to business policy
Validation: What are the steps involved in creating a validation rule?
1) Define the rule
2) Apply rule to flow action
Validation: What are the part of a validation rule?
1) Message - what to tell user if validation fails
2) Field - to test
3) Comparator - test to perform
4) Value - comparison value
Validation: What is the purpose of an edit validate rule?
Validate based on pattern matching
Validation: When should you use a standard validate rule vs an edit validate rule?
1) Standard validate - single value comparisons
2) Edit validate - multiple conditions, complex conditions, custom java procedure
Which validation rule would be appropriate for checking that a user enters a date in the future for scheduling a home inspection?
1) Validate rule because it is single value comparison
You have added fields for entering the name and address of a loan applicant. What validation method would you use?
A text field
Where do you configure a validate or edit validate rule in Pega?
1) Validate rule - App Studio> Case Step>Configure View>Conditions Tab
2) Edit Validate Rule -Dev Studio> App Explorer > Case Type > Process > Validate > Create New
How would you configure a field in which a user selects on of four possible shipping methods?
Pick List or Radio Button
When would you use the required fields validation approach?
When information is required to move to the next step
How would you ensure that a user always enters 20 characters?
Set min and max length to 20
Validate Rules enable you to use a single property when____________
values required are based on business logicq