Question
Merative
US
Last activity: 19 Jan 2024 0:46 EST
Sorting data table records dynamically
Hi Team,
We have a data table delegated to business containing 5 records with a separate integer column "Rank" to define the sorting number. If they want to add a new record as rank 5, is there a possibility to dynamically change the rank of existing subsequent records?
Existing table:
| Name | Rank |
| A | 1 |
| B | 2 |
| C | 3 |
| D | 4 |
| F | 5 |
On adding a new data record "E" at rank 5, rank of "F" should change to 6. Is this something achievable in PEGA?
| Name | Rank |
| A | 1 |
| B | 2 |
| C | 3 |
| D | 4 |
| E | 5 |
| F | 6 |