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

Default value is not set in Pega Survey 7.1.2

SA-15458

Summary



In Pega survey, a dynamic drop down configured in screen flow is not fetching the data from previous screen.


Error Messages



Not Applicable.


Steps to Reproduce



Using the Pega survey, follow these steps:

1. In a flow configure a question as "Dynamic drop down" include a list view as source for that drop down.
2. Call a datatrasform to set the values of the properties of the flow.
3. Run the use case. Observe that the dynamic drop down is not populated with the values given in the data transform.

 

Root Cause


A data transform is called to set the values of the properties.
In the Pega survey, in the front end the controls,the questions are not directly referred to the target property,instead they are referred to .Answer property. This later is mapped to the 
target property after processing.
For Example:
.Questionnaire(xxxx).QuestionGroup(xxxx).Question(yyyyyy).Answer

In datatransform, the property values of the page are set but not the .Answer property, instead it was set to target property. Due to which the dynamic dropdown is not populated with the required values.

Resolution



Add a step to datatrasform in which the .Answer property of the dynamic dropdown is set to the required value.

 

Published January 31, 2016 - Updated October 8, 2020

Was this useful?

100% 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