Avoid adding duplicate access groups under an Operator id
Hi
Why does pega allow to add duplicate access group under an operator id. This is creating audit issues. Users can have multiple access groups and the operations team who does that are creating duplicate access groups. I need to place a control so that if any duplicate access group is added, it should not allow the operator rule to be saved.
Thanks
Hi Aravind,
Thanks for posting the query.
The access-groups for an operatorID can be accessed from the clipboard page (OperatorID.pyAccessGroupsAdditional) under system pages category. As per your requirement, you can write a declare trigger with your custom logic to display the error message if any duplicate access-group were added. So at runtime, if you try to add the existing access-group then this logic gets executed and displays the error message.