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

Issues in Pega Survey



Work-.SurveySection & Work-.DisplaySurvey sections do not accept parameters.

Dynamic questions are not refreshed correctly (forward chaining).

If you answer any of the dynamic questions from the survey, it replaces the current survey with all other surveys displayed on screen.

Error Messages

Not Applicable

Steps to Reproduce

1. Have three survey sections included in a main section, where three different surveys were displayed.
2. Have refresh configured in the questions of the third survey.
3. Observe that during runtime when refresh occurs, it looses the first survey content and replaces with the third survey.

Root Cause

There are three survey sections included in a main section, where three different surveys are displayed.
The survey section includes surveyscripts, where the section to be refreshed is hardcoded as Surveysection. And thus when the refresh occurs, as multiple section with same name and ID exists, javascript gets confused and thus results in incorrect behavior.
And also as survey section is included thrice, the script is also included thrice. 


This issue is resolved through the following Local-change: 

Customize surveyscripts to use parameterized value for refreshing.
Also customize survey section to not include survey scripts. In main section include survey scripts once (customized one) and pass section name to be refreshed as main section.
Also include as many surveysections (customized one without scripts) as per the requirement.

Published June 25, 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