Question

101
Views
AnkujJ44 Member since 2014 14 posts
SunLife Canada
Posted: 8 months ago
Last activity: 8 months 1 week ago

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 Data Integration
Share this page LinkedIn