Question


HCL
US
Last activity: 29 Mar 2018 5:48 EDT
How to flush/Remove thread from clipboard
I have a requirement where I have to flush/remove the thread from clipboard based on some conditions. Searched for same in PSC!
We are doing Open assignment on click of Case ID, if I close this case and open the new clipboard is not getting refresh/flushed/removed for previous case ID. Hence we are facing issue while showing values in UI.
Note: I tried with RemoveThread OOTB, it didn't work.
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!


EPAM Systems, Inc.
ES
Hi Gayathri,
Thanks for posting on PSC.
If I understand reported behaviour correctly, data isn't getting removed after closing the case. Thus, when you're doing Open Assignment on click of Case ID, its loading stale data.
You can configure an activity with "Page-Remove" method for that particular page.


EPAM Systems, Inc.
ES
Please provide more description,
Is it occurring when a case is closed using OOTB buttons? Or How you've configured.
Share the design screen-shot.
-
Shib Sankar Chakraborty


HCL
US
Hi All,
Thank you on the suggestions!
Exact senario:
1. We have saved pycaseworker portal to our copy.
2. Providing link in My Work to do Open Assignment.
3. On first click in the portal, Case is opening and a thread is available in clipboard.
4. After performing some tasks here, I am again clicking on My Work on left side. - Case is closed, My Work report is showed, but case thread is still available in clipboard(expected! as same is happening in pycaseworker portal as well)
5. When I click on 2nd case ID in my work, Case is getting opened in front end. But thread isn't getting refresh in clipboard!
Hopefully this explains the issue
-
Dovydas Baseckas


EPAM Systems, Inc.
ES
It's standard practice to use "Page-Remove" method at the end of the activity after processing.
I hope you're manipulation or loading data for a case through an activity. I would suggest not to directly update the page which is used in the UI, rather you could use the "Page-Copy" method and create a new page with the case data and refer it in the UI. Make sure you, remove the page which was used for manipulation/update/loading, consider it as a temporary page to work.
To remove a page in an activity or Data Transform.
Configure it with Remove/Page-Remove methods.
Hope it answers your query, kindly notify if it does by marking this post as answered for larger Pega audience.
Regards,
Asif


J.P. Morgan Services India PVT Ltd
IN
which kind of page is that, please share some more info, data page or some other user page,
looks more of the configuration issue, also what is this remove thread rule? I could see cpmremovethread activity in my local 7.2.1 instance.


HCL
US
Hi All,
Thank you on the suggestions!
Exact senario:
1. We have saved pycaseworker portal to our copy.
2. Providing link in My Work to do Open Assignment.
3. On first click in the portal, Case is opening and a thread is available in clipboard.
4. After performing some tasks here, I am again clicking on My Work on left side. - Case is closed, My Work report is showed, but case thread is still available in clipboard(expected! as same is happening in pycaseworker portal as well)
5. When I click on 2nd case ID in my work, Case is getting opened in front end. But thread isn't getting refresh in clipboard!
Hopefully this explains the issue