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

Multi select values are getting lost on refresh second time

SA-26936

Summary



 Multi select values are getting lost on refreshing second time. 

Error Messages



Not applicable


Steps to Reproduce



1.Create a section in @baseclass(parent sec). 
2.Include pxLocalAction section and one @baseclass section(sec2) in the parent section. Note: pxLocalAction uses work- flowaction, with a clipboard pagecontext.
3. In work- section, user has a multiselect control, and a button with "Refresh This Section Run Activity" and "Refresh Other Section @baseclass sec2". 
5.Select value from multiselect and click on button. 
6.First time on button click works expected. 
7.Try selecting other values in multiselect and again click on button. 
8.Observe that new values are not going to clipboard. 

Root Cause



A defect in Pegasystems’ code or rules.

doBeforeSubmit API of multiselect is getting called for Refresh Other section case as well where this control is not getting submitted to server.

In this case isUpadated is set to true on the select box. And, when we try refreshing the section again using Search button click for the second time after changing some values, doBeforeSubmit API logic won't be executed due to existing isUpdated attribute. There is no parameter to doBeforeSubmit to know what is being reloaded. 

Resolution

Perform the following local-change:

Add 'Refresh This Section' as third action on button click.

Published August 23, 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