Question
Lanit
RU
Last activity: 17 Sep 2019 7:28 EDT
How to pass dynamically set Access Roles to standard agent task?
Hello everyone!
We have such sutiation:
- There is only one Access group "Users" for business users in application with one Access role in it
- When user logs into Pega we dynamically add Access roles similar to this article - https://community.pega.com/knowledgebase/articles/how-dynamically-add-roles-during-user-authentication
- So the user for example has two roles in runtime.
- User make some actions that brings to queueing an agent task. Agent has standard mode.
- Agent uses user's Access group to process the task. But he has only one original role and doesn't have any dynamically added roles.
The problem here is in access absence to classes described in the second role (dynamically set).
If an agent will try to do something that can do second role, but the first role can't, it will fail.
What is the best practice here?
***Edited by Moderator Marissa to update platform capability tags****