Question
SMS Management & Technology
AU
Last activity: 28 Aug 2017 22:58 EDT
How to disable instances of certain case type being added to Recents
Hi,
I have a case type which is configured as a 'Temporary object' in case creation settings. When I launch actions on this case type, it creates a temporary WO as expected but at same time it adds "New" to Recents list. Could anyone suggest how to avoid this? For this particular case type I do not want its instances beings added to Recents list.
Thanks in advance.
Regards
Murali
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Common Wealth Bank of Australia
AU
Hi Murali,
We have achieved a similar requirement by customizing the when condition 'pyShowRecents'. We have saved this when condition in our ruleset and filtered few classnames that shouldn't be appearing on recents list.
Give this a go and see if it helps.
Regards,
Sri
SMS Management & Technology
AU
Thank you Sri. Overriding pyShowRecents has worked.
One challenge with this solution is that if this pyShowRecents rule gets enhanced by Pega in a future release, those enhancements will be masked by overriding version in my application ruleset. Is there a easy way to identify such overrides other than Application -> Development -> Rule Overrides wizard (usability of this wizard is very poor)?
Regards
Murali
Common Wealth Bank of Australia
AU
Yup, that is always there with rule overrides. The best way is to keep track of those changes. Otherwise, you might have to hit it the hard way of designing your own recents. This depends on the time and the priority of the requirement by your business.
Pegasystems
US
How can a temporary object even be called up from the recents-list even if you wanted to? It's temporary so has no handle, right? Or, does it perhaps appear in the recents-list with no clickable handle?
SMS Management & Technology
AU
Hi Eric,
Thanks for your response.
Temporary object appears in Recents with clickable link. Following is the RecentList item from data page (Declare_pzRecentsCache).
Hi Eric,
Thanks for your response.
Temporary object appears in Recents with clickable link. Following is the RecentList item from data page (Declare_pzRecentsCache).
Property | Value |
pxObjClass | System-User-Recents |
pxUpdateDateTime | 20170817T233812.688 GMT |
pxUpdateOpName | mkakarla |
pyClassName | ABC-FW-XYZ-Apply |
pyContentID | 336bc1a7-7ba0-044f-9aa7-f9c10cf98925 |
pyContentType | Work |
pyDescription | Case Name - Apply |
pyDescriptionRef | |
pyImage | images/pyCase.gif |
pyIsDirty | FALSE |
pyIsPersisted | FALSE |
pyLabel | New |
pyLabelRef | |
pyRecordID | |
pyRecordKey | 2T |
pyExecute page of above recents item:
Property
|
Value
|
pxObjClass
|
Embed-DesktopAPI |
pyAction
|
createWork |
pyActionAPI page under above pyExecute page:
Property
|
Value
|
pxObjClass
|
Embed-DesktopAPI-CreateNewWork |
pyClassName
|
ABC-FW-XYZ-Apply |
pyElementName
|
336bc1a7-7ba0-044f-9aa7-f9c10cf98925 |
pyFlowName
|
pyStartCase |
pySkipConflictCheck
|
TRUE |
pyTargetElement
|
f9e64470-c4fa-4e63-b814-0a50f75d0647 |
|
---|
I have attached a screenshot showing 'New' link in Recents shown on portal: RecentForTemporaryObject.png
I can switch between the actual case and temporary case shown in the Recents. For certain case types, we do not want to see this 'New' link being added to Recents. For certain case types we do like this behaviour as user can switch between New and other cases being opened recently.
Please let me know if you need any further information.
Regards
Murali
Pegasystems
US
Since the action shows
>>> pyAction CreateWork
I would think that when you click on the recents-link for a temporary object, you get a new temporary object rather than having the original one come back.
Regarding over-rides, for any rule marked as an "extension", we would expect the Pega core level to never update it, and hence your defintion of the extension rule would continue to prevail.
SMS Management & Technology
AU
Hi Eric,
Thanks for your response.
On clicking New from recents, it brings back the same object. It is not creating new temporary object.
I agree with your expectation on extension points. As "pyShowRecents" is not marked as Extension point, I am not totally convinced that overriding this would be good solution.
Thanks
Murali