Is there a way to always retrieve the IDs of all the selected records from a list?

Hi Community,

We have a list of records, and we want to execute a process that receives a list of the IDs of the selected records.

Currently, this logic works as expected when we select a few records, for example, if we select two records, we receive the IDs of those two records.

However, when we select all records, the process does not receive any IDs. After reviewing how the list of IDs is generated, we noticed that when all records are selected, the logic is reversed: only the unselected records have their IDs included in the list.

Is there a way to always retrieve the IDs of the selected records, even when all records are selected?

Thank you.

Best Regards,

Pedro Pinheiro

Like 0

Like

0 comments
Show all comments