Hi,
Recently customer has upgraded their application which was built on Pega 7.3.1 to 8.4.1, and this issue was reported to me. In this post, I am sharing its details and workaround for someone who may face the same issue.
- Issue
Some of the version of Pega Platform displays multiple error messages that are triggered by Page-Set-Messages method in a single line. Below is the customer’s code to reproduce the issue.
- Write an activity and call Page-Set-Messages method. Then reference Message rule by RUF. Synatax is, @getRuleMessage(tools,“Error001”). Also make sure “Category” is blank or behavior may change depending on version. Do this step for multiple times.
- Here are the two Message rules that get called.
- Here is how it looks on the end user portal. Two error messages are displayed in a single line. Customer’s expectation is two lines.

- Variation per version
I’ve experimented a couple of versions to see how it behaves.
| PRPC version | Outcome |
|---|---|
| 7.2 | Error messages are displayed in multiple lines (with a line feed). 




