Sunday, 8 July 2018

Difference between Page-Validate and Property-Validate methods in Pega Activity

Page-Validate and Property-Validate are some of the mostly used methods in Pega activity. Here is the difference in both the methods:-

Page-validate:
Page-Validate method is used on a page property to validate all the embedded properties which are present on a page. If a page has embedded pages i.e. Page-List, this method works recursively to validate all the properties for each Page. This method consumes a lot of system resources and takes more time. If you want to validate specific properties use Obj-Validate method with a Rule-Obj-Validate rule.


Property-Validate:
Use the Property-Validate method in an activity to ensure that a property value meets certain requirements including:

1. Property value should be non-null   (Select the required check box in the method)
2. Perform Rule-Edit-Validate rule on a property

A property-validate method is used to impose restrictions on a property value. We can validate multiple properties using Property-Validate method.

No comments:

Post a Comment