Support Article
Cannot run advance agent with a tenant context
SA-5109
Summary
When attempting to run an advanced agent created in the tenant layer with a Tenant access group the agent fails to execute. This issue is constant. The agent fails every time it tries to execute .
Error Messages
Agent <Agent Name> encountered an execution error. Restarting after delay. Exception at 20141208T135511.701 GMT: com.pega.pegarules.pub.context.InvalidConfigurationException: No such Access Group: <Access Group> for thread STANDARD From: (BBE5B9D404D9B2D1355F965A33420F183) at com.pega.pegarules.session.internal.authorization.context.GlobalContextCache.getBasicApplicationContext(GlobalContextCache.java:430) at com.pega.pegarules.session.internal.authorization.context.GlobalContextCache.getLocalizedApplicationContext(GlobalContextCache.java:459) at com.pega.pegarules.session.internal.authorization.context.AuthorizationContextManagerImpl.getContext(AuthorizationContextManagerImpl.java:130) at com.pega.pegarules.session.internal.authorization.SessionAuthorization.getContext(SessionAuthorization.java:537) at com.pega.pegarules.session.internal.authorization.SessionAuthorization.getContext(SessionAuthorization.java:512) at com.pega.pegarules.session.internal.authorization.SessionAuthorization.setAvailableAccessGroups(SessionAuthorization.java:575) at com.pega.pegarules.session.internal.authorization.Authorization.setAvailableAccessGroups(Authorization.java:733) at com.pega.pegarules.session.internal.authorization.Authorization.resetForAgent(Authorization.java:420) at
Steps to Reproduce
1. Create an Agent in the tenant layer
2. Set a Tenant access group on the security tab of the agent
3. Start the agent if it isn't enabled by default
4. Wait until the agent tries to execute.
Root Cause
Tenant specific agent is not supported as of Pega 7.1.7.
Resolution
The tenant specific agent is in the product roadmap.
Published January 31, 2016 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.