Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

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

  1. Login with any user.
  2. Create a Work Object within the current AccessGroup.
  3. Switch to another AccessGroup the user has access to.
  4. 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

Was this useful?

0% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us