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

Error Message disappearing on Contact Search screen

SA-10856

Summary



When performing a contact search, the "submit" button fails to advance the flow because there is an error on the page.  User sees the error message flash briefly before it disappears.

Error Messages



Error flash "Please select at least one contact from the list"

Steps to Reproduce

  1. Create a Phone Interaction.
  2. Search with Account Number 1234.
  3. Click on submit without selecting a contact. The error message disappears within an instant, or might not appear at all.

Root Cause



The root cause of this problem is a defect in Pegasystems’ code/rules. There is a Rule CPMRefreshDialogScript which contains a function reloadCoachingTips() which places an Ajax call to run an Activity on the server.  The success handler for the Ajax call then executes this:

pega.u.d.refreshSection("CPMCoachingTipHolder","");
 
Rather than going back to the Server to get the new content, the client refreshes both this section and the enclosing section with the cached version of the sections as they rendered prior to the insertion of the error message.

Resolution



This issue is resolved through the following local-change:

pega.u.d.refreshSection("CPMCoachingTipHolder","");

Replace the above line of code with this:

pega.u.d.reloadSection("CPMCoachingTipHolder","");

Published June 29, 2015 - Updated December 2, 2021

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