Support Article

RuleNotFoundException occurs when pxRetrieveReportData fails

SA-69653

Summary


 

The activity invoking pxRetrieveReportData fails sporadically with a RuleNotFoundException. 


Error Messages


com.pega.pegarules.pub.generator.RuleNotFoundException: Failed to find a 'RULE-OBJ-ACTIVITY' with the name 'PXRETRIEVEREPORTDATA' that applies to 'YourORG-FW-CaseFW-Work-Cover-'. There were 7 rules with this name in the rulebase, but none matched this request. The 7 rules named 'PXRETRIEVEREPORTDATA' defined in the rulebase are: 7 unrelated to applies-to class 'YourORG-FW-CaseFW-Work-Cover-', for example: 'Rule-Obj-Report-Definition'.

 

Steps to Reproduce

  1. Open a case
  2. Review the nested cases on the case content section

 

Root Cause



The activity step page was not present in memory at the runtime.

Resolution



Perform the following local-change:

Add the Page-New method to create the page before the step to make sure that the page is present in memory at runtime. Therefore, the step does not lose it’s context.



 

 

Published December 10, 2018 — Updated January 11, 2019


100% found this useful

Have a question? Get answers now.

Visit the Pega Support Community to ask questions, engage in discussions, and help others.