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 on scheduling an activity with an agent

SA-52929

Summary



Scheduling an activity with an agent fails with RuleNotFoundException.


Error Messages



com.pega.pegarules.pub.generator.RuleNotFoundException: Failed to find a "RULE-OBJ-ACTIVITY" with the name "MYACTIVITY" that applies to "MyCo-Org-MyApp-Work-MyCase" There were 20 rules with this name in the rulebase, but none matched this request.


Steps to Reproduce

  1. Launch the application
  2. Configure an implementation layer and a framework layer.
  3. Run the flow. An activity on the implementation layer triggers another activity in the framework layer
  4. Schedule the framework activity with an agent


Root Cause



An issue in the custom application code or rules. The agent did not have access to the activity in the framework layer.


Resolution

Perform the following local-change:
  1. Update the Rule-Agent-Queue instance to include an access group with access to the activity in the framework layer
  2. Regenerate the agent schedules



Suggest Edit

Published March 29, 2018 - 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