Linked table odkx with id

Hello,
I have a table and I want to link it with another table the thing is that I don’t have a unique column to do the link, so I did make a link with an id but it doesn’t work
I did make

selection = tramkast_id = ? or id =?
selectionArgs = [ data('tramkast_id, data(‘id’) ]
newRowInitialElementKeyTovValue = {tramkast_id : data(‘tramkast_id’), ID_tramkast : data('id)}

can anybody help me to make a link with UUID and not with input information

Thanks

I found it thanks @rob
I did use opendatakit.getCurrentInstanceId()