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

Agent switching between tenants fails

SA-103183

Summary



The Standard SLA Agent processes queue items where different items are from different tenants. The switch to the first tenant is successful. However, the Agent fails when it encounters a queue item from another tenant.


Error Messages



{"exception":{"stacktrace":"com.pega.pegarules.pub.context.PRSecurityException: Role 'CFGUSACARD:CallCenterAgent' not found for the current ruleset context [CFGUSACARD_PROD:01-01-01|CFGUSACARD:05-99|CFGUSAC


Steps to Reproduce

  1. Insert queue records from multiple tenants in to a queue that is used by a standard Agent.
  2. Have the Agent start processing the records.


Root Cause



A defect in Pegasystems’ code or rules.
After switching to the target tenant of the first queue item, the Agent cannot process the second queue item if it is in a different tenant.



Resolution



Perform the following local-change:

In the Agent schedule, on the Security tab, insert the Access Group PRPC:Agents. 

This Access Group can process any queue item from any tenant. After the queue item is processed, the agent switches to that tenant and executes the agent activity. Upon completion, the agent switches back to the PRPC:Agents Access Group and processes the next queue item.
Suggest Edit

Published August 4, 2020 - Updated December 2, 2021

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