|
![]() |
Use the Property-Validate method in an activity to ensure that a property value meets certain requirements including:
You can also provide default values for properties.
If your planned activity would
consist entirely of Property-Validate methods, you
don't need to create an activity. Create a validate rule
(Rule-Obj-Validate) instead.
This method has an array of
parameters, seven per row.
The system validates the properties identified in the first column one by one, starting with the first row. It stops when all rows are evaluated, or when a property fails validation and the Continue check box for that row is not selected.
A property fails validation if the edit validate rule returns false, or if the Required parameter is selected but the property is missing or has a blank (null) value. When a property fails validation, the system adds a message to the clipboard page. Ordinarily, pages that contain messages (indicating errors) are not saved into the PegaRULES database.
This method updates the pxMethodStatus property. See How to test method results using a transition.
![]() |
validation |
![]() |
About Edit Validate rules |