Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

Grid Validation is not happening

SA-57574

Summary



In a repeating grid, when using the validate rule, validation does not occur from the second record. This occurs while submitting the assignment.


Error Messages



Not Applicable


Steps to Reproduce

  1. Create a page list property with the same name in both the Implementation and Framework layers.
  2. Create a section with a repeating grid control with the page list property in the Framework layer.
  3. Create a validation rule to validate the repeating grid columns.
  4. Include the created section in the Implementation layer.
  5. Autopopulate the first record of the page list property while loading the assignment using the data transform rule from the Implementation layer.
  6. Create a second row using the Add Item action of the repeating grid after loading the assignment.
  7. Provide values in the second row such that validation fails.

Root Cause



While loading the assignment, the first record of the page list property is created using the data transform rule as an instance of the Implementation class. Hence, pxObjClass property value contains the Implementation class.

When the Add Item is clicked to create the second row, the second record of the page list property is created as an instance of the Framework class. Hence, pxObjClass property value contains the Framework class.

Therefore, a mismatch occurs in pxObjClass between the first and the second rows. The validate rule is unable to iterate the page list property completely to validate all the records of the page list property.



Resolution



Maintain the same value for pxObjClass property among all the page list property records.

 

Published August 24, 2018 - Updated October 8, 2020

Was this useful?

0% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us