Question
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***