Default value is not set in Pega Survey 7.1.2
In Pega survey, a dynamic drop down configured in screen flow is not fetching the data from previous screen.
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.
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.
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.
Add a step to datatrasform in which the .Answer property of the dynamic dropdown is set to the required value.
100% found this useful