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
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.