Support Article
getMessagesCount not returning correct count of error messages
SA-24405
Summary
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.
Resolution
Apply HFix-27913
Published June 17, 2016 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.