Question

115
Views
Close popover
Ankuj Jhalani (AnkujJ44)
SunLife Canada

SunLife Canada
CA
AnkujJ44 Member since 2014 18 posts
SunLife Canada
Posted: January 16, 2020
Last activity: January 17, 2020
Closed

Switching Advanced agent accessgroup

I have an agent having multiple advanced agent activities. I want to run one of the agent activities on an accessgroup different from the one defined on the agent queue instance. I do not want to create another RuleSet and an additional accessgroup

I tried to switch the accessgroup using the method used in EstablishContext of "System-Queue-ServiceLevel"

Example:

com.pega.pegarules.priv.authorization.PegaAuthorization auth = (com.pega.pegarules.priv.authorization.PegaAuthorization) tools.getAuthorizationHandle();

strAccessGroup="DifferentAccessgroup"

auth.setActiveAccessGroup(tools.getThread(), strAccessGroup)

However the system errors out and the accessgroup is not changed

***Moderator Edit-Vidyaranjan: Updated Platform Capability***

Data Integration Java and Activities
Moderation Team has archived post