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 page property is referenced

SA-25348

Summary



When attempting to reference a property from a Data Transform, a Rule Not Found exception is thrown.

This issue is not reproduced if an activity is used in place of the Data Transform step which references the property.


Error Messages



[MSG][RuleNotFoundException][STACK][com.pega.pegarules.pub.generator.RuleNotFoundException: Failed to find a 'RULE-OBJ-WHEN' with the name 'MYWHENRULE' that applies to 'MYCO-FW-MYPROJ-Data-Product'. There were four rules with this name in the rulebase, but none matched this request. The 4 rules named 'MYWHENRULE' defined in the rulebase are: 4 unrelated to applies-to class 'MYCO-FW-MYPROJ-Data-Product', for example: 'MYCO-FW-MYPROJ-Work'.


Steps to Reproduce



Attempt to use the when rule from a Data Transform rule.


Root Cause



Tracer showed that that the step page class mismatched the applies-to class of the When rule.  The step page class was MYCO-FW-MYPROJ-Data-Product while the When rule applies-to class was MYCO-FW-MYPROJ-Work.

Resolution



Either use a step page having the same class as the When-rule, or create a new When-rule whose applies-to class matches the class of the step page.
Suggest Edit

Published July 27, 2016 - Updated October 8, 2020

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