Support Article

Dynamic Select not populating

SA-29242

Summary



Few of the dynamic select dropdowns are not getting populated present in grid.


Error Messages



Not applicable


Steps to Reproduce

  1. Create a grid with one column having dynamic select dropdown sourced with activity.
  2. Another column with one more dynamic select activity as source and  dependant on first dynamic select.
  3. Second dynamic select based on condition would be replaced with text field( if  it is not of particular type, else DS will be shown).
  4. Run case and observe that randomly few of the dynamic select results(second column only) are not populating.


Root Cause



A defect in Pegasystems’ code or rules :-
  1. Second dropdown is dependant on first dropdown, as the ParentID(which is used to load DynamicSelect values) of Second dropdown in set to First Dropdown SelectID, which means ParentId should be equal to SelectID .
  2. ParentID is not set to proper value, in cases where editable dropdown is placed below rows having textinput istead of dropdown(in second dropdown cell).That is proper param value is not passed to dependant dropdown whenever row with DS is placed below a row with textfield in the same column.
  3. But First dropdown is set to expected value, that is the SelectID is having expected value but it is not getting passed to ParentID.

Resolution



Perform the following local-change: 

Sorted the list so that rows with editable DS will be shown first, then rows with text field will be placed.

Published October 17, 2016 - Updated October 23, 2016

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.