Pega - Validations Interview Questions and Answers

Pega - Validations Interview Questions and Answers

1.Is validate rule server side or Client Side validation ?
A.Server Side

2.What is Continue validation check box in “Validate” Rule?
A.It’s like a break point in the validation logic.
Validation stops at Break point, and proceeds to next condition only when break point validation is success.



3.Difference Between Rule Obj Validate and Rule Edit Validate?

Validate
Edit Validate
We can write validation logic for multiple properties.We can write validation logic only for one property
This is Server Side ValidationThis is client side validation which executes java code using Ajax Calling.
This validation is specific to one flow action on which we call it.Validation happens at all different places wherever we use property because validation is applied on property.
We implement using OOTB functionsWe have to write Java Code


4.Rule edit has Java code, Java Code runs on server side. Then How do you say Rule-Edit validate is client side Validation?
A.The Java code of rule edit validate gets executed by an AJAX calling from HTML or JAVA SCRIPT of Screen. That why even though the execution happens on server side, but on refresh of UI, AJAX calling will be done, thus we see results on client side itself.

5.Difference Between Rule Edit Validate and Constraint?
Constraint
Edit Validate
Here, it’s a dependency validation, multiple properties gets involved.We can write validation logic only for one property
This is Client Side ValidationThis is client side validation which executes java code using Ajax Calling.
Validation happens at all different places wherever we use property.Validation happens at all different places wherever we use property because validation is applied on property.
We implement using OOTB functionsWe have to write Java Code
There in no need to call declare constraint, it gets automatically executed wherever we use properties.This edit validate rule have to explicitly called on property.

6.Which JS file is, gets executed when we use Edit Validate?
pega-validators.js
 
Last edited:
Top