Question
Frontier Communications
US
Last activity: 4 Mar 2019 19:43 EST
Can you please give examples for validate and edit validate rule?
What is the main difference between Validate and Edit Validate?
Thank you very much
Larry-
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
The Bank of Tokyo-Mitsubishi UFJ Ltd
SG
Hi,
You can refer to the following link to help you understand each rules:
Validate Rules:
https://community.pega.com/sites/default/files/help_v731/procomhelpmain.htm
Sample: Data-Party.MobilePhone
Edit Validate Rules:
https://community.pega.com/sites/default/files/help_v731/procomhelpmain.htm
Sample: isBlank
Hope this help you..
-
Muvvala Veera Venkata Sai Easwer Tej VEERA VENKATA SAI EASWER TEJ
Aaseya IT services Pvt. Ltd.
SA
Hi,
Validate rules are different from edit validate rules. Edit validate rules require Java programming skills to develop. Validate rules can call edit validate rules.
Example for validate rule is comparing two dates ,we can use the functions available in pega.
Example for edit validate is to check a number is positive or not.
Validate rules we can refer in activity or flowaction validate tab which fires on submission where as edit validate rule referenced in property rule formwhich validates on focus out of the control.
Study Group
AU
Edit validate is used for Client Side Validation.
Edit validate processing occurs only later, when an activity uses the Property-Validate method with that property or uses client-side format validation.
Validate rules are a series of If then statements like
If (length of property) is > n add <message>.These are referenced in activity, flow, correspondence or flow action.
Coforge Technologies (Erstwhile Incessant Technologies)
GB
Edit Validate rules are used for checking format or reg expressions using java coding on client side, these are used at property validation level, where as Obj Validate is used for server side validation in flow actions, activities etc., Obj Validate can be used for multiple properties, on aggregate properties with condiitons applied or looping involved.
SCB
MY
Thanks to Swathi, pravin.narendra.
Tekclan Software Solutions
IN
-
Ryan Spence SANKET TEWARY
Pegasystems Inc.
US
Another difference between Validate and EditValidate is that EditValidate always deals with that property value alone and is always invoked when that property value changes on the clipboard wherever it is used . The Validate rule however is normally invoked during case processing and may involve satisfying relationship between values (normally on that case or data object).
Note: The EditValidate rule is written in Java therefore it is server side validation. It can however, be used to invoke client side validation if a corresponding javascript function exists for that edit validate rule. Some OOTB client side functions exist in the pega_validators.js file for a few (but not all) edit validate rules. This file also provides basic client side validation for property types.
-
deivit mamani vijay raghava
Coforge Technologies (Erstwhile Incessant Technologies)
GB
Edit Validate is limited to that specific property, and Obj-Validate is applicable to multiple properties of the work object or embedded object properties
-
Mauricio Bolanos Canjura