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

Adv Agent with queue instructions causes RuleNotFoundException



User has configured an advance agent with queue instructions. On executing the agent, the RuleNotFoundException is observed.

Error Messages

2015-04-29 12:43:26,113 [.PRPCWorkManager : 1] [ STANDARD] [ PegaRULES:07.10] (l.vtable.VirtualRulesTableImpl) INFO - RULE-OBJ-ACTIVITY DEMO-DATA-ATTACHMENT PYCLMPROCESSSTOREDOCUMENT #XXXX04XXT062236.448 GMT |Yes |DemoClaimsMgmt:01-02-33 |Rule-Obj-Activity |DEMO-Data-Attachment |com.pegarules.generated.activity.ra_action_pyclmprocessstoredocument_850ec93ba5d29267bcdc2a16e2baa5af
2015-04-29 12:43:26,114 [.PRPCWorkManager : 1] [ STANDARD] [ PegaRULES:07.10] (ernal.async.BatchRequestorTask) ERROR - Batch activity "DEMO-Data-Attachment.pyCLMProcessStoreDocument" threw: PRRuntimeError
at com.pega.pegarules.session.internal.mgmt.base.ThreadRunner.runActivitiesAlt(
at com.pega.pegarules.session.internal.mgmt.base.ThreadRunner.runActivities(
at com.pega.pegarules.session.internal.mgmt.PRThreadImpl.runActivities(
Caused by: Failed to find a 'RULE-OBJ-ACTIVITY' with the name 'PYCLMPROCESSSTOREDOCUMENT' that applies to 'DEMO-Data-Attachment'. There were 1 rules with this name in the rulebase, but none matched this request. The 1 rules named 'PYCLMPROCESSSTOREDOCUMENT' defined in the rulebase are:
1 related to applies-to class 'DEMO-Data-Attachment', but were defined in rulesets which are not in your rulesetlist: 'DemoClaimsMgmt:01-02-33'.

Steps to Reproduce

1. Create Advanced Agent. Define an Activity. Place the Activity in the Agent.
2. Resume the Flow by calling another Activity and setting the Ticket.
3. In the Flow, call another Activity which has Queue method to call another Activity.
4. The Activity that is being called from the Queue instruction is not found and displays RuleNotFoundException when batch is processing the queue Activity.

Root Cause

The activity configured in the advanced Agent and Queue Activity were in different classes.


Mention Queue ClassName.ActivityName (Queue DEMO-Data-Attachment.PYCLMPROCESSSTOREDOCUMENT) under the method signature instead of Queue PYCLMPROCESSSTOREDOCUMENT.

Published June 12, 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