Hey @ttam_ei!
When you reference the id in the stg_MM_delete query you'll want to use the same variable name that you're passing as additional scope here:
stg_MM_delete.trigger({
additionalScope: {
uidarray: uidarray,
}
So you might try {{ uidarray }} instead of {{table1.selectedRow.data.id}}. Can you let me know if that works?
There's more info on using additionalScope in this post!