We are having the custom activity in the service package to do the requestor authentication where we are creating the operator ID Dynamically and then setting it to the pyOperPage through java function in Pega 8.2.2.
When this pyOperPage set function executes, sometimes we are noticing it updates to the operator ID instance in the database.
Issue is with one client id having access to different API's which needs different access Groups to set in the Operator ID, so we are looking to set the Operator ID Access Group runtime and set that Service Requestor context executes that API request with that AG.
Please respond if anyone has any idea or faced this kind of issue/scenario.
***Edited by Moderator: Pooja Gadige to change content format from Discussion to Question, add SR created tag***