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

New Thread is created on user click

SA-18611

Summary



User had a list view configured for multiple select is a button on the top of the list view, on the click of this button they are invoking an activity to delete a record.

However,the record is not deleted.
On click of the button they are calling a function which does the following:

openSpace("Work",url,"formbyurl");

On tracing found that there was a different thread created because of which pages created by the current thread is not accessible to the other thread and hence records are not deleted.


Error Messages



Multiple threads are created which causes the clipboard value created by one thread inaccessible by another thread.


Steps to Reproduce



1. Create a list view for multiple select.
2. Create a button and on-click of that button deleted the selected item by running a activity using openSpace, so that it gets loaded into the work area of the composite portal.


Root Cause

OpenSpace creates new thread and opens a new document. This is expected.

Resolution



Local-change to use pega.u.d.submit(url);

Following are the other approaches:

  • Use "Launch harness" action with "Replace current" option
  • Change list views to grids with RD bound wherever possible

Published January 31, 2016 - 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