Support Article
Recent Items from different application showing up
SA-40306
Summary
There are multiple applications on Pega Platform on this site. When a user who has been given access to more than one application, he/she can see Work Objects in "Recent" on the left hand side from other application.
In other words, the OperatorID is having access to multiple AccessGroups and the "Recent" layout is showing all cases associated with those AccessGroups.
Error Messages
Not applicable
Steps to Reproduce
- Login with any user.
- Create a Work Object within the current AccessGroup.
- Switch to another AccessGroup the user has access to.
- in "Recent" layout the previously created Work Object is shown from the original Access Group.
Root Cause
The reported behaviour is actually the expected one. The SECTION called "pyRecents" or more globally the entire "Recent" mechanism doesn't contain AccessGroup restrictions. All Work Objects from all available AccessGroups defined on OperatorID will be considered.
Resolution
Perform the following local-change:
Modifying WHEN rule called "pyShowRecents" with the following function: @(Pega-RULES:String).contains(.pyRecordKey, @(Pega-RULES:String).toUpperCase(pxRequestor.pxCurrentWorkPool))
The above provided change will force the system to only present cases from currently selected AccessGroup.
Published August 26, 2017 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.