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

RuleNotFoundException error when attempting to display a harness

SA-21708

Summary



When clicking menu items on the harness screen which are defined with Navigation rules, they fail and an error screen is shown.

Error Messages



Caused by:
com.pega.pegarules.pub.generator.RuleNotFoundException: Failed to find a 'RULE-OBJ-WHEN' with the name 'MYWHENRULE' that applies to '@baseclass'. There were 2 rules with this name in the rulebase, but none matched this request. The 2 rules named 'MYWHENRULE' defined in the rulebase are:
2 related to applies-to class '@baseclass', but were defined on subclasses: 'Myco-FW-EForm-Work'

Steps to Reproduce



Click on the harness screen menu items.

Root Cause



An application activity was renaming the pyDisplayHarness page to something else, after which the out-of-box Rule-Navigation.pxProcess activity attempted to use the nonexistent page.

Resolution



Do not rename the pyDisplayHarness page in the application activity.

Published April 8, 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