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.
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.
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.
0% found this useful