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

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:
  1. Mark the Embed-Rule-Declare-DecisionTree.pyEmbedConditionEditor_DecisionTree section as 'Available,Extension'.
  2. Save As the Embed-Rule-Declare-DecisionTree.pyEmbedConditionEditor_DecisionTree section.
  3. Update the control for the 'pyExpressionString' property in the 'Embed-Rule-Declare-DecisionTree.pyEmbedConditionEditor_DecisionTree section to 'AsHTML' instead of 'Text Input'.
If the HTML script is a large, the script is hidden due to the fixed height of the row in the Decision Tree.

For a large HTML script, use the client CSS classes and adjust its height.
Suggest Edit

Published July 15, 2020 - Updated December 2, 2021

Did you find this content helpful? Yes No

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

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