Support Article
On deleting a record, selected value not retained in next record
SA-98565
Summary
On deleting a record in a grid, the selected value is not retained in the next record.
Error Messages
Not Appliable
Steps to Reproduce
- Create a data type rule (for example, DataType 1) with fields, where some fields are dynamic select fields and the data source is from another data type (DataType 2) fields.
- Create another data type rule (DataType 2) as above to maitnain the source data.
- Add records in DataType 1.
- Delete a record in DataType 1. The subsequent record of the deleted record dynamic field data is set to empty.
Root Cause
A defect in Pegasystems’ code or rules
Dynamic select is configured in a grid with rows as Read-only always. When the grid row is deleted, the refresh row is triggred. Tjerefore, dynamic select only has the seleted option with display text (stale state). With AJAX request success handler, the dynamic select is rendered again with the new data. However, in this case, the AJAX request is not triggred because the dynamic select is disabled.
Resolution
Apply HFix-59395.
Published December 2, 2021
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.