Support Article
Decision Tree rule forms display HTML tags instead of HTML
SA-101003
Summary
Post upgrading Pega Platform 7.1.6 to Pega Platform 8.3.1, the Decision Tree rule forms display HTML tags instead of HTML.
Error Messages
Not Applicable
Steps to Reproduce
Open and compare the same Decision Tree rule in Pega Platform 7.1.6 and Pega Platform 8.3.1.
Root Cause
An issue in the custom application code or rules.
The client entered HTML script in the values, which is passed to the custom function in the Decision Tree.
In Pega Platform 8.3, the HTML is rendered as plain text due to the usage of the Text Input control for the pyExpressionString property in the Embed-Rule-Declare-DecisionTree.pyEmbedConditionEditor_DecisionTree section.
Resolution
Perform the following local-change:
- Mark the Embed-Rule-Declare-DecisionTree.pyEmbedConditionEditor_DecisionTree section as 'Available,Extension'.
- Save As the Embed-Rule-Declare-DecisionTree.pyEmbedConditionEditor_DecisionTree section.
- Update the control for the 'pyExpressionString' property in the 'Embed-Rule-Declare-DecisionTree.pyEmbedConditionEditor_DecisionTree section to 'AsHTML' instead of 'Text Input'.
For a large HTML script, use the client CSS classes and adjust its height.
Published July 15, 2020 - Updated December 2, 2021
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.