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

In grid, Dynamic select shows integer value instead of text



User has configured last column with dynamic select in repeating grid. 

Last column with dynamic select has a section include configuration, where the section has dynamic select and a text field.

Based on condition either Dynamic Select(i.e. a dropdown for multiple values) has to be shown or text field(for single value).

At runtime when grid's first row only shows the dropdown, rest all rows shows text field , then Dynamic Select is not populating correctly, that is, showing code value not dropdown values.

Dyanmic Select has activity as their source. Observed that for non-working scenario, activity for dropdown is not triggered.

When there are more than one row with second column as DS then issue is not observed.

Error Messages

Not applicable

Steps to Reproduce

1.Create a grid, configure a column dynamic select having source as activity.
2.Include this column has section include.
3.Section Included has a Dynamic Select and text filed, based on condition one of the control(DynamicSelect/text field) is visible.
4.When the first row of the grid, shows the column with DynamicSelect but rest all rows shows the column with text field, in this case first row DynamicSelect is not populating.

Root Cause

An issue in the custom application code or rules.

Dynamic Select control for the column in the repeating grid was not configured correctly. 

Reported behavior is not replicable in-house. On comparing the tracer logs of working and non-working scenarios, the activity is not called for non-working scenario.


Since the activity is not getting called in the non-working scenario, suggest below approach:
-        Call Activity explicitly on the flow action’s pre-processing
-        Call the activity through function callActivity.  Refer

Setting 'Run on Client' on the DynamicSelect control resolved the reported behavior. Refer below screen shot:


Published November 18, 2016 - 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