Hi Elie,
If you bind data to your list via a global variable (which means: you load data from the backend using a connector or a business object, then store the data in a global variable and then map this global variable to your list), the approach using ‘variableHolder’ as the binding context is correct.
However, if you bind the data directly to the list (e.g., via the data source property in the UI designer), the binding context is the ID of the screen where your list is.
We pre-implemented this functionality in the Client-Side Business Object ‘ITIZ_Utilities’, which is part of the standard content. The function that you need is ‘GetSelectedListItem’. This will extract the respective selected list item.
In your case, you are using the list in ‘delete’ mode and therefore want to trigger the ‘GetSelectedListItem’ functionality when pressing the ‘delete’ button. So, in the process designer, you need the ‘delete’ event of your list as the trigger:
I hope this helps you solve the problem.