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

SMS Treatment rule contains hidden and not visible characters



SMS Treatment rule is created via copy or paste from an email or external documents. Message Text is shown properly from the editor without any additional character.

But view XML of the rules shows additional HTML Tags which are irrelevant for an SMS Message which is always plain text.

At runtime the SMS Message Text is sent via http SMS Connector. The content of the SMS is malformed and received with all the tags in the SMS.

It works with manual entry however there is NO rich editor in SMS Treatment ruleform. Formatting is not an option. User enters the text either manually or by copy paste.

As it is by default plain text (by design), one expects the editor to highlight non-text character like HTML tags.

Business users will be mainly operating by copy or paste and will not be able to preview the text and even correct unwanted errors.

Error Messages

Not Applicable.

Steps to Reproduce

Copy some Rich text with formatting into an SMS Treatment rule, for example, copy text from a outlook email client.
Use this Treatment rule to send an SMS.

Root Cause

A defect in Pegasystems’ code or rules. the SMS Treatment rules is using a Rich Text Editor which retains the hidden html tags in the text that got copied into the OS Clipboard.


Install or upgrade to the new release. The mentioned issue will be fixed in the future release.
For local change, use an intermediate Text Editor like Notepad to copy the text into, this discards the hidden html tags.
​Then copy the text from the Text Editor into the Treatment Rule.



Published January 31, 2016 - Updated December 2, 2021

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