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
- Create a Phone Interaction.
- Search with Account Number 1234.
- 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
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.