0% found this document useful (0 votes)
35 views

Validation S

The document discusses different types of validations in Pega including client side and server side validations. It describes validate and edit validate rules in Pega which can be used to validate property values. Validate rules can be called from flow actions, activities, and directly to validate multiple properties.

Uploaded by

Mahesh Wagh
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
35 views

Validation S

The document discusses different types of validations in Pega including client side and server side validations. It describes validate and edit validate rules in Pega which can be used to validate property values. Validate rules can be called from flow actions, activities, and directly to validate multiple properties.

Uploaded by

Mahesh Wagh
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 9

Validations

The purpose of validation is to check the property values, to be expected, before we actually process it.

How Many Types of Validations

Two Types

1. Client Side Validation 2. Server side validation.

Client Side Validation: - The Validation happens on Browser, at HTML or Java Script level.

Server Side Validation:- Validation happened at the server side, that means, when an action is
performed, request will go to application server, and then then response will be received from server.

What are the rules that pega provides Validations:

Pega Provides two types of rules

1. Validate 2. Edit Validate.

Understanding Validate Rule


It is an instance of class Rule-Obj-Validate.

It can be created under Process Category.

This is how a validate rule form looks like

If validation fails, we can display an error message back to property.

It can be called from

1. Flow action (Under Validation Tab)


2. Activity using the method Obj-Validate

3. Validate rule
When we call validate rule from a flow action, it gets executed on click of Submit Button.

When Validate rule is called in flow action, If validation fails, case will not move to next step instead it
will be on same screen
 This is Server Side Validation.

 Using an Obj Validate we can validate multiple properties.

Open the validate rule and click on any condition


Here we can see the check box “Continue Validation”. is by default selected.

Letsun check this for one or two conditions


Un check 1, 2 and 3 condition
.

Continue Validation when we un check it acts like a break point.

Validation happens up to first break point. After this is fixed, then validation will proceed to next
break point and so on….

You might also like