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

Auto complete does not work as expected



When user enters search characters, Auto Complete displays only one matching reason code description usually.
Now, it displays different reason code descriptions or previous reason code description or some times nothing is displayed.

Error Messages

Not Applicable

Steps to Reproduce

1. Create an Activity to populate a page with results (Results should contain huge data, for example, 400 characters with new line characters).
2. Create an Auto Complete Control.
3. Configure the auto complete with an activity created in step 1.

Root Cause

The root cause of this problem is a defect in Pegasystems’ code/rules.
The issue is due to new line characters in the response json. New line characters cause exceptions while calling eval() on the response string. To fix the issue, new line characters must convert as <br> before parsing the results.


This issue is resolved by HFix-22692.

Published July 1, 2015 - 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