Question

130
Views
Ankuj Jhalani (AnkujJ44)
SunLife Canada

SunLife Canada
CA
AnkujJ44 Member since 2014 20 posts
SunLife Canada
Posted: January 16, 2020
Last activity: January 17, 2020
Posted: 16 Jan 2020 13:36 EST
Last activity: 17 Jan 2020 2:06 EST
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, This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question.