Hello,
@PradeepC17208026 when logging your questions please do not change the ‘Type’ from Product to Academy.
Your recent questions have had no relation to Pega Academy training content - they should all be logged as a Product question, and you should select the correct Product and Capability so that the relevant SME’s are notified and can help you further.
See the steps on how to Post a Great Question here.
Page-Validate
Use the Page-Validate method to force validation (or revalidation) of the value of all properties on the step page. The system adds a message to each clipboard property that fails validation against the restrictions in its property.
If the page has hundreds or thousands of properties, this method can be expensive in terms of system resources. The properties on the page already set (through the Property-Set method or similar methods) may already be validated. This method validates them again, and also validates any property values not changed since the page was opened.
Unless the content of the page was altered by Java code or by unorthodox means, the Page-Validate method is not necessary.
Use the Obj-Validate method, not the Page-Validate method, to validate specific properties identified in 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:
- Checking performed by an edit validate rule ( Rule-Edit-Validate rule type)
- A requirement that a property have a non-null value
You can also provide default values for properties.
If your planned activity can consist entirely of Property-Validate methods, you don’t need to create an activity. Create a validate rule ( Rule-Obj-Validate ) instead.