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

Error message is not being displayed properly



Error message is not being displayed properly on UI. In the first page, error messages are displayed in the required columns, but in the remaining pages the error messages are displayed at the top and bottom of the UI instead of displaying near the required columns.

Error Messages

Not Applicable.

Steps to Reproduce

1.Create a repeating grid and add "Save" button next to each row.Also add "+" button in action button section to add New Row on click.
2.Configure pagination in grid.
3.On-Click of save button configure "Refresh Section Run Activitiy".
4.Activity first does property validation and if no validation error is there then saves data .
5.Run the case and click on "+" button on first page of grid.
6.Without adding data in row click on save button.Observe that error messages are coming at field level.
7.Go to page2 of grid and again click on add row icon.Then without providing any value click on save button.
8.Observe that error messages are coming at top of the grid section and grid pagination moves to Page1.

Root Cause

A software use or operation error. Following are the reasonal steps:

1.As per design, if we do"Refresh Section" on button click , then it will reload the complete section (in this case section containing the grid).
2.Because of refresh section, grid section is getting reloaded and moving to Page 1 of pagination option.
3.Since pyWorkPage has error messages added as part of grid validation, it shows them as Page level messages on top of the section after refresh is done.


Perform the following local-change: 

1.Open Operation tab of repeating grid configuration panel and go to advanced configuration present below.
2.Select the check box for "Run activity after grid update" and use custom activity.
3.Add steps to do the necessary check and validations.
4.On click of save button add  "On Click event - Run Activity" to save the details and  "Refresh Current Row".

Published January 21, 2016 - 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