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

Unable to circumstance or use parameter with text rule

SA-28893

Summary



A developer has a text rule on which he would like to define circumstance. When he checks the class for text rule.. it does not allow to create a circumstance version of it.

Error Messages



Not applicable

Steps to Reproduce



Create a rule text file and define property circumstance on it.

Root Cause



A software use or operation error.  Rule-File-Text rules cannot be circumstanced nor can they take parameters.

Resolution



Here’s the explanation for the reported behavior: Rule-File-Text rules are used to hold text (HTLM, CSS, JavaScript, etc.) that will be sent to the user browser verbatim.  They are like Rule-File-Binary in that way, only they contain human readable text.  As such, they cannot be circumstanced nor can they take parameters.  You should circumstance the calling rule so that it picks the correct version of the Rule-File-Text.

Published October 21, 2016 - Updated October 8, 2020

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