Support Article
Process Modeler: Annotation does not allow for line feeds
SA-175
Summary
When entering an Annotation in Process Modeler, a developer cannot enter line breaks. The Annotation text wraps based on the size of the box. Even if text is copy and pasted with embedded line feeds from Notepad, the line feeds get lost when saving the process. In addition, extra characters (slash '/') appear in the text if a colon (:) is used.
Error Messages
None
Steps to Reproduce
In Windows Notepad, create a text with line feeds and empty lines.
In Pega 7 Process Modeler, add an Annotation shape to your flow.
Copy and paste the text into the Annotation shape. The text will look fine.
Save the flow. The line feeds disappear, the text is shown as one long string. Extra '/' characters appear if a colon was used.
Root Cause
The root cause of this problem is a defect in Pegasystems’ code/rules. When wrapping the annotation text, the line breaks were not taken into consideration. For the colon issue, the annotation text was escaped on the client side, but was not unescaped properly on the server side.
Resolution
This issue is scheduled to be resolved in Pega 7.1.6.
Published February 29, 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.