Hi Rudo,
Sorry, I'm not able to understand why it's taking too long to delete the Local list record using ListRemove client action?
Solution 1: Using Local List type variable
1) Use/Map the Local List type variable as the Table Source
2) Add/Remove table record, which is not that difficult to achieve using ListAppend/ListRemove
3) Within the Send Email button client Action flow, before calling the actual server action (exposed from the Traditional Web app) - define a logic to dump/Insert all the Local List variable records to the respective entity for future reference.
Solution 2: Without using Local List type variable
- Just introduce an additional logic before the end node within the Send email server action (defined in the Traditional Web app), --> define an Advance SQL node to clear/delete all the respective entity records and Hence, on every screen load the Aggregate result mapped with the Table widget will be empty.
- I personally won't prefer this approach because unnecessary query execution is occurring during the screen load (Of which the result-set will be empty on every instance)
Note: I would suggest, to use the Local List data type variable approach for this use-case (Solution 1)
Hope this helps you!
Kind regards,
Benjith Sam