setActiveAccessGroup method when AG is not added to operator profile
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?