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

getMessagesCount not returning correct count of error messages



The error message displayed when a flow fails to advance because of multiple page-level errors has extra asterisks.

In addition, pyOutput Clipboard page, generated when the flow fails to advance, must contain pyMessages array of all messages. When distortion of the message appears as shown in the image, this array misses everything except the first message.

Error Messages

Not Applicable

Steps to Reproduce

Submit a form that has multiple errors, which prevent the flow from advancing.

Root Cause

When the flow is rewound, the activity restoreAssignment must recreate the original assignment. With the errors present, the flow transitioned to the next assignment. Moving the errors from the second assignment to the first assignment corrupts the messages.


Apply HFix-27913

Published June 17, 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