AkshitG5 Member since 2020 1 post
Atos Nederland BV
Posted: September 7, 2020
Last activity: September 21, 2020

setActiveAccessGroup method when AG is not added to operator profile

Dear Community,

I have a requirement to switch AGs at run-time even if its not added to the operator profile via an activity. I realize that this can be done by using setActiveAccessGroup method (and passing an additional parameter as 'true'), however, this doesnt seem to be working.

It appears that I have to add the AG to the operator record, save it in the Db, and then use the above method to switch. The additional 'true' parameter doesn't seem to be doing anything (in v8.2.3 at least) which is strange. I do not want to update and save the operator record everytime we need to switch.

Does someone already know how the additional save can be avoided?

Thanks in advance!

Pega Platform 8.2.3 Low-Code App Development Dev/Designer Studio Financial Services Lead System Architect
Share this page LinkedIn