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

Calling one activity from another is failing

SA-11250

Summary



Your activity stops with an exception error saying that an activity it is calling cannot be found in a particular class, and it is unclear why the system is looking for the activity in that class.

Error Messages



com.pega.pegarules.pub.generator.RuleNotFoundException: Failed to find instance MYCO-FW-HMFW-Data-Questions.DisplayValidationerrorMessage for non personal RSLH db1451e76869f53e943622698329dfc2 Top App Hash HM!en_US_!HM:Managers!01.01.01$4341f012d6c9eff61d230e9e0f245b02 of type Rule-HTML-Section

Steps to Reproduce



Run the activity such that it performs the call.

Root Cause



Even though there was no visible step page on the line containing the call, a step page existed because the page was in the context of a multi-line activity loop, and therefore the step page was established in the top line of the loop.  The class containing the activity being called is not in the inheritance list of that step page.

Resolution



The applies-to class of the activity being called was not in the inheritance list of the class of the step page, and this was resolved by specifying the applies-to class on the call line.
 

Published July 7, 2015 - 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